Part Number Hot Search : 
TIP2955F D85035S Q950016 N5227 IN74HC PTMG0560 BST72 12401
Product Description
Full Text Search
 

To Download BD82HM55-SLGZS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  document number: 322169-004 intel ? 5 series chipset and intel ? 3400 series chipset datasheet january 2012
2 datasheet information in this document is provided in connection with in tel products. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by th is document. except as provided in intel's terms and conditions of sale for such products, intel assumes no liability whatsoever and intel disclaims any express or implied warranty, relating to sale and/or use of intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent , copyright or other intellectual property right. unless otherwise agreed in writing by intel, the intel products are not designed nor intended for any application in which the failure of the intel product could create a situation where personal injury or death may occur. intel may make changes to specifications and product descriptions at any time, without notice. designers must not rely on the a bsence or characteristics of any features or instructions marked "res erved" or "undefined." intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. the information here is subject to change without notic e. do not finalize a design with this information. the products described in this document may contain design defect s or errors known as errata which may cause the product to dev iate from published specifications. current characterized errata are available on request. contact your local intel sales office or your distributor to obtain the latest specifications and before placing your product o rder. copies of documents which have an order number and are referenced in this document, or other intel literature, may be obtained at http:// www.intel.com/design/literature.htm. code names featured are used internally within intel to identify products that are in development and not yet publicly announce d for release. customers, licensees and other third parties are not authorized by intel to use code names in advertising, promotion or marketi ng of any product or services and any such use of intel's internal code names is at the sole risk of the user. intel ? virtualization technology requires a computer system with an enabled intel ? processor, bios, virtual machine monitor (vmm). functionality, performance or other benefits will vary depending on hardware and software configurations. software applications may not be co mpatible with all operating systems. consult your pc manufacturer. for more information, visit: http://www.intel.com/go/virtualization. intel ? active management technology requires activation and a system with a corporate network connection, an intel ? amt-enabled chipset, network hardware and software. for notebooks, intel amt may be unavailabl e or limited over a host os-based vpn, when connecting wirele ssly, on battery power, sleeping, hibernating or powered off. results dependent upon hardware, setup & configuration. for more information, vi sit http:// www.intel.com/technology/platform-technology/intel-amt. intel ? high definition audio (intel ? hd audio) requires an intel ? hd audio enabled system. consult your pc manufacturer for more information. sound quality will depend on equipment and actual implementation. for more information about intel hd audio, refer to http://w ww.intel.com/design/ chipsets/hdaudio.htm. the original equipment manufacturer must provide tpm functiona lity, which requires a tpm-supported bios. tpm functionality must be initialized and may not be available in all countries. intel ? anti-theft technology-pc protection (intel ? at-p). no computer system can provide ab solute security under all conditions. intel ? anti-theft technology (intel ? at-p) requires the computer system to have an intel ? at-enabled chipset, bios, firmware rele ase, software and an intel at-capable service provider/isv application and service subscription. the de tection (triggers), response (actions), and recovery mechanism s only work after the intel ? at functionality has been activated and configured. certain functionality may not be offered by some isvs or service providers and may not be available in all countries. intel assumes no liability for lost or stolen data and/or systems or any other damages resulting th ereof. systems using client initiated remote access require wired lan connectivity and may not be available in public hot spots or "cl ick to accept" locations. for more information, refer to http://software.intel.com/en-us/blogs/2008/10/09/new-with-intel-amt-4050-fast-call-for-help-and- remote-pc-assist-aka- cira/ intel and the intel logo are trademarks of intel corporation in the u.s. and other countries. *other names and brands may be claimed as the property of others. copyright ? 2012, intel corporation. all rights reserved.
datasheet 3 contents 1introduction ............................................................................................................ 43 1.1 about this manual ............................................................................................. 43 1.2 overview ......................................................................................................... 47 1.2.1 capability overview .... ............ ........... .......... ........... .......... ........... ........ 49 1.3 intel ? 5 series chipset and intel ? 3400 series chipset sku definition ..................... 55 1.4 reference documents ........................................................................................ 57 2 signal description ................................................................................................... 59 2.1 direct media interface (dmi) to host controller ..................................................... 61 2.2 pci express* .................................................................................................... 61 2.3 firmware hub interface...................................................................................... 62 2.4 pci interface .................................................................................................... 63 2.5 serial ata interface........................................................................................... 65 2.6 lpc interface.................................................................................................... 68 2.7 interrupt interface ............................................................................................ 68 2.8 usb interface ................................................................................................... 69 2.9 power management interface.............................................................................. 71 2.10 processor interface............................................................................................ 74 2.11 smbus interface................................................................................................ 74 2.12 system management interface............................................................................ 75 2.13 real time clock interface ................................................................................... 75 2.14 miscellaneous signals ........................................................................................ 76 2.15 intel ? high definition audio link ......................................................................... 77 2.16 controller link .................................................................................................. 78 2.17 serial peripheral interface (spi) .......................................................................... 78 2.18 intel ? quiet system technology and thermal reporting ......................................... 79 2.19 jtag signals .................................................................................................... 80 2.20 clock signals .................................................................................................... 80 2.21 lvds signals (mobile only) ................................................................................. 82 2.22 analog display /crt dac signals ........................................................................ 83 2.23 intel ? flexible display interface (fdi).................................................................. 84 2.24 digital display signals........................................................................................ 84 2.25 general purpose i/o signals ............................................................................... 87 2.26 manageability signals ..... .................. .......... ........... ........... ............ ......... ............ 90 2.27 power and ground signals .................................................................................. 91 2.28 pin straps ........................................................................................................ 93 2.28.1 functional straps ................................................................................ 93 2.28.2 external rtc circuitry.......................................................................... 97 3pch pin states ......................................................................................................... 99 3.1 integrated pull-ups and pull-downs ..................................................................... 99 3.2 output and i/o signals planes and states......... .................................................. 101 3.3 power planes for input signals .......................................................................... 112 4system clocks ....................................................................................................... 119 5 functional description ........................................................................................... 123 5.1 dmi-to-pci bridge (d30:f0) ............................................................................. 123 5.1.1 pci bus interface .............................................................................. 123 5.1.2 pci bridge as an initiator ................................................................... 123 5.1.2.1 memory reads and writes .................................................... 124 5.1.2.2 i/o reads and writes .......................................................... 124 5.1.2.3 configuration reads and writes ............................................ 124 5.1.2.4 locked cycles ..................................................................... 124 5.1.2.5 target / master aborts ......................................................... 124 5.1.2.6 secondary master latency timer ........................................... 124 5.1.2.7 dual address cycle (dac) .................................................... 124 5.1.2.8 memory and i/o decode to pci ............................................. 125 5.1.3 parity error detection and generation .................................................. 125 5.1.4 pcirst# .......................................................................................... 126 5.1.5 peer cycles ...................................................................................... 126 5.1.6 pci-to-pci bridge model..................................................................... 127 5.1.7 idsel to device number mapping ....................................................... 127
4 datasheet 5.1.8 standard pci bus configuration mechanism........................................... 127 5.2 pci express* root ports (d28:f0,f1,f2,f3,f4,f5, f6, f7) ..................................... 127 5.2.1 interrupt generation .......................................................................... 128 5.2.2 power management............................................................................ 128 5.2.2.1 s3/s4/s5 support ............................................................... 128 5.2.2.2 resuming from suspended state ........................................... 129 5.2.2.3 device initiated pm_pme message.......................................... 129 5.2.2.4 smi/sci generation ............................................................. 129 5.2.3 serr# generation ............................................................................. 130 5.2.4 hot-plug ........................................................................................... 130 5.2.4.1 presence detection .............................................................. 130 5.2.4.2 message generation............................................................. 131 5.2.4.3 attention button detection.................................................... 131 5.2.4.4 smi/sci generation ............................................................. 132 5.3 gigabit ethernet controller (b0:d25:f0) ............................................................. 132 5.3.1 gbe pci express* bus interface........................................................... 134 5.3.1.1 transaction layer ................................................................ 134 5.3.1.2 data alignment ................................................................... 134 5.3.1.3 configuration request retry status........................................ 134 5.3.2 error events and error reporting ......................................................... 135 5.3.2.1 data parity error ................................................................. 135 5.3.2.2 completion with unsuccessful completion status ..................... 135 5.3.3 ethernet interface ............................................................................. 135 5.3.3.1 intel ? 5 series chipset and intel ? 3400 series chipset 82577/82578 phy interface .................................................. 135 5.3.4 pci power management ...................................................................... 136 5.3.4.1 wake up ............................................................................ 136 5.3.5 configurable leds ............................................................................. 138 5.3.6 function level reset support (flr)...................................................... 138 5.3.6.1 flr steps ........................................................................... 139 5.4 lpc bridge (with system and management func tions) (d31:f0)............................. 139 5.4.1 lpc interface .................................................................................... 139 5.4.1.1 lpc cycle types .................................................................. 140 5.4.1.2 start field definition ................ ............................................ 141 5.4.1.3 cycle type / direction (cyctype + dir) ................................. 141 5.4.1.4 size ................................................................................... 141 5.4.1.5 sync ................................................................................. 142 5.4.1.6 sync time-out ................................................................... 142 5.4.1.7 sync error indication........................................................... 142 5.4.1.8 lframe# usage .................................................................. 142 5.4.1.9 i/o cycles .......................................................................... 143 5.4.1.10 bus master cycles................................................................ 143 5.4.1.11 lpc power management ....................................................... 143 5.4.1.12 configuration and pch implications........................................ 143 5.5 dma operation (d31:f0) .................................................................................. 144 5.5.1 channel priority................................................................................. 144 5.5.1.1 fixed priority ...................................................................... 144 5.5.1.2 rotating priority .................................................................. 145 5.5.2 address compatibility mode .... ................ ............ ........... ........ ............. 145 5.5.3 summary of dma transfer sizes .......................................................... 145 5.5.3.1 address shifting when programmed for 16-bit i/o count by words............................................................................ 145 5.5.4 autoinitialize ..................................................................................... 146 5.5.5 software commands .......................................................................... 146 5.6 lpc dma ........................................................................................................ 147 5.6.1 asserting dma requests ..................................................................... 147 5.6.2 abandoning dma requests.................................................................. 148 5.6.3 general flow of dma transfers ............................................................ 148 5.6.4 terminal count.................................................................................. 148 5.6.5 verify mode ...................................................................................... 149 5.6.6 dma request de-assertion.................................................................. 149 5.6.7 sync field / ldrq# rules .................................................................. 150 5.7 8254 timers (d31:f0) ...................................................................................... 150 5.7.1 timer programming ........................................................................... 151 5.7.2 reading from the interval timer .......................................................... 152 5.7.2.1 simple read ....................................................................... 152 5.7.2.2 counter latch command ...................................................... 152
datasheet 5 5.7.2.3 read back command........................................................... 152 5.8 8259 interrupt controllers (pic) (d31:f0) .......................................................... 153 5.8.1 interrupt handling............................................................................. 154 5.8.1.1 generating interrupts .......................................................... 154 5.8.1.2 acknowledging interrupts..................................................... 154 5.8.1.3 hardware/software interrupt sequence ................................. 155 5.8.2 initialization command words (icwx).................................................. 155 5.8.2.1 icw1................................................................................. 155 5.8.2.2 icw2................................................................................. 156 5.8.2.3 icw3................................................................................. 156 5.8.2.4 icw4................................................................................. 156 5.8.3 operation command words (ocw)...................................................... 156 5.8.4 modes of operation ........................................................................... 156 5.8.4.1 fully nested mode ............................................................... 156 5.8.4.2 special fully-nested mode .................................................... 157 5.8.4.3 automatic rotation mode (equal priority devices) .................... 157 5.8.4.4 specific rotation mode (specific pr iority) ................................ 157 5.8.4.5 poll mode ........................................................................... 157 5.8.4.6 edge and level triggered mode............................................. 158 5.8.4.7 end of interrupt (eoi) operations ......................................... 158 5.8.4.8 normal end of interrupt ....................................................... 158 5.8.4.9 automatic end of interrupt mode........................................... 158 5.8.5 masking interrupts ............................................................................ 159 5.8.5.1 masking on an individual interrupt request ............................ 159 5.8.5.2 special mask mode .............................................................. 159 5.8.6 steering pci interrupts ...................................................................... 159 5.9 advanced programmable interrupt controller (apic) (d31:f0) .............................. 160 5.9.1 interrupt handling............................................................................. 160 5.9.2 interrupt mapping ............................................................................. 160 5.9.3 pci / pci express* message-based interrupts ....................................... 161 5.9.4 ioxapic address remapping .............................................................. 161 5.9.5 external interrupt controller support ................................................... 161 5.10 serial interrupt (d31:f0) ................................................................................. 162 5.10.1 start frame...................................................................................... 162 5.10.2 data frames..................................................................................... 163 5.10.3 stop frame ...................................................................................... 163 5.10.4 specific interrupts not supported using serirq ................................... 163 5.10.5 data frame format ........................................................................... 164 5.11 real time clock (d31:f0)................................................................................. 165 5.11.1 update cycles................................................................................... 165 5.11.2 interrupts ........................................................................................ 166 5.11.3 lockable ram ranges ........................................................................ 166 5.11.4 century rollover ............................................................................... 166 5.11.5 clearing battery-backed rtc ram ....................................................... 166 5.12 processor interface (d31:f0) ............................................................................ 168 5.12.1 processor interface signals and vlw messages ..................................... 168 5.12.1.1 a20m# (mask a20) / a20gate ............................................. 168 5.12.1.2 init (initialization).................. ............................................ 169 5.12.1.3 ferr# (numeric coprocessor error) ...................................... 169 5.12.1.4 nmi (non-maskable interrupt) .............................................. 170 5.12.1.5 processor power good (procpwrgd) .................................... 170 5.12.2 dual-processor issues........................................................................ 170 5.12.2.1 usage differences ............................................................... 170 5.12.3 virtual legacy wire (vlw) messages.................................................... 170 5.13 power management (d31:f0) ........................................................................... 171 5.13.1 features .......................................................................................... 171 5.13.2 pch and system power states ............................................................ 171 5.13.3 system power planes......................................................................... 173 5.13.4 smi#/sci generation ........................................................................ 173 5.13.4.1 pci express* sci ................................................................ 176 5.13.4.2 pci express* hot-plug ......................................................... 176 5.13.5 c-states .......................................................................................... 176 5.13.6 dynamic pci clock control (mobile only).............................................. 176 5.13.6.1 conditions for checking the pci clock .................................... 177 5.13.6.2 conditions for maintaining the pci clock................................. 177 5.13.6.3 conditions for stopping the pci clock .................................... 177 5.13.6.4 conditions for re-starting the pci clock................................. 177
6 datasheet 5.13.6.5 lpc devices and clkrun# ................................................... 178 5.13.7 sleep states ..................................................................................... 178 5.13.7.1 sleep state overview ........................................................... 178 5.13.7.2 initiating sleep state ........................................................... 178 5.13.7.3 exiting sleep states ............................................................. 179 5.13.7.4 pci express* wake# signal and pme event message ............... 181 5.13.7.5 sx-g3-sx, handling power failures ........................................ 181 5.13.8 event input signals and their usage .................................................... 181 5.13.8.1 pwrbtn# (power button) .................................................... 182 5.13.8.2 ri# (ring indicator) ............................................................ 183 5.13.8.3 pme# (pci power management event).................................... 183 5.13.8.4 sys_reset# signal ............................................................. 183 5.13.8.5 thrmtrip# signal............................................................... 183 5.13.9 alt access mode ............................................................................... 184 5.13.9.1 write only registers with read paths in alt acce ss mode ......... 185 5.13.9.2 pic reserved bits ................................................................ 187 5.13.9.3 read only registers with writ e paths in alt acce ss mode ......... 187 5.13.10 system power supplies, planes, and signals.......................................... 187 5.13.10.1 power plane control with slp_s3#, slp_s4#, slp_s5#, slp_m# and slp_lan# .......................... 187 5.13.10.2 slp_s4# and suspend-to-ram sequencing ............................ 188 5.13.10.3 pwrok signal ..................................................................... 188 5.13.10.4 batlow# (battery low) (mobile only) ................................... 188 5.13.10.5 slp_lan# pin behavior ........................................................ 189 5.13.10.6 rtcrst# and srtcrst# ..................................................... 189 5.13.11 clock generators ............................................................................... 189 5.13.12 legacy power management theory of operation .................................... 190 5.13.12.1 apm power management (desktop only)................................. 190 5.13.12.2 mobile apm power management (mobile only) ......................... 190 5.13.13 reset behavior .................................................................................. 190 5.14 system management (d31:f0) .......................................................................... 192 5.14.1 theory of operation ........................................................................... 193 5.14.1.1 detecting a system lockup ................................................... 193 5.14.1.2 handling an intruder ............................................................ 193 5.14.1.3 detecting improper flash programming .................................. 193 5.14.1.4 heartbeat and event reporting using smlink/smbus ................ 193 5.14.2 tco modes ....................................................................................... 194 5.14.2.1 tco legacy/compatible mode ............................................... 194 5.14.2.2 advanced tco mode ............................................................ 195 5.15 general purpose i/o (d31:f0) ........................................................................... 197 5.15.1 power wells ...................................................................................... 197 5.15.2 smi# sci and nmi routing ................................................................. 197 5.15.3 triggering......................................................................................... 197 5.15.4 gpio registers lockdown ................................................................... 197 5.15.5 serial post codes over gpio.............................................................. 198 5.15.5.1 theory of operation ............................................................. 198 5.15.5.2 serial message format ......................................................... 199 5.16 sata host controller (d31:f2, f5)..................................................................... 200 5.16.1 sata feature support ........................................................................ 201 5.16.2 theory of operation ........................................................................... 202 5.16.2.1 standard ata emulation ....................................................... 202 5.16.2.2 48-bit lba operation ........................................................... 202 5.16.3 sata swap bay support ..................................................................... 202 5.16.4 hot plug operation............................................................................. 202 5.16.4.1 low power device presence detection .................................... 202 5.16.5 function level reset support (flr)........ .............................................. 203 5.16.5.1 flr steps ........................................................................... 203 5.16.6 intel ? rapid storage technology configuration...................................... 203 5.16.6.1 intel ? rapid storage manager raid option rom ..................... 204 5.16.7 power management operation ............................................................. 204 5.16.7.1 power state mappings .......................................................... 204 5.16.7.2 power state transitions ........................................................ 205 5.16.7.3 smi trapping (apm) ............................................................. 206 5.16.8 sata device presence ........................................................................ 206 5.16.9 sata led ......................................................................................... 207 5.16.10 ahci operation ................................................................................. 207 5.16.11 sgpio signals ................................................................................... 207
datasheet 7 5.16.11.1 mechanism ......................................................................... 207 5.16.11.2 message format.................................................................. 208 5.16.11.3 led message type .............................................................. 209 5.16.11.4 sgpio waveform ................................................................ 210 5.16.12 external sata................................................................................... 211 5.17 high precision event timers.............................................................................. 211 5.17.1 timer accuracy ................................................................................. 211 5.17.2 interrupt mapping ............................................................................. 212 5.17.3 periodic vs. non-periodic modes .......................................................... 212 5.17.4 enabling the timers........................................................................... 213 5.17.5 interrupt levels ................................................................................ 213 5.17.6 handling interrupts ........................................................................... 214 5.17.7 issues related to 64-bit timers with 32-bit processors........................... 214 5.18 usb ehci host controllers (d29:f0 and d26:f0)................................................. 215 5.18.1 ehc initialization............................................................................... 215 5.18.1.1 bios initialization ............................................................... 215 5.18.1.2 driver initialization.............................................................. 215 5.18.1.3 ehc resets ........................................................................ 215 5.18.2 data structures in main memory ......................................................... 215 5.18.3 usb 2.0 enhanced host controller dma................................................ 216 5.18.4 data encoding and bit stuffing............................................................ 216 5.18.5 packet formats ................................................................................. 216 5.18.6 usb 2.0 interrupts and error conditions............................................... 216 5.18.6.1 aborts on usb 2.0-initiated memory reads ............................ 217 5.18.7 usb 2.0 power management ............................................................... 217 5.18.7.1 pause feature..................................................................... 217 5.18.7.2 suspend feature ................................................................. 217 5.18.7.3 acpi device states.............................................................. 218 5.18.7.4 acpi system states............................................................. 218 5.18.8 usb 2.0 legacy keyboard operation .................................................... 218 5.18.9 usb 2.0 based debug port ................................................................. 219 5.18.9.1 theory of operation............................................................ 219 5.18.10 ehci caching ................................................................................... 224 5.18.11 usb pre-fetch based pause ................................................................ 224 5.18.12 function level reset support (flr) ..................................................... 224 5.18.12.1 flr steps .......................................................................... 224 5.18.13 usb overcurrent protection ................................................................ 225 5.19 integrated usb 2.0 rate matching hub .............................................................. 226 5.19.1 overview ......................................................................................... 226 5.19.2 architecture ..................................................................................... 226 5.20 smbus controller (d31:f3) ............................................................................... 227 5.20.1 host controller ................................................................................. 227 5.20.1.1 command protocols............................................................. 228 5.20.2 bus arbitration.................................................................................. 231 5.20.3 bus timing ....................................................................................... 232 5.20.3.1 clock stretching.................................................................. 232 5.20.3.2 bus time out (the pch as smbus master) .............................. 232 5.20.4 interrupts / smi#.............................................................................. 232 5.20.5 smbalert# ..................................................................................... 233 5.20.6 smbus crc generation and checking................................................... 233 5.20.7 smbus slave interface ....................................................................... 234 5.20.7.1 format of slave write cycle.................................................. 234 5.20.7.2 format of read command .................................................... 236 5.20.7.3 slave read of rtc time bytes .............................................. 238 5.20.7.4 format of host notify command ........................................... 238 5.21 thermal management ...................................................................................... 240 5.21.1 thermal sensor ................................................................................ 240 5.21.1.1 internal thermal sensor operation ........................................ 240 5.21.2 thermal reporting over system mana gement link 1 interface (smlink1) . 241 5.21.2.1 supported addresses ........................................................... 242 5.21.2.2 i 2 c write commands to the intel ? me ................................... 243 5.21.2.3 block read command .......................................................... 243 5.21.2.4 read data format ............................................................... 245 5.21.2.5 thermal data update rate ................................................... 246 5.21.2.6 temperature comparator and alert ....................................... 247 5.21.2.7 bios set up ....................................................................... 248 5.21.2.8 smbus rules....................................................................... 249
8 datasheet 5.21.2.9 case for considerations ........................................................ 250 5.22 intel ? high definition audio overview (d27:f0)..... .............................................. 252 5.22.1 intel ? high definition audio docking (mobile only) ................................ 252 5.22.1.1 dock sequence ................................................................... 252 5.22.1.2 exiting d3/crst# when docked ............................................ 253 5.22.1.3 cold boot/resume from s3 when docked ............................... 254 5.22.1.4 undock sequence ................................................................ 254 5.22.1.5 normal undock.................................................................... 254 5.22.1.6 surprise undock .................................................................. 255 5.22.1.7 interaction between dock/undock and power management states ................................................................................ 255 5.22.1.8 relationship between hda_dock_rst# and hda_rst# .......... 255 5.23 intel ? active management technology 6.0 (intel ? amt) ....................................... 256 5.23.1 intel ? amt6.x and asf 2.0 features .................................................... 257 5.23.2 intel ? amt requirements ................................................................... 257 5.24 serial peripheral interface (spi) ................. ....................................................... 258 5.24.1 spi supported feature overview ......................................................... 258 5.24.1.1 non-descriptor mode ........................................................... 258 5.24.1.2 descriptor mode .................................................................. 258 5.24.1.3 device partitioning............................................................... 260 5.24.2 flash descriptor ................................................................................ 260 5.24.2.1 descriptor master region ...................................................... 262 5.24.3 flash access ..................................................................................... 263 5.24.3.1 direct access security .......................................................... 263 5.24.3.2 register access security ....................................................... 263 5.24.4 serial flash device compatibility requir ements .......... .......... ........... ...... 264 5.24.4.1 pch spi based bios requirements ........................................ 264 5.24.4.2 integrated lan firmware spi flash requirements .................... 264 5.24.4.3 intel ? management engine firmware spi flash requirements ... 265 5.24.4.4 hardware sequencing requirements ...................................... 265 5.24.5 multiple page write usage model.......................................................... 266 5.24.5.1 soft flash protection ............................................................ 266 5.24.5.2 bios range write protection................................................. 267 5.24.5.3 smi# based global write protection ....................................... 267 5.24.6 flash device configurations ................................................................ 267 5.24.7 spi flash device recommended pinout................................................. 267 5.24.8 serial flash device package ................................................................ 268 5.24.8.1 common footprint usage model ............................................ 268 5.24.8.2 serial flash device package re commendations ........................ 268 5.25 intel ? quiet system technology (intel ? qst) (desktop only) ............................... 269 5.25.1 pwm outputs .................................................................................... 269 5.25.2 tach inputs ..................................................................................... 269 5.26 feature capability mechanism ...... ............ ........... ............ ........... .......... ............. 269 5.27 pch display interfaces and intel ? flexible display interconnect............................. 270 5.27.1 analog display interface characteristics................................................ 270 5.27.1.1 integrated ramdac ............................................................. 271 5.27.1.2 ddc (display data channel) ................................................. 271 5.27.2 digital display interfaces .................................................................... 271 5.27.2.1 lvds (mobile only) .............................................................. 271 5.27.2.2 lvds pair states ................................................................. 272 5.27.2.3 single channel versus dual channel mode .............................. 273 5.27.2.4 panel power sequencing ....................................................... 273 5.27.2.5 lvds ddc .......................................................................... 274 5.27.2.6 high definition multimedia interf ace....................................... 274 5.27.2.7 digital video interface (dvi) ................................................. 275 5.27.2.8 display port* ...................................................................... 275 5.27.2.9 embedded displayport.......................................................... 275 5.27.2.10 displayport aux channel....................................................... 276 5.27.2.11 displayport hot-plug detect (hpd) ......................................... 276 5.27.2.12 integrated audio over hdmi and displayport ........................... 276 5.27.2.13 serial digital video out (sdvo) ............................................. 276 5.27.2.14 control bus......................................................................... 277 5.27.3 mapping of digital display interface signals .......................................... 278 5.27.4 multiple display configurations ............................................................ 279 5.27.5 high-bandwidth digital content protection (hdcp) ................................. 279 5.27.6 intel ? flexible display interconnect ..................................................... 280 5.28 intel ? virtualization technology .......................... .............................................. 280
datasheet 9 5.28.1 intel ? vt-d objectives ....................................................................... 280 5.28.2 intel ? vt-d features supported .......................................................... 280 5.28.3 support for function level reset (flr) in intel ? 5 series chipset and intel ? 3400 series chipset................................................ 281 5.28.4 virtualization support for pch?s ioxapic .............................................. 281 5.28.5 virtualization support for high precision event timer (hpet)................... 281 5.29 intel ? 5 series chipset and intel ? 3400 series chipset platform clocks.................. 282 5.29.1 platform clocking requirements .......................................................... 282 6 ballout definition ................................................................................................... 283 6.1 pch desktop ballout ........................................................................................ 283 6.2 pch ballout mobile ballout ................................................................................ 294 6.3 pch ballout small form factor ballout ............. .................................................. 306 7 package information ............................................................................................. 319 7.1 pch package (desktop only) ............................................................................ 319 7.2 pch package (mobile only)............................................................................... 321 7.3 pch package (mobile sff only)......................................................................... 323 8 electrical characteristics ....................................................................................... 325 8.1 thermal specifications ..................................................................................... 325 8.1.1 desktop storage specifications and thermal design power (tdp) ............ 325 8.1.2 mobile storage specifications and thermal design power (tdp) ............... 325 8.2 absolute maximum and minimum ratings ........... ................................................ 326 8.3 intel ? 5 series chipset and intel ? 3400 series chipset power supply range ........... 327 8.4 general dc characteristics ............................................................................... 327 8.5 display dc characteristics ......................... ....................................................... 340 8.6 ac characteristics ........................................................................................... 342 8.7 power sequencing and reset signal timings ....................................................... 360 8.8 power management timing diagrams................................................................. 363 8.9 ac timing diagrams ........................................................................................ 366 9 register and memory mapping ............................................................................... 377 9.1 pci devices and functions........................... ..................................................... 378 9.2 pci configuration map ..................................................................................... 379 9.3 i/o map ......................................................................................................... 379 9.3.1 fixed i/o address ranges .................................................................. 379 9.3.2 variable i/o decode ranges ............................................................... 382 9.4 memory map................................................................................................... 383 9.4.1 boot-block update scheme................................................................. 385 10 chipset configur ation registers ............................................................................. 387 10.1 chipset configuration registers (memory space) ................................................. 387 10.1.1 v0ctl?virtual channel 0 resource contro l register .............................. 390 10.1.2 v0sts?virtual channel 0 resource status register ............................... 390 10.1.3 v1ctl?virtual channel 1 resource contro l register .............................. 391 10.1.4 v1sts?virtual channel 1 resource status register ............................... 391 10.1.5 cir0?chipset initialization register 0.................................................. 391 10.1.6 cir1?chipset initialization register 1.................................................. 392 10.1.7 rec?root error command register .................................................... 392 10.1.8 ilcl?internal link capabilities list regi ster ............ ............ ........... ...... 392 10.1.9 lcap?link capabilities register ............ ............ ........... ........... ............ 393 10.1.10 lctl?link control register ................................................................ 393 10.1.11 lsts?link status register................................................................. 394 10.1.12 bcr?backbone configuration register................................................. 394 10.1.13 rpc?root port configuration register ................................................. 394 10.1.14 dmic?dmi control register ............................................................... 396 10.1.15 rpfn?root port function number and hide for pci express* root ports register .............................................................. 396 10.1.16 flrstat?flr pending status register ................................................ 397 10.1.17 cir5?chipset initialization register 5.................................................. 398 10.1.18 trsr?trap status register................................................................ 398 10.1.19 trcr?trapped cycle register ............................................................ 398 10.1.20 twdr?trapped write data register.................................................... 399 10.1.21 iotrn?i/o trap register (0?3) .......................................................... 399 10.1.22 dmc?dmi miscellaneous control register ............................................ 400 10.1.23 cir6?chipset initialization register 6.................................................. 400 10.1.24 dmc2?dmi miscellaneous control register 2 ........................................ 400
10 datasheet 10.1.25 tctl?tco configuration register........................................................ 401 10.1.26 d31ip?device 31 interrupt pin register ............................................... 402 10.1.27 d30ip?device 30 interrupt pin register ............................................... 403 10.1.28 d29ip?device 29 interrupt pin register ............................................... 403 10.1.29 d28ip?device 28 interrupt pin register ............................................... 404 10.1.30 d27ip?device 27 interrupt pin register ............................................... 405 10.1.31 d26ip?device 26 interrupt pin register ............................................... 406 10.1.32 d25ip?device 25 interrupt pin register ............................................... 406 10.1.33 d22ip?device 22 interrupt pin register ............................................... 407 10.1.34 d31ir?device 31 interrupt route register ........................................... 407 10.1.35 d30ir?device 30 interrupt route register ........................................... 408 10.1.36 d29ir?device 29 interrupt route register ........................................... 409 10.1.37 d28ir?device 28 interrupt route register ........................................... 410 10.1.38 d27ir?device 27 interrupt route register ........................................... 411 10.1.39 d26ir?device 26 interrupt route register ........................................... 412 10.1.40 d25ir?device 25 interrupt route register ........................................... 413 10.1.41 d24ir?device 24 interrupt route register ........................................... 414 10.1.42 d22ir?device 22 interrupt route register ........................................... 415 10.1.43 oic?other interrupt control register .................................................. 416 10.1.44 prsts?power and reset status .......................................................... 417 10.1.45 cir7?chipset initalization register 7..... .............................................. 417 10.1.46 cir8?chipset initialization register 8 .................................................. 418 10.1.47 cir9?chipset initialization register 9 .................................................. 418 10.1.48 cir10?chipset initialization register 10 .. ............................................ 418 10.1.49 cir13?chipset initialization register 13 .. ............................................ 418 10.1.50 cir14?chipset initialization register 14 .. ............................................ 418 10.1.51 cir15?chipset initialization register 15 .. ............................................ 419 10.1.52 cir16?chipset initialization register 16 .. ............................................ 419 10.1.53 cir17?chipset initialization register 17 .. ............................................ 419 10.1.54 cir18?chipset initialization register 18 .. ............................................ 419 10.1.55 cir19?chipset initialization register 19 .. ............................................ 419 10.1.56 cir20?chipset initialization register 20 .. ............................................ 420 10.1.57 cir21?chipset initialization register 21 .. ............................................ 420 10.1.58 cir22?chipset initialization register 22 .. ............................................ 420 10.1.59 rc?rtc configuration register............. .............................................. 421 10.1.60 hptc?high precision time r configuration register ................................ 421 10.1.61 gcs?general control and status register ............................................ 422 10.1.62 buc?backed up control register ........................................................ 424 10.1.63 fd?function disable register ............................................................. 425 10.1.64 cg?clock gating register .................................................................. 427 10.1.65 fdsw?function disable sus well register ........................................... 428 10.1.66 fd2?function disable 2 register........... .............................................. 428 10.1.67 miscctl?miscellaneous control register ............................................. 429 10.1.68 usbocm1?overcurrent map register 1................................................ 430 10.1.69 usbocm2?overcurrent map register 2................................................ 431 10.1.70 rmhwkctl?rate matching hub wake control register .......................... 432 11 pci-to-pci bridge registers (d30:f0) .................................................................... 435 11.1 pci configuration registers (d30:f0) ................................................................. 435 11.1.1 vid?vendor identification register (pci-pci?d30:f0) .......................... 436 11.1.2 did?device identification register (pci-pci?d30:f0) ........................... 436 11.1.3 pcicmd?pci command register (pci-pci?d30:f0).............................. 436 11.1.4 psts?pci status register (pci-pci?d30:f0) ....................................... 437 11.1.5 rid?revision identification register (pci-pci?d30:f0)......................... 439 11.1.6 cc?class code register (pci-pci?d30:f0).......................................... 439 11.1.7 pmlt?primary master latency timer register (pci-pci?d30:f0)............................................................................. 440 11.1.8 headtyp?header type register (pci-pci?d30:f0) .............................. 440 11.1.9 bnum?bus number register (pci-pci?d30:f0) ................................... 440 11.1.10 smlt?secondary master latency timer register (pci-pci?d30:f0)............................................................................. 441 11.1.11 iobase_limit?i/o base and limit register (pci-pci?d30:f0)............................................................................. 441 11.1.12 secsts?secondary status register (p ci-pci?d30:f0) ......................... 442 11.1.13 membase_limit?memory base and limit register (pci-pci?d30:f0)............................................................................. 443
datasheet 11 11.1.14 pref_mem_base_limit?prefetchable memory base and limit register (pci-pci?d30:f0) .................................................. 443 11.1.15 pmbu32?prefetchable memory base upper 32 bits register (pci-pci?d30:f0) ................................................................ 444 11.1.16 pmlu32?prefetchable memory limit upper 32 bits register (pci-pci?d30:f0) ................................................................ 444 11.1.17 capp?capability list pointer register (pci-pci?d30:f0) ...... ........... ...... 444 11.1.18 intr?interrupt information register (pci-pci?d30:f0)........................ 444 11.1.19 bctrl?bridge control register (pci-pci?d30:f0) ............................... 445 11.1.20 spdh?secondary pci device hiding register (pci-pci?d30:f0) ............................................................................ 447 11.1.21 dtc?delayed transaction control register (pci-pci?d30:f0) ............................................................................ 447 11.1.22 bps?bridge proprietary status register (pci-pci?d30:f0) ............................................................................ 449 11.1.23 bpc?bridge policy configuration register (pci-pci?d30:f0) ............................................................................ 450 11.1.24 svcap?subsystem vend or capability register (pci-pci?d30:f0) ............................................................................ 451 11.1.25 svid?subsystem vendor ids register (pci-pci?d30:f0) ..................... 451 12 gigabit lan configuration registers ...................................................................... 453 12.1 gigabit lan configuration registers (gigabit lan?d25:f0)..................................................................................... 453 12.1.1 vid?vendor identification register (gigabit lan?d25:f0)....................................................................... 454 12.1.2 did?device identification register (gigabit lan?d25:f0)....................................................................... 454 12.1.3 pcicmd?pci command register (gigabit lan?d25:f0)....................................................................... 455 12.1.4 pcists?pci status register (gigabit lan?d25:f0)....................................................................... 456 12.1.5 rid?revision identification register (gigabit lan?d25:f0)....................................................................... 457 12.1.6 cc?class code register (gigabit lan?d25:f0)....................................................................... 457 12.1.7 cls?cache line size register (gigabit lan?d25:f0)....................................................................... 457 12.1.8 plt?primary latency timer register (gigabit lan?d25:f0)....................................................................... 457 12.1.9 ht?header type register (gigabit lan?d25:f0)....................................................................... 457 12.1.10 mbara?memory base address register a (gigabit lan?d25:f0)....................................................................... 458 12.1.11 mbarb?memory base address register b (gigabit lan?d25:f0)....................................................................... 458 12.1.12 mbarc?memory base address register c (gigabit lan?d25:f0)....................................................................... 459 12.1.13 svid?subsystem vendor id register (gigabit lan?d25:f0)....................................................................... 459 12.1.14 sid?subsystem id register (gigabit lan?d25:f0)....................................................................... 459 12.1.15 erba?expansion rom base address register (gigabit lan?d25:f0)....................................................................... 459 12.1.16 capp?capabilities list pointer register (gigabit lan?d25:f0)....................................................................... 460 12.1.17 intr?interrupt information register (gigabit lan?d25:f0)....................................................................... 460 12.1.18 mlmg?maximum latency/minimum grant register (gigabit lan?d25:f0)....................................................................... 460 12.1.19 clist 1?capabilities list register 1 (gigabit lan?d25:f0)....................................................................... 460 12.1.20 pmc?pci power management capabilities register (gigabit lan?d25:f0)....................................................................... 461 12.1.21 pmcs?pci power management control and status register (gigabit lan?d25:f0) .......................................................... 462
12 datasheet 12.1.22 dr?data register (gigabit lan?d25:f0) ....................................................................... 463 12.1.23 clist 2?capabilities list register 2 (gigabit lan?d25:f0) ....................................................................... 463 12.1.24 mctl?message control register (gigabit lan?d25:f0) ....................................................................... 463 12.1.25 maddl?message address low register (gigabit lan?d25:f0) ....................................................................... 464 12.1.26 maddh?message address high register (gigabit lan?d25:f0) ....................................................................... 464 12.1.27 mdat?message data register (gigabit lan?d25:f0) ....................................................................... 464 12.1.28 flrcap?function level reset capability (gigabit lan?d25:f0) ....................................................................... 464 12.1.29 flrclv?function level rese t capability length and version (gigabit lan?d25:f0) ....................................................................... 465 12.1.30 devctrl?device control (gigabit lan?d25:f0) .................................. 465 13 lpc interface bridge registers (d31:f0) ............................................................... 467 13.1 pci configuration registers (lpc i/f?d31:f0) .................................................... 467 13.1.1 vid?vendor identification register (lpc i/f?d31:f0) ........................... 468 13.1.2 did?device identification register (lpc i/f?d31:f0)............................ 468 13.1.3 pcicmd?pci command register (lpc i/f?d31:f0).............................. 469 13.1.4 pcists?pci status register (lpc i/f?d31:f0) .................................... 470 13.1.5 rid?revision identification register (lpc i/f?d31:f0) ......................... 471 13.1.6 pi?programming interface register (lpc i/f?d31:f0) .......................... 471 13.1.7 scc?sub class code register (lpc i/f?d31:f0) .................................. 471 13.1.8 bcc?base class code register (lpc i/f?d31:f0) ................................. 471 13.1.9 plt?primary latency timer register (lpc i/f?d31:f0) ......................... 471 13.1.10 headtyp?header type register (lpc i/f?d31:f0) ............................... 472 13.1.11 ss?sub system identifiers register (lpc i/f?d31:f0) .......................... 472 13.1.12 capp?capability list poin ter register (lpc i/f?d31:f0 ) ......... ........... .... 472 13.1.13 pmbase?acpi base address register (lpc i/f?d31:f0)........................ 472 13.1.14 acpi_cntl?acpi control register (lpc i/f?d31:f0) ............................ 473 13.1.15 gpiobase?gpio base address register (lpc i/f?d31:f0) ............................................................................. 473 13.1.16 gc?gpio control register (lpc i/f?d31:f0) ....................................... 474 13.1.17 pirq[n]_rout?pirq[a,b,c,d] routing control register (lpc i/f?d31:f0) ............................................................................. 475 13.1.18 sirq_cntl?serial irq control register (lpc i/f?d31:f0) ............................................................................. 476 13.1.19 pirq[n]_rout?pirq[e,f,g, h] routing control register (lpc i/f?d31:f0) ............................................................................. 477 13.1.20 lpc_ibdf?ioxapic bus:device:function register (lpc i/f?d31:f0) ............................................................................. 477 13.1.21 lpc_hnbdf?hpet n bus:device:function register (lpc i/f?d31:f0) ............................................................................. 478 13.1.22 lpc_i/o_dec?i/o decode ranges register (lpc i/f?d31:f0) ............................................................................. 479 13.1.23 lpc_en?lpc i/f enables register (lpc i/f?d31:f0) ............................. 480 13.1.24 gen1_dec?lpc i/f generic decode range 1 register (lpc i/f?d31:f0) ............................................................................. 481 13.1.25 gen2_dec?lpc i/f generic decode range 2 register (lpc i/f?d31:f0) ............................................................................. 481 13.1.26 gen3_dec?lpc i/f generic decode range 3 register (lpc i/f?d31:f0) ............................................................................. 482 13.1.27 gen4_dec?lpc i/f generic decode range 4 register (lpc i/f?d31:f0) ............................................................................. 482 13.1.28 ulkmc?usb legacy keyboard / mouse control register (lpc i/f?d31:f0) ................................................................ 483 13.1.29 lgmr?lpc i/f generic memory range register (lpc i/f?d31:f0) ............................................................................. 484 13.1.30 fwh_sel1?firmware hub select 1 register (lpc i/f?d31:f0) ............................................................................. 485 13.1.31 fwh_sel2?firmware hub select 2 register (lpc i/f?d31:f0) ............................................................................. 486
datasheet 13 13.1.32 fwh_dec_en1?firmware hub decode enable register (lpc i/f?d31:f0) ................................................................ 487 13.1.33 bios_cntl?bios control register (lpc i/f?d31:f0)............................................................................. 489 13.1.34 fdcap?feature detection capability id register (lpc i/f?d31:f0)................................................................ 490 13.1.35 fdlen?feature detection capability length register (lpc i/f?d31:f0)................................................................ 490 13.1.36 fdver?feature detection version register (lpc i/f?d31:f0)................................................................ 490 13.1.37 fdvct?feature vector register (lpc i/f?d31:f0)............................................................................. 491 13.1.38 rcba?root complex base address register (lpc i/f?d31:f0)............................................................................. 491 13.2 dma i/o registers........................................................................................... 492 13.2.1 dmabase_ca?dma base and current address registers ....................... 493 13.2.2 dmabase_cc?dma base and current count registers .......................... 494 13.2.3 dmamem_lp?dma memory low page registers.................................... 494 13.2.4 dmacmd?dma command register ..................................................... 495 13.2.5 dmasta?dma status register ........................................................... 495 13.2.6 dma_wrsmsk?dma write single mask register .................................. 496 13.2.7 dmach_mode?dma channel mode register ........................................ 497 13.2.8 dma clear byte pointer register.......................................................... 498 13.2.9 dma master clear register ................................................................. 498 13.2.10 dma_clmsk?dma clear mask register ............................................... 498 13.2.11 dma_wrmsk?dma write all mask register ......................................... 499 13.3 timer i/o registers ......................................................................................... 499 13.3.1 tcw?timer control word register...................................................... 500 13.3.2 sbyte_fmt?interval timer status byte format register ....................... 502 13.3.3 counter access ports register ............................................................. 503 13.4 8259 interrupt controller (pic) registers ........................................................... 503 13.4.1 interrupt controller i/o map ............................................................... 503 13.4.2 icw1?initialization command word 1 register..................................... 504 13.4.3 icw2?initialization command word 2 register..................................... 505 13.4.4 icw3?master controller initialization command word 3 register ................................................................................ 505 13.4.5 icw3?slave controlle r initialization command word 3 register ................................................................................ 506 13.4.6 icw4?initialization command word 4 register..................................... 506 13.4.7 ocw1?operational control word 1 (interrupt mask) register ........................................................................................... 507 13.4.8 ocw2?operational control word 2 register ......................................... 507 13.4.9 ocw3?operational control word 3 register ......................................... 508 13.4.10 elcr1?master controller edge/level triggered register ........................ 509 13.4.11 elcr2?slave controller edge/level triggered register .......................... 510 13.5 advanced programmable interrupt controller (apic)............................................ 511 13.5.1 apic register map............................................................................. 511 13.5.2 ind?index register .......................................................................... 511 13.5.3 dat?data register ........................................................................... 512 13.5.4 eoir?eoi register ........................................................................... 512 13.5.5 id?identification register .................. ................................................ 513 13.5.6 ver?version register ....................................................................... 513 13.5.7 redir_tbl?redirection table ................ ............................................ 514 13.6 real time clock registers................................................................................. 516 13.6.1 i/o register address map ................................................................... 516 13.6.2 indexed registers ............................................................................. 517 13.6.2.1 rtc_rega?register a ........................................................ 518 13.6.2.2 rtc_regb?register b (general co nfiguration)....................... 519 13.6.2.3 rtc_regc?register c (flag register) ................................... 520 13.6.2.4 rtc_regd?register d (flag register) .................................. 520 13.7 processor interface registers ............................................................................ 521 13.7.1 nmi_sc?nmi status and control register............................................ 521 13.7.2 nmi_en?nmi enable (and real time clock index) register ........................................................................................... 522 13.7.3 port92?fast a20 and init register .................................................... 522 13.7.4 coproc_err?coprocessor error register ........................................... 522 13.7.5 rst_cnt?reset control register........................................................ 523
14 datasheet 13.8 power management registers (pm?d31:f0) ....................................................... 524 13.8.1 power management pci configuration registers (pm?d31:f0) ................................................................................... 524 13.8.1.1 gen_pmcon_1?general pm configuration 1 register (pm?d31:f0) ..................................................................... 524 13.8.1.2 gen_pmcon_2?general pm configuration 2 register (pm?d31:f0) ..................................................................... 525 13.8.1.3 gen_pmcon_3?general pm configuration 3 register (pm?d31:f0) ..................................................................... 527 13.8.1.4 gen_pmcon_lock?general power management configuration lock register ...................................................................... 529 13.8.1.5 chipset initialization register 4 (pm?d31:f0) ......................... 530 13.8.1.6 bm_break_en register (pm?d31:f0) ................................... 530 13.8.1.7 pmir?power management initialization register (pm?d31:f0) . 531 13.8.1.8 gpio_rout?gpio routing control register (pm?d31:f0) ..................................................................... 531 13.8.2 apm i/o decode ................................................................................ 531 13.8.2.1 apm_cnt?advanced power management control port register . 532 13.8.2.2 apm_sts?advanced power management status port register... 532 13.8.3 power management i/o registers ........................................................ 532 13.8.3.1 pm1_sts?power management 1 status register ..................... 533 13.8.3.2 pm1_en?power management 1 enable register ...................... 536 13.8.3.3 pm1_cnt?power management 1 control register.................... 537 13.8.3.4 pm1_tmr?power management 1 timer register ..................... 538 13.8.3.5 pm1_tmr?power management 1 timer register ..................... 538 13.8.3.6 gpe0_sts?general purpose event 0 status register ............... 539 13.8.3.7 gpe0_en?general purpose event 0 enables register ............... 541 13.8.3.8 smi_en?smi control and enable register .............................. 543 13.8.3.9 smi_sts?smi status register .............................................. 545 13.8.3.10 alt_gp_smi_en?alternate gpi smi enable register ............... 547 13.8.3.11 alt_gp_smi_sts?alternate gpi smi status register .............. 548 13.8.3.12 uprwc?usb per-port registers write control......................... 548 13.8.3.13 gpe_cntl?general purpose control register ......................... 549 13.8.3.14 devact_sts?device activity stat us register ......................... 550 13.8.3.15 pm2_cnt?power management 2 control register.................... 550 13.9 system management tco registers ................................................................... 551 13.9.1 tco_rld?tco timer reload and current value register ....................... 551 13.9.2 tco_dat_in?tco data in register ........ ............................................ 552 13.9.3 tco_dat_out?tco data out register................................................ 552 13.9.4 tco1_sts?tco1 status register........................................................ 552 13.9.5 tco2_sts?tco2 status register........................................................ 554 13.9.6 tco1_cnt?tco1 control register ...................................................... 555 13.9.7 tco2_cnt?tco2 control register ...................................................... 556 13.9.8 tco_message1 and tco_message2 registers .................................... 556 13.9.9 tco_wdcnt?tco watchdog control register ...................................... 557 13.9.10 sw_irq_gen?software irq generation re gister.................................. 557 13.9.11 tco_tmr?tco timer initial value register .......................................... 557 13.10 general purpose i/o registers ........................................................................... 558 13.10.1 gpio_use_sel?gpio use select register............................................ 559 13.10.2 gp_io_sel?gpio input/output select register .................................... 559 13.10.3 gp_lvl?gpio level for input or output register .................................. 560 13.10.4 gpo_blink?gpo blink enable register................................................ 560 13.10.5 gp_ser_blink?gp serial blink register .............................................. 561 13.10.6 gp_sb_cmdsts?gp serial blink command status register.................................................................................. 562 13.10.7 gp_sb_data?gp serial blink data register ......................................... 562 13.10.8 gpi_nmi_en?gpi nmi enable register ................................................ 563 13.10.9 gpi_nmi_sts?gpi nmi status register ............................................... 563 13.10.10 gpi_inv?gpio signal invert register .... .............................................. 563 13.10.11 gpio_use_sel2?gpio use select 2 register ....................................... 564 13.10.12 gp_io_sel2?gpio input/output select 2 register ................................ 564 13.10.13 gp_lvl2?gpio level for input or output 2 register .............................. 565 13.10.14 gpio_use_sel3?gpio use select 3 register ....................................... 566 13.10.15 gp_io_sel3?gpio input/output select 3 register ................................ 567 13.10.16 gp_lvl3?gpio level for input or output 3 register .............................. 568 13.10.17 gp_rst_sel1?gpio reset select register ........................................... 569 13.10.18 gp_rst_sel2?gpio reset select register ........................................... 569
datasheet 15 13.10.19 gp_rst_sel3?gpio reset select register .......................................... 570 14 sata controller registers (d31:f2) ....................................................................... 571 14.1 pci configuration registers (sata?d31:f2)........................................................ 571 14.1.1 vid?vendor identification register (sata?d31:f2) ............................. 573 14.1.2 did?device identification register (sata?d31:f2) .............................. 573 14.1.3 pcicmd?pci command register (sata?d31:f2).................................. 573 14.1.4 pcists?pci status register (sata?d31:f2)........................................ 574 14.1.5 rid?revision identification register (sata?d31:f2)............................ 575 14.1.6 pi?programming interface register (sata?d31:f2).............................. 575 14.1.6.1 when sub class code register (d31:f2:offset 0ah) = 01h ....... 575 14.1.6.2 when sub class code register (d31:f2:offset 0ah) = 04h ....... 576 14.1.6.3 when sub class code register (d31:f2:offset 0ah) = 06h ....... 576 14.1.7 scc?sub class code register (sata?d31:f2) ..................................... 576 14.1.8 bcc?base class code register (sata?d31:f2sata?d31:f2) ............................................................. 577 14.1.9 pmlt?primary master latency timer register (sata?d31:f2) ................................................................................ 577 14.1.10 htype?header type register (sata?d31:f2) ................................................................................ 577 14.1.11 pcmd_bar?primary command block base address register (sata?d31:f2) .................................................................... 577 14.1.12 pcnl_bar?primary control block base address register (sata?d31:f2) .................................................................... 578 14.1.13 scmd_bar?secondary command block base address register (ide d31:f2) ....................................................................... 578 14.1.14 scnl_bar?secondary control block base address register (ide d31:f2) ....................................................................... 578 14.1.15 bar?legacy bus master base address register (sata?d31:f2) ................................................................................ 579 14.1.16 abar/sidpba1?ahci base address register/serial ata index data pair base address (sata?d31:f2) ...................................... 579 14.1.16.1 when scc is not 01h ........................................................... 579 14.1.16.2 when scc is 01h ................................................................ 580 14.1.17 svid?subsystem vendor identification register (sata?d31:f2) ................................................................................ 580 14.1.18 sid?subsystem identification register (sata?d31:f2) ......................... 580 14.1.19 cap?capabilities pointer register (sata? d31:f2)......... .............. .......... 580 14.1.20 int_ln?interrupt line register (sata? d31:f2) ................................... 581 14.1.21 int_pn?interrupt pin register (sata?d 31:f2)..................................... 581 14.1.22 ide_tim?ide timing register (sata?d31:f2) ..................................... 581 14.1.23 sidetim?slave ide timing register (sata?d31:f2)............................. 582 14.1.24 sdma_cnt?synchronous dma control register (sata?d31:f2) ................................................................................ 582 14.1.25 sdma_tim?synchronous dma timing register (sata?d31:f2) ................................................................................ 582 14.1.26 ide_config?ide i/o configuration register (sata?d31:f2) ................................................................................ 583 14.1.27 pid?pci power management capability identification register (sata?d31:f2) .................................................................... 583 14.1.28 pc?pci power management capabilities register (sata?d31:f2) ................................................................................ 584 14.1.29 pmcs?pci power management control and status register (sata?d31:f2) .................................................................... 585 14.1.30 msici?message signaled interrupt capability identification register (sata?d31:f2) ................................................. 586 14.1.31 msimc?message signaled interrupt message control register (sata?d31:f2) ......................................................... 586 14.1.32 msima?message signaled interrupt message address register (sata?d31:f2) ........................................................ 588 14.1.33 msimd?message signaled interrupt message data register (sata?d31:f2)............................................................. 588 14.1.34 map?address map register (sata?d31:f2) ......................................... 589 14.1.35 pcs?port control and status register (sata?d31:f2)........................... 590 14.1.36 sclkcg?sata clock gating control register ....................................... 592 14.1.37 sclkgc?sata clock general configuration register ............................. 593 14.1.38 siri?sata indexed registers index register ....................................... 594
16 datasheet 14.1.39 flrcid?flr capability id register (sata?d31:f2) ............................... 594 14.1.40 flrclv?flr capability length and version register (sata?d31:f2).................................................................... 595 14.1.41 flrc?flr control register (sata?d31:f2) .......................................... 595 14.1.42 atc?apm trapping control register (sata?d31:f2).............................. 596 14.1.43 ats?apm trapping status register (sata?d31:f2)............................... 596 14.1.44 sp scratch pad register (sata?d31:f2) ............................................... 596 14.1.45 bfcs?bist fis control/status register (sata?d31:f2) ........................ 597 14.1.46 bftd1?bist fis transmit data1 register (sata?d31:f2) ..................... 599 14.1.47 bftd2?bist fis transmit data2 register (sata?d31:f2) ..................... 599 14.2 bus master ide i/o registers (d31:f2)............................................................... 600 14.2.1 bmic[p,s]?bus master ide command register (d31:f2) ....................... 601 14.2.2 bmis[p,s]?bus master ide status register (d31:f2)............................. 602 14.2.3 bmid[p,s]?bus master ide descriptor table pointer register (d31:f2).............................................................................. 603 14.2.4 air?ahci index register (d31:f2) ..................................................... 603 14.2.5 aidr?ahci index data register (d31:f2)............................................ 603 14.3 serial ata index/data pair superset registers. .................................................... 604 14.3.1 sindx?serial ata index register (d31:f2) .......................................... 604 14.3.2 sdata?serial ata data register (d31:f2) ........................................... 605 14.3.2.1 pxssts?serial ata status register (d31:f2) ......................... 605 14.3.2.2 pxsctl?serial ata control register (d31:f2) ........................ 606 14.3.2.3 pxserr?serial ata error register (d31:f2) ........................... 607 14.4 ahci registers (d31:f2) .................................................................................. 608 14.4.1 ahci generic host control registers (d31:f2)....................................... 609 14.4.1.1 cap?host capabilities register (d 31:f2) .............. ........... ...... 609 14.4.1.2 ghc?global pch control register (d31:f2)............................ 611 14.4.1.3 is?interrupt status register (d31:f2)................................... 612 14.4.1.4 pi?ports implemented register (d31:f2)............................... 613 14.4.1.5 vs?ahci version register (d31:f2) ...................................... 614 14.4.1.6 ccc_ctl?command completion coalescing control register (d31:f2)................................................................ 614 14.4.1.7 ccc_ports?command completion coalescing ports register (d31:f2)................................................................ 615 14.4.1.8 em_loc?enclosure management location register (d31:f2) .... 615 14.4.1.9 em_ctrl?enclosure management control register (d31:f2) .... 616 14.4.1.10 vs?ahci version register (d31:f2) ...................................... 617 14.4.1.11 vsp?vendor specific register (d31:f2) ................................. 617 14.4.1.12 rstf?intel ? rst feature capabilities regi ster ............. .......... 617 14.4.2 port registers (d31:f2)...................................................................... 619 14.4.2.1 pxclb?port [5:0] command list base address register (d31:f2) ............................................................................ 623 14.4.2.2 pxclbu?port [5:0] command list base address upper 32-bits register (d31:f2) ..................................................... 623 14.4.2.3 pxfb?port [5:0] fis base address register (d31:f2) .............. 624 14.4.2.4 pxfbu?port [5:0] fis base address upper 32-bits register (d31:f2)................................................................ 624 14.4.2.5 pxis?port [5:0] interrupt status register (d31:f2)................. 625 14.4.2.6 pxie?port [5:0] interrupt enable register (d31:f2) ................ 626 14.4.2.7 pxcmd?port [5:0] command register (d31:f2)...................... 628 14.4.2.8 pxtfd?port [5:0] task file data register (d31:f2) ................. 631 14.4.2.9 pxsig?port [5:0] signature register (d31:f2) ....................... 631 14.4.2.10 pxssts?port [5:0] serial ata status register (d31:f2) .......... 632 14.4.2.11 pxsctl?port [5:0] serial ata control register (d31:f2).......... 633 14.4.2.12 pxserr?port [5:0] serial ata error register (d31:f2) ............ 634 14.4.2.13 pxsact?port [5:0] serial ata active register (d31:f2) ........... 635 14.4.2.14 pxci?port [5:0] command issue register (d31:f2) ................ 636 15 sata controller registers (d31:f5) ....................................................................... 637 15.1 pci configuration registers (sata?d31:f5) ........................................................ 637 15.1.1 vid?vendor identification register (s ata?d31:f5) .............................. 638 15.1.2 did?device identification register (sata?d31:f5) .............................. 638 15.1.3 pcicmd?pci command register (sata?d31:f5) .................................. 639 15.1.4 pcists?pci status register (sata?d31:f5) ........................................ 640 15.1.5 rid?revision identification register (sata?d31:f5) ............................ 640 15.1.6 pi?programming interface register (sata?d31:f5) .............................. 641 15.1.7 scc?sub class code register (sata?d31:f5) ...................................... 641
datasheet 17 15.1.8 bcc?base class code register (sata?d31:f5sata?d31:f5) ............................................................. 641 15.1.9 pmlt?primary master latency timer register (sata?d31:f5) ................................................................................ 642 15.1.10 pcmd_bar?primary command block base address register (sata?d31:f5) .................................................................... 642 15.1.11 pcnl_bar?primary control block base address register (sata?d31:f5) ................................................................................ 642 15.1.12 scmd_bar?secondary command block base address register (ide d31:f5) ....................................................................... 643 15.1.13 scnl_bar?secondary control block base address register (ide d31:f5) ....................................................................... 643 15.1.14 bar?legacy bus master base address register (sata?d31:f5) ................................................................................ 644 15.1.15 sidpba?sata index/data pair base address register (sata?d31:f5) ................................................................................ 644 15.1.16 svid?subsystem vendor identification register (sata?d31:f5) ................................................................................ 645 15.1.17 sid?subsystem identification register (sata?d31:f5) ......................... 645 15.1.18 cap?capabilities pointer register (sata? d31:f5)......... .............. .......... 645 15.1.19 int_ln?interrupt line register (sata? d31:f5) ................................... 645 15.1.20 int_pn?interrupt pin register (sata?d 31:f5)..................................... 645 15.1.21 ide_tim?ide timing register (sata?d31:f5) ..................................... 646 15.1.22 sdma_cnt?synchronous dma control register (sata?d31:f5) ................................................................................ 646 15.1.23 sdma_tim?synchronous dma timing register (sata?d31:f5) ................................................................................ 647 15.1.24 ide_config?ide i/o configuration register (sata?d31:f5) ................................................................................ 647 15.1.25 pid?pci power management capability identification register (sata?d31:f5) .................................................................... 648 15.1.26 pc?pci power management capabilities register (sata?d31:f5) ................................................................................ 648 15.1.27 pmcs?pci power management control and status register (sata?d31:f5) .................................................................... 649 15.1.28 map?address map register (sata?d31:f5) ......................................... 650 15.1.29 pcs?port control and status register (sata?d31:f5)........................... 651 15.1.30 satacr0?sata capability register 0 (sata?d31:f5) ... .............. .......... 652 15.1.31 satacr1?sata capability register 1 (sata?d31:f5) ... .............. .......... 652 15.1.32 flrcid?flr capability id register (s ata?d31:f5) ........... ......... .......... 652 15.1.33 flrclv?flr capab ility length and value register (sata?d31:f5) .................................................................... 653 15.1.34 flrctrl?flr control register (sata?d31:f5) .................................... 653 15.1.35 atc?apm trapping control register (sata?d31:f5) ............................. 654 15.1.36 atc?apm trapping control register (sata?d31:f5) ............................. 654 15.2 bus master ide i/o registers (d31:f5) .............................................................. 655 15.2.1 bmic[p,s]?bus master ide command register (d31:f5) ....................... 656 15.2.2 bmis[p,s]?bus master ide status register (d31:f5) ............................ 657 15.2.3 bmid[p,s]?bus master ide descriptor table pointer register (d31:f5) ............................................................................. 657 15.3 serial ata index/data pair superset registers ... ................................................. 658 15.3.1 sindx?sata index register (d31:f5) ................................................ 658 15.3.2 sdata?sata index data register (d31:f5) ........................................ 658 15.3.2.1 pxssts?serial ata status register (d31:f5)......................... 659 15.3.2.2 pxsctl?serial ata control register (d31:f5) ........................ 660 15.3.2.3 pxserr?serial ata error register (d31:f5)........................... 661 16 ehci controller regist ers (d29:f0, d26:f0) .......................................................... 663 16.1 usb ehci configuration registers (usb ehci?d29:f0, d26:f0) ........................................................................... 663 16.1.1 vid?vendor identification register (usb ehci?d29:f0, d26:f0) ............................................................. 664 16.1.2 did?device identification register (usb ehci?d29:f0, d26:f0) ............................................................. 665 16.1.3 pcicmd?pci command register (usb ehci?d29:f0, d26:f0) ............................................................. 665
18 datasheet 16.1.4 pcists?pci status register (usb ehci?d29:f0, d26:f0).............................................................. 666 16.1.5 rid?revision identification register (usb ehci?d29:f0, d26:f0).............................................................. 667 16.1.6 pi?programming interface register (usb ehci?d29:f0, d26:f0).............................................................. 667 16.1.7 scc?sub class code register (usb ehci?d29:f0, d26:f0).............................................................. 667 16.1.8 bcc?base class code register (usb ehci?d29:f0, d26:f0).............................................................. 668 16.1.9 pmlt?primary master latency timer register (usb ehci?d29:f0, d26:f0).............................................................. 668 16.1.10 headtyp?header type register (usb ehci?d29:f0, d26:f0).............................................................. 668 16.1.11 mem_base?memory base address register (usb ehci?d29:f0, d26:f0).............................................................. 669 16.1.12 svid?usb ehci subsystem vendor id register (usb ehci?d29:f0, d26:f0).............................................................. 669 16.1.13 sid?usb ehci subsystem id register (usb ehci?d29:f0, d26:f0).............................................................. 669 16.1.14 cap_ptr?capabilities pointer register (usb ehci?d29:f0, d26:f0).............................................................. 670 16.1.15 int_ln?interrupt line register (usb ehci?d29:f0, d26:f0).............................................................. 670 16.1.16 int_pn?interrupt pin register (usb ehci?d29:f0, d26:f0).............................................................. 670 16.1.17 pwr_capid?pci power management capability id register (usb ehci?d29:f0, d26:f0) ................................................. 670 16.1.18 nxt_ptr1?next item pointer #1 register (usb ehci?d29:f0, d26:f0).............................................................. 671 16.1.19 pwr_cap?power management capabilities register (usb ehci?d29:f0, d26:f0).............................................................. 671 16.1.20 pwr_cntl_sts?power management control/ status register (usb ehci?d29:f0, d26:f0) ....................................... 672 16.1.21 debug_capid?debug port capability id register (usb ehci?d29:f0, d26:f0).............................................................. 673 16.1.22 nxt_ptr2?next item pointer #2 register (usb ehci?d29:f0, d26:f0).............................................................. 673 16.1.23 debug_base?debug port base offset register (usb ehci?d29:f0, d26:f0).............................................................. 673 16.1.24 usb_relnum?usb release number register (usb ehci?d29:f0, d26:f0).............................................................. 673 16.1.25 fl_adj?frame length adjustment register (usb ehci?d29:f0, d26:f0).............................................................. 674 16.1.26 pwake_cap?port wake capability register (usb ehci?d29:f0, d26:f0).............................................................. 675 16.1.27 leg_ext_cap?usb ehci legacy support extended capability register (usb ehci?d29:f0, d26:f0)................................... 676 16.1.28 leg_ext_cs?usb ehci legacy support extended control / status register (usb ehci?d29:f0, d26:f0) .......................... 677 16.1.29 special_smi?intel specific usb 2.0 smi register (usb ehci?d29:f0, d26:f0).............................................................. 679 16.1.30 access_cntl?access control register (usb ehci?d29:f0, d26:f0).............................................................. 680 16.1.31 ehciir1?ehci initialization register 1 (usb ehci?d29:f0, d26:f0).............................................................. 681 16.1.32 ehciir2?ehci initialization regist er 2 (usb ehci?d29:f0, d26:f0) ...... 681 16.1.33 flr_cid?function level reset capability id register (usb ehci?d29:f0, d26:f0) ................................................ 682 16.1.34 flr_next?function level reset next capability pointer register (usb ehci?d29:f0, d26:f0) ................................................ 682 16.1.35 flr_clv?function level reset capability length and version register (usb ehci?d29:f0, d26:f0) ...................................... 683 16.1.36 flr_ctrl?function level reset control register (usb ehci?d29:f0, d26:f0).............................................................. 683 16.1.37 flr_sts?function level reset status register (usb ehci?d29:f0, d26:f0).............................................................. 684
datasheet 19 16.1.38 ehciir3?ehci initialization regist er 3 (usb ehci?d29:f0, d26:f0) ...... 684 16.1.39 ehciir4?ehci initialization regist er 4 (usb ehci?d29:f0, d26:f0) ...... 684 16.2 memory-mapped i/o registers .......................................................................... 685 16.2.1 host controller capability registers ......... .......... ........... ........... ............ 685 16.2.1.1 caplength?cap ability registers length regi ster........... ........ 686 16.2.1.2 hciversion?host controller interface version number register ............................................................................. 686 16.2.1.3 hcsparams?host controller stru ctural parameters register.... 686 16.2.1.4 hccparams?host controller capability parameters register ............................................................................. 687 16.2.2 host controller operational registers ................................................... 688 16.2.2.1 usb2.0_cmd?usb 2.0 command register............................. 689 16.2.2.2 usb2.0_sts?usb 2.0 status register................................... 692 16.2.2.3 usb2.0_intr?usb 2.0 interrupt enable register ................... 694 16.2.2.4 frindex?frame index register ........................................... 695 16.2.2.5 ctrldssegment?control data structure segment register ............................................................................. 695 16.2.2.6 periodiclistbase?periodic frame list base address register ............................................................................. 696 16.2.2.7 asynclistaddr?current asynchronous list address register ............................................................................. 696 16.2.2.8 configflag?configure flag register ................................... 697 16.2.2.9 portsc?port n status and control register .......................... 697 16.2.3 usb 2.0-based debug port registers ................................................... 701 16.2.3.1 cntl_sts?control/status register....................................... 702 16.2.3.2 usbpid?usb pids register ................................................. 704 16.2.3.3 databuf[7:0]?data buffer bytes[7:0] register ..................... 704 16.2.3.4 config?configuration register............................................ 704 17 intel ? high definition audio cont roller registers (d27:f0) ................................... 705 17.1 intel ? high definition audio pci configuration space (intel ? high definition audio?d27:f0) ..................................................... 705 17.1.1 vid?vendor identification register (intel ? high definition audio controller?d27:f0).................................. 707 17.1.2 did?device identification register (intel ? high definition audio controller?d27:f0).................................. 707 17.1.3 pcicmd?pci command register (intel ? high definition audio controller?d27:f0).................................. 708 17.1.4 pcists?pci status register (intel ? high definition audio controller?d27:f0).................................. 709 17.1.5 rid?revision identification register (intel ? high definition audio controller?d27:f0).................................. 710 17.1.6 pi?programming interface register (intel ? high definition audio controller?d27:f0).................................. 710 17.1.7 scc?sub class code register (intel ? high definition audio controller?d27:f0).................................. 710 17.1.8 bcc?base class code register (intel ? high definition audio controller?d27:f0).................................. 710 17.1.9 cls?cache line size register (intel ? high definition audio controller?d27:f0).................................. 710 17.1.10 lt?latency timer register (intel ? high definition audio controller?d27:f0).................................. 711 17.1.11 headtyp?header type register (intel ? high definition audio controller?d27:f0).................................. 711 17.1.12 hdbarl?intel ? high definition audio lower base address register (intel ? high definition audio?d27:f0) .................................... 711 17.1.13 hdbaru?intel ? high definition audio upper base address register (intel ? high definition audio controller?d27:f0).................................. 711 17.1.14 svid?subsystem vendor identification register (intel ? high definition audio controller?d27:f0).................................. 712 17.1.15 sid?subsystem identification register (intel ? high definition audio controller?d27:f0).................................. 712 17.1.16 capptr?capabilities pointer register (intel ? high definition audio controller?d27:f0).................................. 712 17.1.17 intln?interrupt line register (intel ? high definition audio controller?d27:f0).................................. 713
20 datasheet 17.1.18 intpn?interrupt pin register (intel ? high definition audio controller?d27:f0) .................................. 713 17.1.19 hdctl?intel ? high definition audio control register (intel ? high definition audio controller?d27:f0) .................................. 713 17.1.20 hdinit1?intel ? high definition audio initialization register 1 (intel ? high definition audio controller?d27:f0) .................................................................. 713 17.1.21 tcsel?traffic class select register (intel ? high definition audio controller?d27:f0) .................................. 714 17.1.22 dckctl?docking control register (mobile only) (intel ? high definition audio controller?d27:f0) .................................. 714 17.1.23 dcksts?docking status register (mobile only) (intel ? high definition audio controller?d27:f0) .................................. 715 17.1.24 pid?pci power management capability id register (intel ? high definition audio controller?d27:f0) .................................. 715 17.1.25 pc?power management capabilities register (intel ? high definition audio controller?d27:f0) .................................. 716 17.1.26 pcs?power management control and status register (intel ? high definition audio controller?d27:f0) .................................. 716 17.1.27 mid?msi capab ility id register (intel ? high definition audio controller?d27:f0) .................................. 717 17.1.28 mmc?msi message control register (intel ? high definition audio controller?d27:f0) .................................. 717 17.1.29 mmla?msi message lower address register (intel ? high definition audio controller?d27:f0) .................................. 718 17.1.30 mmua?msi message upper address register (intel ? high definition audio controller?d27:f0) .................................. 718 17.1.31 mmd?msi message data register (intel ? high definition audio controller?d27:f0) .................................. 718 17.1.32 pxid?pci express* capability id register (intel ? high definition audio controller?d27:f0) .................................. 718 17.1.33 pxc?pci express* capabilities register (intel ? high definition audio controller?d27:f0) .................................. 719 17.1.34 devcap?device capabilities register (intel ? high definition audio controller?d27:f0) .................................. 719 17.1.35 devc?device control register (intel ? high definition audio controller?d27:f0) .................................. 720 17.1.36 devs?device status register (intel ? high definition audio controller?d27:f0) .................................. 721 17.1.37 vccap?virtual channel enhanced capability header (intel ? high definition audio controller?d27:f0) .................................. 721 17.1.38 pvccap1?port vc capability register 1 (intel ? high definition audio controller?d27:f0) .................................. 722 17.1.39 pvccap2?port vc capability register 2 (intel ? high definition audio controller?d27:f0) .................................. 722 17.1.40 pvcctl?port vc control register (intel ? high definition audio controller?d27:f0) .................................. 722 17.1.41 pvcsts?port vc status register (intel ? high definition audio controller?d27:f0) .................................. 723 17.1.42 vc0cap?vc0 resource capability register (intel ? high definition audio controller?d27:f0) .................................. 723 17.1.43 vc0ctl?vc0 resource control register (intel ? high definition audio controller?d27:f0) .................................. 724 17.1.44 vc0sts?vc0 resource status register (intel ? high definition audio controller?d27:f0) .................................. 724 17.1.45 vcicap?vci resour ce capability register (intel ? high definition audio controller?d27:f0) .................................. 725 17.1.46 vcictl?vci resource control register (intel ? high definition audio controller?d27:f0) .................................. 725 17.1.47 vcists?vci resource status register (intel ? high definition audio controller?d27:f0) .................................. 726 17.1.48 rccap?root complex link declaration enhanced capability header register (intel ? high definition audio controller?d27:f0) .................................. 726 17.1.49 esd?element self description register (intel ? high definition audio controller?d27:f0) .................................. 726
datasheet 21 17.1.50 l1desc?link 1 description register (intel ? high definition audio controller?d27:f0).................................. 727 17.1.51 l1addl?link 1 lower address register (intel ? high definition audio controller?d27:f0).................................. 727 17.1.52 l1addu?link 1 upper address register (intel ? high definition audio controller?d27:f0).................................. 727 17.2 intel ? high definition audio memory mapped configuration registers (intel ? high definition audio?d27:f0) .............................................................. 728 17.2.1 gcap?global capabilities register (intel ? high definition audio controller?d27:f0).................................. 732 17.2.2 vmin?minor version register (intel ? high definition audio controller?d27:f0).................................. 732 17.2.3 vmaj?major version register (intel ? high definition audio controller?d27:f0).................................. 732 17.2.4 outpay?output payload capability register (intel ? high definition audio controller?d27:f0).................................. 733 17.2.5 inpay?input payload capability register (intel ? high definition audio controller?d27:f0).................................. 733 17.2.6 gctl?global control register (intel ? high definition audio controller?d27:f0).................................. 734 17.2.7 wakeen?wake enable register (intel ? high definition audio controller?d27:f0).................................. 735 17.2.8 statests?state change status register (intel ? high definition audio controller?d27:f0).................................. 735 17.2.9 gsts?global status register (intel ? high definition audio controller?d27:f0).................................. 736 17.2.10 outstrmpay?output stream payload capability register (intel ? high definition audio controller?d27:f0) ..................... 736 17.2.11 instrmpay?input st ream payload capability register (intel ? high definition audio controller?d27:f0) ..................... 737 17.2.12 intctl?interrupt control register (intel ? high definition audio controller?d27:f0).................................. 737 17.2.13 intsts?interrupt status register (intel ? high definition audio controller?d27:f0).................................. 738 17.2.14 walclk?wall clock counter register (intel ? high definition audio controller?d27:f0).................................. 739 17.2.15 ssync?stream synchronization register (intel ? high definition audio controller?d27:f0).................................. 739 17.2.16 corblbase?corb lower base address register (intel ? high definition audio controller?d27:f0).................................. 740 17.2.17 corbubase?corb upper base address register (intel ? high definition audio controller?d27:f0).................................. 740 17.2.18 corbwp?corb write pointer register (intel ? high definition audio controller?d27:f0).................................. 740 17.2.19 corbrp?corb read pointer register (intel ? high definition audio controller?d27:f0).................................. 741 17.2.20 corbctl?corb control register (intel ? high definition audio controller?d27:f0).................................. 741 17.2.21 corbst?corb status register (intel ? high definition audio controller?d27:f0).................................. 742 17.2.22 corbsize?corb size register intel ? high definition audio controller?d27:f0) ................................... 742 17.2.23 rirblbase?rirb lower base address register (intel ? high definition audio controller?d27:f0).................................. 742 17.2.24 rirbubase?rirb uppe r base address register (intel ? high definition audio controller?d27:f0).................................. 743 17.2.25 rirbwp?rirb write pointer register (intel ? high definition audio controller?d27:f0).................................. 743 17.2.26 rintcnt?response interrupt count register (intel ? high definition audio controller?d27:f0).................................. 744 17.2.27 rirbctl?rirb control register (intel ? high definition audio controller?d27:f0).................................. 744 17.2.28 rirbsts?rirb status register (intel ? high definition audio controller?d27:f0).................................. 745 17.2.29 rirbsize?rirb size register (intel ? high definition audio controller?d27:f0).................................. 745
22 datasheet 17.2.30 ic?immediate command register (intel ? high definition audio controller?d27:f0) .................................. 745 17.2.31 ir?immediate response register (intel ? high definition audio controller?d27:f0) .................................. 746 17.2.32 ics?immediate command status register (intel ? high definition audio controller?d27:f0) .................................. 746 17.2.33 dplbase?dma position lower base address register (intel ? high definition audio controller?d27:f0) .................................. 747 17.2.34 dpubase?dma position up per base address register (intel ? high definition audio controller?d27:f0) .................................. 747 17.2.35 sdctl?stream descriptor control register (intel ? high definition audio controller?d27:f0) .................................. 748 17.2.36 sdsts?stream descriptor status register (intel ? high definition audio controller?d27:f0) .................................. 750 17.2.37 sdlpib?stream descriptor link position in buffer register (intel ? high definition audio controller?d27:f0)...................... 751 17.2.38 sdcbl?stream descriptor cyclic buffer length register (intel ? high definition audio controller?d27:f0) .................................. 751 17.2.39 sdlvi?stream descriptor last valid index register (intel ? high definition audio controller?d27:f0) .................................. 752 17.2.40 sdfifow?stream descriptor fifo watermark register (intel ? high definition audio controller?d27:f0) .................................. 752 17.2.41 sdfifos?stream descriptor fifo size register (intel ? high definition audio controller?d27:f0) .................................. 753 17.2.42 sdfmt?stream descriptor format register (intel ? high definition audio controller?d27:f0) .................................. 754 17.2.43 sdbdpl?stream descripto r buffer descriptor list pointer lower base address register (intel ? high definition audio controller?d27:f0) .................................. 755 17.2.44 sdbdpu?stream descripto r buffer descriptor list pointer upper base address register (intel ? high definition audio controller?d27:f0) .................................. 755 18 smbus controller registers (d31:f3) ..................................................................... 757 18.1 pci configuration registers (smbus?d31:f3) ..................................................... 757 18.1.1 vid?vendor identification register (smbus?d31:f3) ............................ 757 18.1.2 did?device identification register (s mbus?d31:f3) ............................ 758 18.1.3 pcicmd?pci command register (smbus?d31:f3) ............................... 758 18.1.4 pcists?pci status register (smbus?d31:f3) ..................................... 759 18.1.5 rid?revision identification register (smbus?d31:f3) .......................... 759 18.1.6 pi?programming interface register (smbus?d31:f3) ........................... 760 18.1.7 scc?sub class code register (smbus?d31:f3) ................................... 760 18.1.8 bcc?base class code register (smbus?d31:f3).................................. 760 18.1.9 smbmbar0?d31_f3_smbus memory base address 0 register (smbus?d31:f3)................................................................. 760 18.1.10 smbmbar1?d31_f3_smbus memory base address 1 register (smbus?d31:f3)................................................................. 761 18.1.11 smb_base?smbus base address register (smbus?d31:f3) .............................................................................. 761 18.1.12 svid?subsystem vendor identification register (smbus?d31:f2/f4) ......................................................................... 761 18.1.13 sid?subsystem identification register (smbus?d31:f2/f4) ......................................................................... 762 18.1.14 int_ln?interrupt line register (smb us?d31:f3)................................. 762 18.1.15 int_pn?interrupt pin register (smbus ?d31:f3) .................................. 762 18.1.16 hostc?host configuration register (smbus?d31:f3)........................... 763 18.2 smbus i/o and memory mapped i/o registers ..................................................... 764 18.2.1 hst_sts?host status register (smbus?d31:f3) ................................. 765 18.2.2 hst_cnt?host control register (smbus?d31:f3)................................ 766 18.2.3 hst_cmd?host command register (smbus?d31:f3) ........................... 768 18.2.4 xmit_slva?transmit slave address register (smbus?d31:f3) .............................................................................. 768 18.2.5 hst_d0?host data 0 register (smbus?d31:f3) .................................. 768 18.2.6 hst_d1?host data 1 register (smbus?d31:f3) .................................. 768 18.2.7 host_block_db?host block data byte register (smbus?d31:f3) .............................................................................. 769
datasheet 23 18.2.8 pec?packet error check (pec) register (smbus?d31:f3).............................................................................. 769 18.2.9 rcv_slva?receive slave address register (smbus?d31:f3).............................................................................. 770 18.2.10 slv_data?receive slave data register (smbus?d31:f3) .................... 770 18.2.11 aux_sts?auxiliary status register (smbus?d31:f3) ........................... 770 18.2.12 aux_ctl?auxiliary control register (smbus?d31:f3) . .......... ........... .... 771 18.2.13 smlink_pin_ctl?smlink pin control register (smbus?d31:f3).............................................................................. 771 18.2.14 smbus_pin_ctl?smbus pin control register (smbus?d31:f3).............................................................................. 772 18.2.15 slv_sts?slave status register (smbus?d31:f3)................................ 772 18.2.16 slv_cmd?slave command register (smbus?d31:f3).......................... 773 18.2.17 notify_daddr?notify device address register (smbus?d31:f3).............................................................................. 773 18.2.18 notify_dlow?notify data low byte register (smbus?d31:f3).............................................................................. 774 18.2.19 notify_dhigh?notify data high byte register (smbus?d31:f3).............................................................................. 774 19 pci express* conf iguration registers .................................................................... 775 19.1 pci express* configuration registers (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)................................................... 775 19.1.1 vid?vendor identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 777 19.1.2 did?device identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 777 19.1.3 pcicmd?pci command register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 778 19.1.4 pcists?pci status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 779 19.1.5 rid?revision identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 780 19.1.6 pi?programming interface register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 780 19.1.7 scc?sub class code register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 780 19.1.8 bcc?base class code register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 780 19.1.9 cls?cache line size register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 781 19.1.10 plt?primary latency timer register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 781 19.1.11 headtyp?header type register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 781 19.1.12 bnum?bus number register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 782 19.1.13 slt?secondary latency timer (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 782 19.1.14 iobl?i/o base and limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 782 19.1.15 ssts?secondary status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 783 19.1.16 mbl?memory base and limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 784 19.1.17 pmbl?prefetchable memory base and limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 784 19.1.18 pmbu32?prefetchable memory base upper 32 bits register (pci express*?d28:f0/f1/f2/f3/f4/f5/ f6/f7/f6/f7) .................................................................................... 785 19.1.19 pmlu32?prefetchable memory limit upper 32 bits register (pci express*?d28:f0/f1/f2/f3/f4/f5/ f6/f7/f6/f7) .................................................................................... 785 19.1.20 capp?capabilities list pointer register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 785 19.1.21 intr?interrupt information register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ........................... 786
24 datasheet 19.1.22 bctrl?bridge control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) ............................ 787 19.1.23 clist?capabilities list register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 788 19.1.24 xcap?pci express* capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 788 19.1.25 dcap?device capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 789 19.1.26 dctl?device control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 790 19.1.27 dsts?device status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 791 19.1.28 lcap?link capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 791 19.1.29 lctl?link control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 793 19.1.30 lsts?link status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 794 19.1.31 slcap?slot capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 795 19.1.32 slctl?slot control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 796 19.1.33 slsts?slot status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 797 19.1.34 rctl?root control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 798 19.1.35 rsts?root status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 798 19.1.36 dcap2?device capabilities 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 799 19.1.37 dctl2?device control 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 799 19.1.38 lctl2?link control 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 800 19.1.39 mid?message signaled interrupt identifiers register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 800 19.1.40 mc?message signaled interrupt message control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 800 19.1.41 ma?message signaled interrupt message address register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)......................... 801 19.1.42 md?message signaled interrupt message data register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 801 19.1.43 svcap?subsystem vendor capability register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 801 19.1.44 svid?subsystem vendor identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 801 19.1.45 pmcap?power management capability register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 802 19.1.46 pmc?pci power management capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 802 19.1.47 pmcs?pci power management control and status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)......................... 803 19.1.48 mpc2?miscellaneous port configuration register 2 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 804 19.1.49 mpc?miscellaneous port configuration register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 805 19.1.50 smscs?smi/sci status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 807 19.1.51 rpdcgen?root port dynamic clock gating enable (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 808 19.1.52 pecr1?pci express* configuration register 1 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 808 19.1.53 ues?uncorrectable error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 809 19.1.54 uem?uncorrectable error mask (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) ..................................... 810
datasheet 25 19.1.55 uev?uncorrectable error severity (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 811 19.1.56 ces?correctable error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 812 19.1.57 cem?correctable error mask register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 812 19.1.58 aecc?advanced error capa bilities and control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 813 19.1.59 res?root error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 813 19.1.60 pecr2?pci express* configuration register 2 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 814 19.1.61 peetm?pci express* extended test mode register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 814 19.1.62 pec1?pci express* configuration register 1 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)..................................... 814 20 high precision event timer registers .................................................................... 815 20.1 memory mapped registers................................................................................ 815 20.1.1 gcap_id?general capabilit ies and identification regist er ............ .......... 817 20.1.2 gen_conf?general configuration register.......................................... 817 20.1.3 gintr_sta?general interrupt status register ..................................... 818 20.1.4 main_cnt?main counter value register ............................................. 818 20.1.5 timn_conf?timer n configuration and ca pabilities register .. .......... ...... 819 20.1.6 timn_comp?timer n comparator value register .................................. 821 21 serial peripheral interface (spi) ........................................................................... 823 21.1 serial peripheral interface memory mapped configuration registers ....................... 823 21.1.1 bfpr ?bios flash primary region register (spi memory mapped configuration registers) ...................................... 824 21.1.2 hsfs?hardware sequencing flash status register (spi memory mapped configuration registers) ...................................... 825 21.1.3 hsfc?hardware sequencing flash control register (spi memory mapped configuration registers) ...................................... 827 21.1.4 faddr?flash address register (spi memory mapped configuration registers) ...................................... 827 21.1.5 fdata0?flash data 0 register (spi memory mapped configuration registers) ...................................... 828 21.1.6 fdatan?flash data [n] register (spi memory mapped configuration registers) ...................................... 828 21.1.7 frap?flash regions access permissions register (spi memory mapped configuration registers) ...................................... 829 21.1.8 freg0?flash region 0 (f lash descriptor) register (spi memory mapped configuration registers) ...................................... 830 21.1.9 freg1?flash region 1 (bios descriptor) register (spi memory mapped configuration registers) ...................................... 830 21.1.10 freg2?flash region 2 (intel? me) register (spi memory mapped configuration registers) ...................................... 831 21.1.11 freg3?flash region 3 (gbe) register (spi memory mapped configuration registers) ...................................... 831 21.1.12 freg4?flash region 4 (platform data) register (spi memory mapped configuration registers) ...................................... 832 21.1.13 pr0?protected range 0 register (spi memory mapped configuration registers) ...................................... 832 21.1.14 pr1?protected range 1 register (spi memory mapped configuration registers) ...................................... 833 21.1.15 pr2?protected range 2 register (spi memory mapped configuration registers) ...................................... 834 21.1.16 pr3?protected range 3 register (spi memory mapped configuration registers) ...................................... 835 21.1.17 pr4?protected range 4 register (spi memory mapped configuration registers) ...................................... 836 21.1.18 ssfs?software sequencing flash status register (spi memory mapped configuration registers) ...................................... 837 21.1.19 ssfc?software sequencing flash control register (spi memory mapped configuration registers) ...................................... 838
26 datasheet 21.1.20 preop?prefix opcode configuration register (spi memory mapped configuration registers) ...................................... 839 21.1.21 optype?opcode type configuration register (spi memory mapped configuration registers) ...................................... 839 21.1.22 opmenu?opcode menu configuration register (spi memory mapped configuration registers) ...................................... 840 21.1.23 bbar?bios base address configuration register (spi memory mapped configuration registers) ...................................... 841 21.1.24 fdoc?flash descriptor observability control register (spi memory mapped configuration registers) ...................................... 841 21.1.25 fdod?flash descriptor observability data register (spi memory mapped configuration registers) ...................................... 842 21.1.26 afc?additional flash control register (spi memory mapped configuration registers) ...................................... 842 21.1.27 lvscc?host lower vendor specific component capabilities register (spi memory mapped configuration registers) ...................................... 842 21.1.28 uvscc?host upper vendor specific component capabilities register (spi memory mapped configuration registers) ...................................... 844 21.1.29 fpb?flash partition boundary register (spi memory mapped configuration registers) ...................................... 845 21.2 flash descriptor records................................................................................... 845 21.3 oem section ................................................................................................... 846 21.4 gbe spi flash program registers ....................................................................... 846 21.4.1 glfpr ?gigabit lan flash primary region register (gbe lan memory mapped configuration registers) ............................... 847 21.4.2 hsfs?hardware sequencing flash status register (gbe lan memory mapped configuration registers) ............................... 847 21.4.3 hsfc?hardware sequencing flash control register (gbe lan memory mapped configuration registers) ............................... 849 21.4.4 faddr?flash address register (gbe lan memory mapped configuration registers) ............................... 850 21.4.5 fdata0?flash data 0 register (gbe lan memory mapped configuration registers) ............................... 850 21.4.6 frap?flash regions access permissions register (gbe lan memory mapped configuration registers) ............................... 851 21.4.7 freg0?flash region 0 (flash descriptor) register (gbe lan memory mapped configuration registers) ............................... 852 21.4.8 freg1?flash region 1 (bios descriptor) register (gbe lan memory mapped configuration registers) ............................... 852 21.4.9 freg2?flash region 2 (intel? me) register (gbe lan memory mapped configuration registers) ............................... 852 21.4.10 freg3?flash region 3 (gbe) register (gbe lan memory mapped configuration registers) ............................... 853 21.4.11 pr0?protected range 0 register (gbe lan memory mapped configuration registers) ............................... 853 21.4.12 pr1?protected range 1 register (gbe lan memory mapped configuration registers) ............................... 854 21.4.13 ssfs?software sequencing flash status register (gbe lan memory mapped configuration registers) ............................... 855 21.4.14 ssfc?software sequencing flash control register (gbe lan memory mapped configuration registers) ............................... 856 21.4.15 preop?prefix opcode configuration register (gbe lan memory mapped configuration registers) ............................... 857 21.4.16 optype?opcode type configuration register (gbe lan memory mapped configuration registers) ............................... 857 21.4.17 opmenu?opcode menu configuration register (gbe lan memory mapped configuration registers) ............................... 858 22 thermal sensor registers (d31:f6) ....................................................................... 859 22.1 pci bus configuration registers......................................................................... 859 22.1.1 vid?vendor identification register...................................................... 860 22.1.2 did?device identification register ...................................................... 860 22.1.3 cmd?command register ................................................................... 860 22.1.4 sts?status register ......................................................................... 861 22.1.5 rid?revision identification register ...... .............................................. 861
datasheet 27 22.1.6 pi?programming interface register .................................................... 861 22.1.7 scc?sub class code register ............................................................ 862 22.1.8 bcc?base class code register ........................................................... 862 22.1.9 cls?cache line size register ............................................................ 862 22.1.10 lt?latency timer register ................................................................ 862 22.1.11 htype?header type register ............................................................. 862 22.1.12 tbar?thermal base register ............................................................. 863 22.1.13 tbarh?thermal base high dword register ......................................... 863 22.1.14 svid?subsystem vendor id register .................................................. 864 22.1.15 sid?subsystem id register............................................................... 864 22.1.16 cap_ptr?capabilities pointer register .... .......... ........... ........... ............ 864 22.1.17 offset 3ch ? intln?interrupt line register ......................................... 865 22.1.18 intpn?interrupt pin register ............................................................. 865 22.1.19 tbarb?bios assigned thermal base address register .......................... 865 22.1.20 tbarbh?bios assigned thermal base high dword register ........................................................................................... 866 22.1.21 pid?pci power management capability id register............ ......... .......... 866 22.1.22 pc?power management ca pabilities register.. ........... .......... ........... ...... 866 22.1.23 pcs?power management control and stat us register ........................... 867 22.2 thermal memory mapped configuration registers (thermal sensor ? d31:f26) ............................................................................ 868 22.2.1 tsiu?thermal sensor in use register................................................. 869 22.2.2 tse?thermal sensor enable register .................................................. 869 22.2.3 tss?thermal sensor status register .................................................. 870 22.2.4 tstr?thermal sensor thermometer read register............................... 870 22.2.5 tsttp?thermal sensor temperature trip point register ........................ 871 22.2.6 tsco?thermal sensor catastrophic lock-down register ....................... 871 22.2.7 tses?thermal sensor error status register ........................................ 872 22.2.8 tsgpen?thermal sensor general purpose event enable register................................................................................. 873 22.2.9 tspc?thermal sensor policy control register ...................................... 874 22.2.10 ppec?processor power error correction register (mobile only).................................................................................... 874 22.2.11 cta?processor core temperature adjust register................................. 875 22.2.12 pta?pch temperature adjust register ................................................ 875 22.2.13 mgta?memory controller/graphics temperature adjust register ................................................................................. 875 22.2.14 trc?thermal reporting control register ............................................. 876 22.2.15 tes?turbo interrupt status register (mobile only) ............................... 877 22.2.16 ten?turbo interrupt enable register (mobile only)............................... 877 22.2.17 psc?power sharing configuration register (mobile only)....................... 877 22.2.18 ctv1?core temperature value 1 register ........................................... 878 22.2.19 ctv2?core temperature value 2 register ........................................... 878 22.2.20 cev1?core energy value register ...................................................... 878 22.2.21 ae?alert enable register ................................................................... 879 22.2.22 hts?host status register (mobile only) .............................................. 879 22.2.23 ptl?processor temperature limit register (mobile only) ....................... 880 22.2.24 mgtv?memory controller/graphics temperature value register .................................................................................. 880 22.2.25 ptv?processor temperature value register ......................................... 880 22.2.26 mmgpc?max memory controller/graphics power clamp register (mobile only) ....................................................................... 880 22.2.27 mppc?max processor power clamp register (mobile only) ..................... 881 22.2.28 mpcpc?max processor core power clamp register (mobile only).................................................................................... 881 22.2.29 tspien?thermal sensor pci interrupt enable register .......................... 882 22.2.30 tslock?thermal sensor register lock control register ........................ 883 22.2.31 sts?turbo status (mobile only)......................................................... 883 22.2.32 sec?event clear register (mobile only) .............................................. 883 22.2.33 tc3?thermal compares 3 register ..................................................... 883 22.2.34 tc1?thermal compares 1 register ..................................................... 884 22.2.35 tc2?thermal compares 2 register ..................................................... 885 22.2.36 dtv?dimm temperature values register............................................. 885 22.2.37 itv?internal temperature values register........................................... 886 23 intel? management engine interfac e (mei) subsystem registers (d22:f0) .......... 887
28 datasheet 23.1 first intel ? management engine interface (intel ? mei) configuration registers (mei?d22:f0) ................................................................................................ 887 23.1.1 vid?vendor identification register (mei?d22:f0) .................................................................................. 888 23.1.2 did?device identification register (mei?d22:f0) .................................................................................. 888 23.1.3 pcicmd?pci command register (mei?d22:f0) .................................................................................. 889 23.1.4 pcists?pci status register (mei?d22:f0) .................................................................................. 889 23.1.5 rid?revision identification register (mei?d22:f0) .................................................................................. 890 23.1.6 cc?class code register (mei?d22:f0) .................................................................................. 890 23.1.7 htype?header type register (mei?d22:f0) .................................................................................. 890 23.1.8 mei0_mbar?mei0 mmio base address register (mei?d22:f0) .................................................................................. 891 23.1.9 svid?subsystem vendor id register (mei?d22:f0) .................................................................................. 891 23.1.10 sid?subsystem id register (mei?d22:f0) .................................................................................. 891 23.1.11 capp?capabilities list pointer register (mei?d22:f0) .................................................................................. 892 23.1.12 intr?interrupt information register (mei?d22:f0) .................................................................................. 892 23.1.13 hfs?host firmware status register (mei?d22:f0) .................................................................................. 892 23.1.14 me_uma?management engine uma register (mei?d22:f0) .................................................................................. 893 23.1.15 gmes?general me status register (mei?d22:f0) .................................................................................. 893 23.1.16 h_gs?host general status register (mei?d22:f0) .................................................................................. 893 23.1.17 pid?pci power management capability id register (mei?d22:f0) .................................................................................. 894 23.1.18 pc?pci power management capabilities register (mei?d22:f0) .................................................................................. 894 23.1.19 pmcs?pci power management control and status register (mei?d22:f0)...................................................................... 895 23.1.20 mid?message signaled interrupt identifiers register (mei?d22:f0) .................................................................................. 895 23.1.21 mc?message signaled interrupt message control register (mei?d22:f0) .................................................................................. 896 23.1.22 ma?message signaled interrupt message address register (mei?d22:f0)...................................................................... 896 23.1.23 mua?message signaled interrupt upper address register (mei?d22:f0) .................................................................................. 896 23.1.24 md?message signaled interrupt message data register (mei?d22:f0) .................................................................................. 896 23.1.25 hidm?mei interrupt delivery mode register (mei?d22:f0) .................................................................................. 897 23.1.26 heres?mei extend register status (mei?d22:f0) .................................................................................. 897 23.1.27 herx?mei extend register dwx (mei?d22:f0) .................................................................................. 898 23.2 second management engine inte rface(mei1) configuration registers (mei?d22:f1) ................................................................................................ 899 23.2.1 vid?vendor identification register (mei?d22:f1) .................................................................................. 900 23.2.2 did?device identification register (mei?d22:f1) .................................................................................. 900 23.2.3 pcicmd?pci command register (mei?d22:f1) .................................................................................. 900 23.2.4 pcists?pci status register (mei?d22:f1) .................................................................................. 901
datasheet 29 23.2.5 rid?revision identification register (mei?d22:f1).................................................................................. 901 23.2.6 cc?class code register (mei?d22:f1).................................................................................. 901 23.2.7 htype?header type register (mei?d22:f1).................................................................................. 902 23.2.8 mei_mbar?mei mmio base address register (mei?d22:f1).................................................................................. 902 23.2.9 svid?subsystem vendor id register (mei?d22:f1).................................................................................. 902 23.2.10 sid?subsystem id register (mei?d22:f1).................................................................................. 903 23.2.11 capp?capabilities list pointer register (mei?d22:f1).................................................................................. 903 23.2.12 intr?interrupt information register (mei?d22:f1).................................................................................. 903 23.2.13 hfs?host firmware status register (mei?d22:f1).................................................................................. 903 23.2.14 gmes?general me status register (mei?d22:f 1 ).................................................................................. 904 23.2.15 h_gs?host general status register (mei?d22:f 1 ).................................................................................. 904 23.2.16 pid?pci power management capability id register (mei?d22:f1).................................................................................. 904 23.2.17 pc?pci power management capabilities register (mei?d22:f1).................................................................................. 905 23.2.18 pmcs?pci power management control and status register (mei?d22:f1) ..................................................................... 906 23.2.19 mid?message signaled interrupt identifiers register (mei?d22:f1).................................................................................. 906 23.2.20 mc?message signaled interrupt message control register (mei?d22:f1).................................................................................. 907 23.2.21 ma?message signaled interrupt message address register (mei?d22:f1) ..................................................................... 907 23.2.22 mua?message signaled interrupt upper address register (mei?d22:f1).................................................................................. 907 23.2.23 md?message signaled interrupt message data register (mei?d22:f1).................................................................................. 907 23.2.24 hidm?mei interrupt delivery mode register (mei?d22:f1).................................................................................. 908 23.2.25 heres?mei extend register status (mei?d22:f1).................................................................................. 908 23.2.26 herx?mei extend register dwx (mei?d22:f1).................................................................................. 909 23.3 mei0_mbar?mei0 mmio registers ................................................................... 909 23.3.1 h_cb_ww?host circular buffer write window register (mei mmio register) ......................................................................... 910 23.3.2 h_csr?host control status register (mei mmio register) ......................................................................... 910 23.3.3 me_cb_rw?me circular buffer read window register (mei mmio register) ......................................................................... 911 23.3.4 me csr_ha?me control st atus host access register (mei mmio register) ......................................................................... 911 23.4 mei1_mbar?mei0 mmio registers ................................................................... 912 23.4.1 h_cb_ww?host circular buffer write window register (mei mmio register) ......................................................................... 912 23.4.2 h_csr?host control status register (mei mmio register) ......................................................................... 913 23.4.3 me_cb_rw?me circular buffer read window register (mei mmio register) ......................................................................... 914 23.4.4 me csr_ha?me control st atus host access register (mei mmio register) ......................................................................... 914 23.5 ide function for remote boot and installations pt ider registers (ider?d22:f2) .................................................................... 915 23.5.1 vid?vendor identification register (i der?d22:f2) .............................. 916 23.5.2 did?device identification register (i der?d22:f2) .............................. 916 23.5.3 pcicmd?pci command register (ider?d22:f2) ................................. 916
30 datasheet 23.5.4 pcists?pci device status register (ider?d22:f2) ............................. 917 23.5.5 rid?revision identification register (i der?d22:f2)............................. 917 23.5.6 cc?class codes register (ider?d22:f2) ............................................ 917 23.5.7 cls?cache line size register (ider?d22:f2) ..................................... 918 23.5.8 pcmdba?primary command block io bar register (ider?d22:f2) ................................................................................ 918 23.5.9 pctlba?primary control block base address register (ider?d22:f2) ................................................................................ 918 23.5.10 scmdba?secondary command block base address register (ider?d22:f2) .................................................................... 919 23.5.11 sctlba?secondary control block base address register (ider?d22:f2) .................................................................... 919 23.5.12 lbar?legacy bus master base address register (ider?d22:f2) ................................................................................ 919 23.5.13 svid?subsystem vendor id register (ider?d22:f2) ........................... 920 23.5.14 sid?subsystem id register (ider?d22:f2)........................................ 920 23.5.15 capp?capabilities list pointer register (ider?d22:f2) ................................................................................ 920 23.5.16 intr?interrupt information register (ider?d22:f2) ................................................................................ 920 23.5.17 pid?pci power management capability id register (ider?d22:f2) ................................................................................ 921 23.5.18 pc?pci power management capabilities register (ider?d22:f2) ................................................................................ 921 23.5.19 pmcs?pci power management control and status register (ider?d22:f2) .................................................................... 922 23.5.20 mid?message signaled interrupt capability id register (ider?d22:f2) .................................................................... 922 23.5.21 mc?message signaled interrupt message control register (ider?d22:f2) .................................................................... 923 23.5.22 ma?message signaled interrupt message address register (ider?d22:f2) .................................................................... 923 23.5.23 mau?message signaled interrupt message upper address register (ider?d22:f2) ........................................................ 923 23.5.24 md?message signaled interrupt message data register (ider?d22:f2) .................................................................... 924 23.6 ide bar0 ....................................................................................................... 924 23.6.1 idedata?ide data register (ider?d22:f2) ....................................... 925 23.6.2 ideerd1?ide error register dev1 (ider?d22:f2) ................................................................................ 925 23.6.3 ideerd0?ide error register dev0 (ider?d22:f2) ................................................................................ 925 23.6.4 idefr?ide features register (ider?d22:f2) ................................................................................ 926 23.6.5 idescir?ide sector count in register (ider?d22:f2) ................................................................................ 926 23.6.6 idescor1?ide sector count out register device 1 register (ider?d22:f2) .................................................................... 926 23.6.7 idescor0?ide sector count out register device 0 register (ider?d22:f2) ................................................................. 927 23.6.8 idesnor0?ide sector number out register device 0 register (ider?d22:f2) ....................................................... 927 23.6.9 idesnor1?ide sector number out register device 1 register (ider?d22:f2) ....................................................... 927 23.6.10 idesnir?ide sector number in register register (ider?d22:f2) ................................................................................ 928 23.6.11 ideclir?ide cylinder low in register register (ider?d22:f2) ................................................................................ 928 23.6.12 idclor1?ide cylinder low out register device 1 register (ider?d22:f2) .................................................................... 928 23.6.13 idclor0?ide cylinder low out register device 0 register (ider?d22:f2) .................................................................... 929 23.6.14 idchor0?ide cylinder high out register device 0 register (ider?d22:f2) .................................................................... 929 23.6.15 idchor1?ide cylinder high out register device 1 register (ider?d22:f2) .................................................................... 929
datasheet 31 23.6.16 idechir?ide cylinder high in register (ider?d22:f2) ................................................................................ 930 23.6.17 idedhir?ide drive/head in register (ider?d22:f2) ................................................................................ 930 23.6.18 iddhor1?ide drive head out register device 1 register (ider?d22:f2).................................................................... 931 23.6.19 iddhor0?ide drive head out register device 0 register (ider?d22:f2).................................................................... 931 23.6.20 idesd0r?ide status device 0 register (ider?d22:f2) ................................................................................ 932 23.6.21 idesd1r?ide status device 1 register (ider?d22:f2) ................................................................................ 933 23.6.22 idecr?ide command register (ider?d22:f2) ................................... 933 23.7 ide bar1 ....................................................................................................... 934 23.7.1 iddcr?ide device control register (ider?d22:f2)............................. 934 23.7.2 idasr?ide alternate status register (ider?d22:f2) ........................... 934 23.8 ide bar4 ....................................................................................................... 935 23.8.1 idepbmcr?ide primary bus master command register (ider?d22:f2).................................................................... 936 23.8.2 idepbmds0r?ide prim ary bus master device specific 0 register (ider?d22:f2) ..................................................... 936 23.8.3 idepbmsr?ide primary bus master status register (ider?d22:f2).................................................................... 937 23.8.4 idepbmds1r?ide prim ary bus master device specific 1 register (ider?d22:f2) ..................................................... 937 23.8.5 idepbmdtpr0?ide primary bus master descriptor table pointer byte 0 register (ider?d22:f2)....................................... 938 23.8.6 idepbmdtpr1?ide primary bus master descriptor table pointer byte 1 register (ider?d22:f2)....................................... 938 23.8.7 idepbmdtpr2?ide primary bus master descriptor table pointer byte 2 register (ider?d22:f2)....................................... 938 23.8.8 idepbmdtpr3?ide primary bus master descriptor table pointer byte 3 register (ider?d22:f2)....................................... 938 23.8.9 idesbmcr?ide secondary bus master command register (ider?d22:f2).................................................................... 939 23.8.10 idesbmds0r?ide secondary bus master device specific 0 register (ider?d22:f2) ..................................................... 939 23.8.11 idesbmsr?ide secondary bus master status register (ider?d22:f2).................................................................... 940 23.8.12 idesbmds1r?ide secondary bus master device specific 1 register (ider?d22:f2) ..................................................... 940 23.8.13 idesbmdtpr0?ide second ary bus master descriptor table pointer byte 0 register (ider?d22:f2)....................................... 940 23.8.14 idesbmdtpr1?ide second ary bus master descriptor table pointer byte 1 register (ider?d22:f2)....................................... 941 23.8.15 idesbmdtpr2?ide second ary bus master descriptor table pointer byte 2 register (ider?d22:f2)....................................... 941 23.8.16 idesbmdtpr3?ide second ary bus master descriptor table pointer byte 3 register (ider?d22:f2)....................................... 941 23.9 serial port for remote keyboard and text (kt) redirection (kt?d22:f3) ................................................................................. 942 23.9.1 vvid?vendor identification register (k t?d22:f3) ............................... 943 23.9.2 did?device identification register (kt? d22:f3).................................. 943 23.9.3 cmd?command register register (kt?d22:f3)................................... 943 23.9.4 sts?device status register (kt?d22:f3)........................................... 944 23.9.5 rid?revision id register (kt?d22:f3) .............................................. 944 23.9.6 cc?class codes register (kt?d22:f3) ............................................... 944 23.9.7 cls?cache line size register (kt?d22:f3) ........................................ 945 23.9.8 ktiba?kt io block base address register (kt?d22:f3) ................................................................................... 945 23.9.9 ktmba?kt memory block base address register (kt?d22:f3) ................................................................................... 945 23.9.10 svid?subsystem vendor id register (kt?d22:f3) .............................. 946 23.9.11 sid?subsystem id register (kt?d22:f3)........................................... 946 23.9.12 cap?capabilities pointer register (kt? d22:f3) .......... .......... ........... .... 946 23.9.13 intr?interrupt information register (k t?d22:f3)............................... 946
32 datasheet 23.9.14 pid?pci power management capability id register (kt?d22:f3).................................................................................... 947 23.9.15 pc?pci power management capabilities id register (kt?d22:f3).................................................................................... 947 23.9.16 mid?message signaled interrupt capability id register (kt?d22:f3) ....................................................................... 947 23.9.17 mc?message signaled interrupt message control register (kt?d22:f3) ....................................................................... 948 23.9.18 ma?message signaled interrupt message address register (kt?d22:f3) ....................................................................... 948 23.9.19 mau?message signaled interrupt message upper address register (kt?d22:f3) ........................................................... 948 23.9.20 md?message signaled interrupt message data register (kt?d22:f3) ....................................................................... 949 23.10 kt io/ memory mapped device registers ............................................................ 949 23.10.1 ktrxbr?kt receive buffer register (kt?d23:f3) ................................ 950 23.10.2 ktthr?kt transmit holding register (kt?d23:f3) .............................. 950 23.10.3 ktdllr?kt divisor latch lsb register (kt?d23:f3) ............................ 951 23.10.4 ktier?kt interrupt enable register (kt?d23:f3) ................................ 951 23.10.5 ktdlmr?kt divisor latch msb register (kt?d23:f3)........................... 952 23.10.6 ktiir?kt interrupt identification register (kt?d23:f3).................................................................................... 952 23.10.7 ktfcr?kt fifo control register (kt?d23:f3)..................................... 953 23.10.8 ktlcr?kt line control register (kt?d23:f3)...................................... 953 23.10.9 ktmcr?kt modem control register (kt?d23:f3) ................................ 954 23.10.10 ktlsr?kt line status register (kt?d23:f3)....................................... 955 23.10.11 ktmsr?kt modem status register (kt?d23:f3).................................. 956 figures 2-1 pch interface signals block diagram ......................................................................60 2-2 example external rtc circuit.................................................................................97 4-1 pch high-level clock diagram ........................ ..................................................... 121 5-1 generation of serr# to platform ......................................................................... 130 5-2 lpc interface diagram ........................................................................................ 140 5-3 pch dma controller............................................................................................ 144 5-4 dma request assertion through ldrq# ................................................................ 147 5-5 tco legacy/compatible mode smbus configuration ................................................ 194 5-6 advanced tco mode ........................................................................................... 196 5-7 serial post over gpio reference circuit ................................................................. 198 5-8 flow for port enable / device present bits.............................................................. 206 5-9 serial data transmitted over the sgpio interface ................................................... 210 5-10 ehci with usb 2.0 with rate matching hub ........................................................... 226 5-11 pch intel ? management engine high-level block diagram ...................................... 256 5-12 flash partition boundary .............................. ....................................................... 260 5-13 flash descriptor sections .................................................................................... 261 5-14 analog port characteristics ......................... ......................................................... 270 5-15 lvds signals and swing voltage .......................................................................... 272 5-16 lvds clock and data relationship ........................................................................ 272 5-17 panel power sequencing ..................................................................................... 273 5-18 hdmi overview.................................................................................................. 274 5-19 dp overview...................................................................................................... 275 5-20 sdvo conceptual block diagram ..................... ..................................................... 277 6-1 pch ballout (top view?left side) (desktop) ........................................................... 284 6-2 pch ballout (top view?right side) (desktop) ..... .................................................... 285 6-3 pch ballout (top view?leff side) (mobile only) ...................................................... 295 6-4 pch ballout (top view?right side) (mobile only)..................................................... 296 6-5 pch ballout (top view?left side) (mobile sff only) ................................................. 307 6-6 pch ballout (top view?right side) (mobile sff only) ............................................... 308 7-1 pch desktop package drawing............................................................................. 320 7-2 pch b-step mobile package drawing..................................................................... 322 7-3 pch mobile sff package drawing ......................................................................... 324 8-1 g3 w/rtc loss to s4/s5 timing diagram .............................................................. 363 8-2 s5 to s0 timing diagram .................................................................................... 363
datasheet 33 8-3 s3/m3 to s0 timing diagram............................................................................... 364 8-4 s5/moff - s5/m3 timing diagram ......................................................................... 364 8-5 s0 to s5 timing diagram .................................................................................... 365 8-6 drampwrgd timing diagram ............................................................................. 365 8-7 clock cycle time ............................................................................................... 366 8-8 transmitting position (data to strobe)............. ..................................................... 366 8-9 clock timing ..................................................................................................... 366 8-11 setup and hold times ........................................................................................ 367 8-12 float delay ....................................................................................................... 367 8-13 pulse width....................................................................................................... 367 8-10 valid delay from rising clock edge ...................................................................... 367 8-14 output enable delay .......................................................................................... 368 8-15 usb rise and fall times ..................................................................................... 368 8-16 usb jitter ......................................................................................................... 368 8-17 usb eop width ................................................................................................. 369 8-18 smbus/smlink transaction ................................................................................ 369 8-19 smbus/smlink timeout ..................................................................................... 369 8-20 spi timings ...................................................................................................... 370 8-21 intel ? high definition audio input and output timings ........................................... 370 8-22 dual channel interface timings ........................................................................... 371 8-23 dual channel interface timings ........................................................................... 371 8-24 lvds load and transition times .......................................................................... 371 8-25 transmitting position (data to strobe)........... ....................................................... 372 8-26 pci express transmitter eye ............................................................................... 372 8-27 pci express receiver eye.................................................................................... 373 8-28 measurement points for differential waveforms. .. .................................................. 374 8-29 pch test load ................................................................................................... 375 8-30 controller link receive timings ........................................................................... 375 8-31 controller link receive slew rate ........................................................................ 375 tables 1-1 industry specifications ......................................................................................... 44 1-2 pci devices and functions .................................................................................... 48 1-3 intel ? 5 series chipset desktop skus .................................................................... 55 1-4 intel ? 5 series chipset mobile skus....................................................................... 56 1-5 intel ? 3400 series chipset server skus ................................................................. 57 2-1 direct media interface signals ............................................................................... 61 2-2 pci express* signals............................................................................................ 61 2-3 firmware hub interface signals ............................................................................. 62 2-4 pci interface signals............................................................................................ 63 2-5 serial ata interface signals .................................................................................. 65 2-6 lpc interface signals ........................................................................................... 68 2-7 interrupt signals ................................................................................................. 68 2-8 usb interface signals........................................................................................... 69 2-9 power management interface signals ..................................................................... 71 2-10 processor interface signals ................................................................................... 74 2-11 sm bus interface signals ...................................................................................... 74 2-12 system management interface signals ................................................................... 75 2-13 real time clock interface ..................................................................................... 75 2-14 miscellaneous signals ........................................................................................... 76 2-15 intel ? high definition audio link signals................................................................. 77 2-16 controller link signals.......................................................................................... 78 2-17 serial peripheral interface (spi ) signals.................................................................. 78 2-18 intel ? quiet system technology signals ................................................................. 79 2-19 jtag signals ....................................................................................................... 80 2-20 clock interface signals ......................................................................................... 80 2-21 lvds interface signals ......................................................................................... 82 2-22 analog display interface signals ............................................................................ 83 2-23 intel ? flexible display interface signals ................................................................. 84 2-24 digital display interface signals............................................................................. 84 2-25 general purpose i/o signals.................................................................................. 87 2-26 manageability signals ..... .......... ........... .......... ........... ........... ............ ......... ............ 90 2-27 power and ground signals .................................................................................... 91 2-28 functional strap definitions..... .............................................................................. 93 3-1 integrated pull-up and pull-down resistors ......... .................................................... 99
34 datasheet 3-2 power plane and states for output and i/o signals for desktop configurations ........... 101 3-3 power plane and states for output and i/o signals for mobile configurations ............. 106 3-4 power plane for input signals for desktop configurations ........................................ 112 3-5 power plane for input signals for mobile configurations ........................................... 115 4-1 pch system clock inputs .................................................................................... 119 4-2 pch system clock outputs .................................................................................. 120 5-1 pci bridge initiator cycle types .................... ....................................................... 123 5-2 type 1 address format ....................................................................................... 126 5-3 msi versus pci irq actions ................................................................................. 128 5-4 lan mode support.............................................................................................. 135 5-5 lpc cycle types supported ................................................................................. 140 5-6 start field bit definitions......... ............................................................................ 141 5-7 cycle type bit definitions .................................................................................... 141 5-8 transfer size bit definition .................................................................................. 141 5-9 sync bit definition ............................................................................................. 142 5-10 dma transfer size .............................................................................................. 145 5-11 address shifting in 16-bit i/o dma transfers ......................................................... 146 5-12 counter operating modes .................................................................................... 151 5-13 interrupt controller core connections ................................................................... 153 5-14 interrupt status registers ................................................................................... 154 5-15 content of interrupt vector byte .......................................................................... 154 5-16 apic interrupt mapping1 ..................................................................................... 160 5-17 stop frame explanation ...................................................................................... 163 5-18 data frame format ............................................................................................ 164 5-19 configuration bits reset by rtcrst# assertion...................................................... 167 5-20 init# going active............................................................................................. 169 5-21 nmi sources...................................................................................................... 170 5-22 general power states for systems using the pch ................................................... 171 5-23 state transition rules for the pch ................. ....................................................... 172 5-24 system power plane ........................................................................................... 173 5-25 causes of smi and sci ....................................................................................... 174 5-26 sleep types....................................................................................................... 178 5-27 gpi wake events ............................................................................................... 180 5-28 transitions due to power failure .......................................................................... 181 5-29 transitions due to power button .......................................................................... 182 5-30 transitions due to ri# signal .............................................................................. 183 5-31 write only registers with read paths in alt access mode........................................ 185 5-32 pic reserved bits return values .......................................................................... 187 5-33 register write accesses in alt access mode .......................................................... 187 5-34 slp_lan# pin behavior ...................................................................................... 189 5-35 causes of host and global resets ......................................................................... 191 5-36 event transitions that cause messages ................................................................. 195 5-37 multi-activity led message type ........................................................................... 209 5-38 legacy replacement routing ............................................................................... 212 5-39 debug port behavior........................................................................................... 220 5-40 i 2 c block read................................................................................................... 230 5-41 enable for smbalert# ....................................................................................... 232 5-42 enables for smbus slave write and smbus host events ........................................... 233 5-43 enables for the host notify command ................................................................... 233 5-44 slave write registers.......................................................................................... 234 5-45 command types ................................................................................................ 235 5-46 slave read cycle format..................................................................................... 236 5-47 data values for slave read registers............. ....................................................... 236 5-48 host notify format ............................................................................................. 239 5-49 i 2 c write commands to the me ............................................................................ 243 5-50 block read command ? byte definition ................................................................. 244 5-51 processor core read data definition .............. ....................................................... 246 5-52 region size versus erase granularity of flas h components ...................................... 259 5-53 region access control table ................................................................................ 262 5-54 hardware sequencing commands and opcode requirements ................................... 265 5-55 flash protection mechanism summary .................................................................. 266 5-56 recommended pinout for 8-pin serial flash device ................................................. 267 5-57 recommended pinout for 16-pin serial flash devi ce ............................................... 268 5-58 pch supported audio formats over hdmi and displayport* ...................................... 276 5-59 pch digital display port pin mapping................ ..................................................... 278 5-60 display co-existence table .................................................................................. 279 6-1 pch ballout by signal name (desktop only)....... .................................................... 286
datasheet 35 6-2 pch ballout by signal name (mobile only)............................................................. 297 6-3 pch ballout by signal name (mobile sff only)....................................................... 309 8-1 storage conditions............................................................................................. 325 8-2 mobile thermal design power .............................................................................. 326 8-3 pch absolute maximum ratings........................................................................... 326 8-4 pch power supply range.................................................................................... 327 8-5 measured i cc (desktop only) ............................................................................. 327 8-6 measured i cc (mobile only)................................................................................ 328 8-7 measured icc (sff only) ................................................................................... 329 8-8 dc characteristic input signal association........ ..................................................... 330 8-9 dc input characteristics ..................................................................................... 332 8-10 dc characteristic output signal association ..... ..................................................... 334 8-11 dc output characteristics ............................ ....................................................... 337 8-12 other dc characteristics..................................................................................... 339 8-13 signal groups ................................................................................................... 340 8-14 crt dac signal group dc characteristics: functional operating range (vccadac = 3.3 v 5%) .................................................................................... 340 8-15 lvds interface: functional operating range (vccalvds = 3.3 v 5%) .................... 341 8-16 display port auxiliary signal group dc characte ristics ..................... ........... ............ 341 8-17 pci express* interface timings ........................................................................... 342 8-18 hdmi interface timings (ddp[d:b][3:0]).............................................................. 343 8-19 sdvo interface timings...................................................................................... 343 8-20 displayport interface timings (ddp[d:b][3:0])...................................................... 344 8-21 displayport aux interface ................................................................................... 345 8-22 ddc characteristics ddc signals: crt_ddc_clk, crt_ddc_data, l_ddc_clk, l_ddc_data, sdvo_ctrlclk, sdvo_ctrldata, ddp[d:c]_ctrlclk, ddp[d:c]_ctrldata ....................................................................................................... 345 8-23 lvds interface ac characteristics at various fr equencies ........................................ 346 8-24 crt dac ac characteristics ................................................................................ 348 8-25 clock timings.................................................................................................... 348 8-26 pci interface timing .......................................................................................... 352 8-27 universal serial bus timing ................................................................................. 353 8-28 sata interface timings ...................................................................................... 354 8-29 smbus timing ................................................................................................... 354 8-30 intel ? high definition audio timing ...................................................................... 355 8-31 lpc timing ....................................................................................................... 355 8-32 miscellaneous timings ........................................................................................ 356 8-33 spi timings (20 mhz)......................................................................................... 356 8-34 spi timings (33 mhz)......................................................................................... 357 8-35 spi timings (50 mhz)......................................................................................... 357 8-36 sst timings...................................................................................................... 358 8-37 peci timings..................................................................................................... 359 8-38 controller link receive timings ........................................................................... 359 8-39 power sequencing and reset signal timings.......................................................... 360 9-1 pci devices and functions .................................................................................. 378 9-2 fixed i/o ranges decoded by intel ? pch.............................................................. 379 9-3 variable i/o decode ranges ................................................................................ 382 9-4 memory decode ranges from processor perspectiv e ............................................... 383 10-1 chipset configuration register memory map (m emory space) .................................. 387 11-1 pci bridge register address map (pci-pci?d30:f0) .............................................. 435 12-1 gigabit lan configuration registers address map (gigabit lan?d25:f0) ....................................................................................... 453 13-1 lpc interface pci register address map (lpc i/f?d31:f0) ..................................... 467 13-2 dma registers................................................................................................... 492 13-3 pic registers .................................................................................................... 503 13-4 apic direct registers ......................................................................................... 511 13-5 apic indirect registers....................................................................................... 511 13-6 rtc i/o registers .............................................................................................. 516 13-7 rtc (standard) ram bank .................................................................................. 517 13-8 processor interface pci register address map ....................................................... 521 13-9 power management pci register address map (pm?d31:f0)................................... 524 13-10 apm register map .............................................................................................. 531 13-11 acpi and legacy i/o register map ....................................................................... 532 13-12 tco i/o register address map............................................................................. 551 13-13 registers to control gpio address map................................................................. 558 14-1 sata controller pci register address map (sata?d31:f2)...................................... 571 14-2 bus master ide i/o register address map ............................................................. 600
36 datasheet 14-3 ahci register address map ................................................................................. 608 14-4 generic host controller register address map ..... ................................................... 609 14-5 port [5:0] dma register address map ................................................................... 619 15-1 sata controller pci register address map (sata?d31:f5) ...................................... 637 15-2 bus master ide i/o register address map ............................................................. 655 16-1 usb ehci pci register address map (usb ehci ?d29:f0, d26:f0) ........................... 663 16-2 enhanced host controller capability registers........................................................ 685 16-3 enhanced host controller operational register address map .................................... 688 16-4 debug port register address map ......................................................................... 701 17-1 intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) ................................................................... 705 17-2 intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) ................................................................... 728 18-1 smbus controller pci register address map (smbus?d31:f3) ................................. 757 18-2 smbus i/o and memory mapped i/o register address map ...................................... 764 19-1 pci express* configuration registers address map (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/) .................................................... 775 20-1 memory-mapped registers .................................................................................. 815 21-1 serial peripheral interface (spi) register address map (spi memory mapped configuration registers) ....................................................... 823 21-2 gigabit lan spi flash program register address map (gbe lan memory mapped configuration registers)................................................ 846 22-1 thermal sensor register address map................................................................... 859 22-2 thermal memory mapped configuration register address map.................................. 868 23-1 intel ? mei configuration registers address map (mei?d22:f0)................................................................................................... 887 23-1 mei1 configuration registers address map (mei?d22:f1)................................................................................................... 899 23-2 mei mmio register address map (ve?d23:f0) ...................................................... 909 23-3 mei mmio register address map (ve?d23:f0) ...................................................... 912 23-4 ide function for remote boot and installations pt ider register address map............ 915 23-5 ide bar0 register address map ........................................................................... 924 23-6 ide bar4 register address map ........................................................................... 935 23-7 serial port for remote keyboard and text (kt) redirection register address map...................................................................................................... 942 23-8 kt io/ memory mapped device register address map ............................................. 949
datasheet 37 revision history revision number description revision date 001 ? initial release. september 2009 002 ? sata port multiplier removal ? 1.5v on-die pll voltage regulator support removal ? update on note 9 for table 2-25, ?general purpose i/o signal? ? updated gpio15 and gpio27 in table 2-28, ?functional strap definition? ? added measure icc for sff table ? updated measured icc for desktop and mobile tables ? updated table 2-20 clkoutflex0 type ? updated pcie port configurations ? updated pme_b0_s5_dis bit discription ? updated section 5.14.2.2 advanced tco mode ? updated table 9-9 other dc characteristics ? updated gcap_id default value ? updated t240 and t218 power sequencing and reset signal timings ? added xtal25 dc and ac characteristics ? added cev1 core energy valu e 1 register to section 22.2 ? updated section 14.4.1.11 vsp - vendor specific default value ? updated desktop skus definitions ? added bclk input to ac characteristics ? updated mpc2- miscellaneous port configuration register 2 ? updated dmic - dmi control register description ? updated nv_cle nomical pull- down in table 3-1. integr ated pull-ups and pull-downs ? updated section 10.1.62 buc - backed up control register january 2010 003 ? addeed intel ? b55 express chipset ? updated bit description for usbira?usb initialization register a ? updated table 2-29. intel ? 5 series chipset and intel ? 3400 series chipset device and revision id table. ? updated bit description for gp_rst_sel1 ? gpio reset select register ? updated bit description for gp_rst_sel2 ? gpio reset select register ? updated bit description for gp_rst_sel3 ? gpio reset select register ? update table 3-1 to include spi_cs0# ? updated table 8-1, storage conditions ? added section 5.27.2.9 through section 5.27.2.14 ? updated table 8-14, pci express* interface timings ? updated section 21.1.2, hsfs?hardwar e sequencing flash status register june 2010
38 datasheet 004 ? updated table 1-1, industry standards ? updated section 1.2, overview ? updated the initial set of bullets ?updated intel ? active management technology section ? updated serial over lan (sol) function section ?added kvm section ? updated ide-r function section ? added pch display interface section ?added intel ? flexible display inte rconnect (fdi) section ? updated table 2-5, serial ata interface signals ? added temp_alert# to the sata5g p /gpio49 / temp_alert# signals ? sclock/gpio22 signal ? added note under table 2-7, ?interrupt signals? ? updated table 2-8, ?usb interface signals? overcurrent indicators description. ? updated table 2-9, ?power management in terface signals? description for slp_lan#/ gpio29. ? update table 2-15, ?intel high definition audio link signals? description for hda_dock_rst#/gpio13. ? added note 12 to table 2-25, ?general purpose i/o signals?. ? updated table 2-27, ?power and ground signals? description for dcpsusbyp. ? updated table 2-28, ?functional strap definitions? comment column for gnt3#/ gpio55. ? updated table 2-29, ?intel 5 series chip set and intel 3400 series chipset device and revision id table?. ? added note to section 5.2, ?pci express* root ports (d28:f0, f1,f2,f3,f4,f5,f6,f7)?. ? added note on wake up settings to section 5.3.4.1.1, ?advanced power management wake up? and section 5.3.4.1.2, ?acpi power management wake up?. ? updated table 5-27, ?causes of wake events?. ? ?added section 5.13.10.5, ?slp_lan# pin be havior? and section 5.13.10.6, ?rtcrst# and srtcrst#?. ? updated section 5.13.13, ?reset behavior?. ? updated section 5.14.2. 2, ?advanced tco mode?. ? updated section 5.16. 11, ?sgpio signals?. ? added note to block read/write command in section 5.20.1.1, ?command protocols? for the smbus host controller. ? updated section 5.27, ?p ch display interfaces?. ? updated section 8.2, ?absolute maximum and minimum ratings?. ? updated vol3 and voh3 in table 8-10, ?dc output characteristics?. ? updated vccvrm in table 8-11, ?other dc characteristics?. also, added note 3 to the table. ? added notes to table 8-16, ?pci express* interface timings?, table 8-17, ?hdmi interface timings?, and table 8- 18, ?sdvo interface timings?. ? added smlink0 clock timings to table 8-24, ?clock timings?. ? updated table 8-28, ?smbus timing?. ? updated table 8-37, ?controller link receive timings?. ? added note 18 to table 8-18, ?power se quencing and reset signal timings? for lan_rst# timing. ? added figure 8-30, ?controller link receive timings? and figure 8-31, ?controller link receive slew rate?. january 2012 revision number description revision date
datasheet 39 004 ? chapter 9, ?register and memory mapping? ? added r/wl register access attribute de finition and updated the definition for ?default?. ? added notes to table 9-1, ?pci devices and functions?. ? updated table 9-2, ?fixed i/o ranges decoded by intel pch?. ? updated table 9-3, ?variable i/o decode ranges?. ? updated table 9-4, ?memory decode ranges from processor perspective?. ? updated section 9.4.1, ?boot-block update scheme?. ? updated section 10.1.9, ?lcap?link capab ilities register? bits 17:15 l1 exit latency (el1). ? updated section 10.1.10, ?lctl?link control register?. ? updated section 10.1.15, ?rpfn?root port function number and hide for pci express* root ports? for bits 30:28 and 26:24. ? updated section 10.1.43, ?oic? other interrupt control register? note below table. ? updated section 10.1.62, ?buc?backed up control register? bit 5 and bit 0. ? updated section 10.1.64, ?cg?clock gating register? bits 29:28. ? updated section 10.1.69, ?usbocm2 ?overcurrent map register 2?. ? added section 13.1.12, ?capp?capability li st pointer register (lpc i/f?d31:fo) ? updated section 14.1.22, ?ide_tim?ide timing register (sata?d31:f2)?. ? added section 14.1.23, ?sidetim?slave ide timing register?, section 14.1.24, ?sdma_cnt?synchronous dma control register?, section 14.1.25, ?sdma_tim?synchronous dma timing register?, and section 14.1.26, ?ide_config?ide i/o configuration register?. ? updated section 14.1.37, ?sclkgc?sata clock general configuration register?. ? updated section 14.3.2.3, ?pxserr?serial ata error register (b31:f2)? bit 23. ? updated section 14.4.1.10, ?rstf?rst feature capabilities register? bit 7. ? updated section 14.4.1.12, ?intel ? rst feature capabilities?. ? updated section 14.4.2.5, ?p xis?port [5:0] interrupt status register (d31:f2)? and section 14.4.2.6, ?pxie?port [5:0] interrupt enable register 9d31:f2)? ? updated section 15.1.21, ?ide_tim?i de timing register (sata?d31:f5)? ? added section 15.1.22, ?sdma_cnt?synchronous dma control register?, section 15.1.23, ?sdmb_tim?synchronous dma timing register?, and section 15.1.24, ?ide_config?ide i/o configuration register?. ? added note to section 16.1, ?usb ehci configuration registers (usb ehci?d29:f0, d26:f0)?. ? updated section 16.1.20, ?pwr_cntl_sts?power managment control/status register? bits 1:0. ? updated section 16.1.31, ?ehcir1?ehci initialization register 1? ? added section 16.1.32, ?ehciir2?ehci init ialization register 2, section 16.1.38, ?ehciir3?ehci initialization register 3?, and section 16.1.39, ?ehciir4?ehci initialization register 4?. ? added section 17.1.20, ?hdinit1?intel high definition audio initialization register 1?. ? updated section 17.2.15, ?ssync?s tream synchronization register?. ? added note to section 19.1, ?pci express configuration registers (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7)?. ? updated section 21.1.2, ?h sfs?hardware sequencing flash status register? bit 13 and section 21.4.2, ?hsfs? hardware sequencing flash status register? bit 13 ? updated section 22.1.3, ?cmd?command? bit 2. ? updated section 22.2.5, ?tsttp?thermal sens or temperature trip point register? bits 23:16. ? updated section 22.2.12, ?p ta?pch temperature adjust?. january 2012 revision number description revision date
40 datasheet platform controller hub (pch) features ? direct media interface ? 10 gb/s each dire ction, full duplex ? transparent to software ? pci express* ? new: 8 pci express root ports ? new: pci express 2.0 specification running at 2.5 gt/s. ? new: ports 1?4 or ports 5?8 can independently be configured to support four x1s, two x2s, one x2 and 2 x1s, or one x4 port widths. ? support for full 2.5 gb /s bandwidth in each direction per x1 lane ? module based hot-plug supported (such as, expresscard*) ? pci bus interface ? supports pci rev 2.3 specification at 33 mhz ? four available pci req/gnt pairs ? support for 64-bit addressing on pci using dac protocol ? integrated serial ata host controller ? up to six sata ports ? data transfer rates up to 3.0 gb/s (300 mb/s). ? integrated ahci controller ? external sata support ? new: port disable capability ? intel ? rapid storage technology ? configures the pch sata controller as a raid controller supporting raid 0/1/5/10 ? intel ? high definition audio interface ? pci express endpoint ? independent bus master logic for eight general purpose streams: four input and four output ? support four external codecs ? supports variable length stream slots ? supports multichannel, 32-bit sample depth, 192 khz sample rate output ? provides mic array support ? allows for non-48 khz sampling output ? support for acpi device states ?low voltage mode ? intel ? quiet system technology ? four tach signals and four pwm signals ? simple serial transport (sst) 1.0 bus and platform environmental control interface (peci) ? usb 2.0 ? two ehci host controllers, supporting up to fourteen external ports ?per-port-disa ble capability ? includes up to two usb 2.0 high-speed debug ports ? supports wake-up from sleeping states s1?s4 ? supports legacy keyboard/mouse software ? integrated gigabi t lan controller ? new: pci express* connection ? integrated asf management controller ? network security wi th system defense ? supports ieee 802.3 ? 10/100/1000 mbps ethernet support ? jumbo frame support ? intel ? active management technology with system defense ? new: network outbreak containment heuristics ? intel ? i/o virtualization (vt-d) support ? intel ? trusted execution technology support ? power management logic ? supports acpi 4.0a ? acpi-defined power states (system level s0, s1, s3, s4, and s5 states, various internal device levels of d x states, and processor driven c states) ? acpi power management timer ?smi# generation ? all registers readable/restorable for proper resume from 0 v suspend states ? support for a-based le gacy power management for non-acpi implementations ? external glue integration ? integrated pull-up, pull-down and series termination resistors on processor interface ? integrated pull-down and series resistors on usb ? enhanced dma controller ? two cascaded 8237 dma controllers ? supports lpc dma
datasheet 41 note: not all features are available on all pch skus. see section 1.3 for more details. ? smbus ? faster speed, up to 100 kbps ? flexible smbus/smlink ar chitecture to optimize for asf ? provides independent ma nageability bus through smlink interface ? supports smbus 2.0 specification ? host interface allows pr ocessor to communicate using smbus ? slave interface allows an internal or external microcontroller to access system resources ? compatible with most two-wire components that are also i 2 c compatible ? high precision event timers ? advanced operating syst em interrupt scheduling ? timers based on 8254 ? system timer, refresh request, speaker tone output ? real-time clock ? 256-byte battery-backed cmos ram ? integrated oscillator components ? lower power dc/dc converter implementation ? system tco reduction circuits ? timers to generate smi# and reset upon detection of system hang ? timers to detect impr oper processor reset ? integrated processor frequency strap logic ? supports ability to di sable external devices ? serial peripheral interface (spi) ? supports up to two spi devices ? supports 20 mhz, 33 mhz, and 50 mhz spi devices ? support up to two diffe rent erase granularities ? interrupt controller ? supports up to eigh t pci interrupt pins ? supports pci 2.3 message signaled interrupts ? two cascaded 8259 with 15 interrupts ? integrated i/o apic capability with 24 interrupts ? supports processor sy stem bus interrupt delivery ? 1.05 v operation with 1.5 v and 3.3 v i/o ? 5 v tolerant buffers on pci, usb and selected legacy signals ? 1.05 v core voltage ? five integrated voltage regulators for different power rails ? firmware hub interface su pports bios memory size up to 8 mb ? low pin count (lpc) i/f ? supports two master/dma devices. ? support for security de vice (trusted platform module) connected to lpc. ? gpio ? ttl, open-drain, inversion ?gpio lock down ? package ? 27 mm x 27 mm fcbga (desktop only) ? 27 mm x 25 mm fcbga (mobile only) ? 22 mm x 20 mm fcbga (mobile sff only) ? analog display port ? digital display ? three digital display ports capable of supporting hdmi/dvi and display port ? one digital display port supporting sdvo ?ldvs (mobile only) ? intel ? anti-theft technology ? jtag ? boundary scan for testing during board manufacturing
42 datasheet
datasheet 43 introduction 1 introduction 1.1 about this manual this document is intended for original equipment manufacturers and bios vendors creating intel ? 5 series chipset and intel ? 3400 series chipset based products. this document is for the following components: ?intel ? 5 series chipset ?intel ? p55 express chipset ?intel ? h55 express chipset ?intel ? h57 express chipset ?intel ? q57 express chipset ?intel ? b55 express chipset ?intel ? pm55 express chipset ?intel ? qm57 express chipset ?intel ? hm55 express chipset ?intel ? hm57 express chipset ?intel ? qs57 express chipset ?intel ? 3400 series chipset ?intel ? 3400 chipset ?intel ? 3420 chipset ?intel ? 3450 chipset section 1.3 provides high-level feature differences for the intel ? 5 series chipset and intel ? 3400 series chipset. note: throughout this document, pch is used as a general term and refers to the intel ? 5 series chipset and intel ? 3400 series chipset, unless specifically noted otherwise. note: throughout this document, the term ?desktop ? refers to information that is for the intel ? p55 express chipset, intel ? h55 express chipset, intel ? h57 express chipset, intel ? q57 express chipset, intel ? b55 express chipset, intel ? 3400 chipset, intel ? 3420 chipset, intel ? 3450 chipset, unless specifically noted otherwise. throughout this document, the term ?mobile on ly? refers to information that is for the intel ? pm55 express chipset, intel ? qm57 express chipset, intel ? hm55 express chipset, intel ? hm57 express chipset, and the intel ? qs57 express chipset, unless specifically noted otherwise. this manual assumes a working knowledge of the vocabulary and principles of pci express*, usb, ahci, sata, intel ? high definition audio (intel ? hd audio), smbus, pci, acpi, and lpc. although some details of these features are described within this manual, see the individual industry specifications listed in table 1-1 for the complete details.
introduction 44 datasheet table 1-1. industry specifications specification location pci express* base specification, revision 1.1 http://www.pcisig.com/specifications pci express* base specification, revision 2.0 http://www.pcisig.com/specifications low pin count interface spec ification, revision 1.1 (lpc) http://developer.intel.com/design/ chipsets/industry/lpc.htm system management bus sp ecification, version 2.0 (smbus) http://www.smbus.org/specs/ pci local bus specification, revision 2.3 (pci) http://www.pcisig.com/specifications pci power management specification, revisi on 1.2 http://www.pcisig.com/specifications sff-8485 specification for se rial gpio (sgpio) bus, revision 0.7 ftp://ftp.seagate.co m/sff/sff-8485.pdf advanced host controller interface specification for serial ata, revision 1.2 http://www.intel.com/technology/ serialata/ahci.htm intel ? high definition audio specification, revision 1.0 http://www.intel.com/standards/ hdaudio/ universal serial bus specification (usb), revision 2.0 http://www.usb.org/developers/docs advanced configuration and power interface, version 3.0b (acpi) http://www.acpi.info/spec.htm enhanced host controller interface specification for universal serial bus, revision 1.0 (ehci) http://developer.intel.com/technology/ usb/ehcispec.htm serial ata specification, revisi on 2.5 http://www.serialata.org/ serial ata ii: extensions to serial ata 1.0, revision 1.0 http://www.serialata.org/ serial ata ii cables and connectors volume 2 gold http://www.serialata.org/ alert standard format specif ication, version 1.03 http://www.dmtf.org/standards/asf ieee 802.3 fast ethernet http://standards.ieee.org/getieee802/ at attachment - 6 with packet interface (ata/atapi - 6) http://t13.org (t13 1410d) ia-pc hpet (high precision event timers) specification, revision 0.98a http://www.intel.com/hardwaredesign/ hpetspec.htm tpm specification 1.02, level 2 revision 103 http://www.trustedcomputinggroup.org/ specs/tpm intel ? virtualization technology http://www.intel.com/technology/ platform-technology/virtualization/ index.htm
datasheet 45 introduction chapter 1. introduction chapter 1 introduces the pch and provides in formation on manual organization and gives a general overview of the pch. chapter 2. signal description chapter 2 provides a block diagram of the pch and a detailed description of each signal. signals are arranged according to in terface and details are provided as to the drive characteristics (input/output, open drain, etc.) of all signals. chapter 3. pch pin states chapter 3 provides a complete list of signals, their associated power well, their logic level in each power state, and their logic level before and after reset. chapter 4. pch and sy stem clock domains chapter 4 provides a list of each clock domain associated with the pch in an intel ? 5 series chipset or intel ? 3400 series chipset based system. chapter 5. functional description chapter 5 provides a detailed description of the functions in the pch. all pci buses, devices and functions in this manual are ab breviated using the following nomenclature; bus:device:function. this manual abbreviate s buses as b0 and b1, devices as d22, d25, d25, d26, d27, d28, d29, d30 and d31 and functions as f0, f1, f2, f3, f4, f5, f6 and f7. for example device 31 function 0 is abbreviated as d31:f0, bus 1 device 8 function 0 is abbreviated as b1:d8:f0. ge nerally, the bus number will not be used, and can be considered to be bus 0. note that the pch external pci bus is typically bus 1, but may be assigned a different number depending upon system configuration. chapter 6. ballout definition chapter 6 provides a table of each signal and its ball assignment in the package. chapter 7. package information chapter 7 provides drawings of the physical dimensions and characteristics of the package. chapter 8. electrical characteristics chapter 8 provides all ac and dc characterist ics including detailed timing diagrams. chapter 9. register and memory mappings chapter 9 provides an overview of the registers, fixed i/o ranges, variable i/o ranges and memory ranges decoded by the pch. chapter 10. chipset configuration registers chapter 10 provides a detailed description of all registers and base functionality that is related to chipset configuration and not a spec ific interface (such as lpc, pci, or pci express*). it contains the root complex register block, which describes the behavior of the upstream internal link. chapter 11. pci-to-pci bridge registers chapter 11 provides a detailed description of all registers that reside in the pci-to-pci bridge. this bridge resides at device 30, function 0 (d30:f0). chapter 12. integrated lan controller registers chapter 12 provides a detailed description of all registers that reside in the pch?s integrated lan controller. the integrated la n controller resides at device 25, function 0 (d25:f0). chapter 13. lpc br idge registers chapter 13 provides a detailed description of all registers that reside in the lpc bridge. this bridge resides at device 31, function 0 (d31:f0). this function contains registers for many different units within the pch in cluding dma, timers, interrupts, processor interface, gpio, power manageme nt, system management and rtc.
introduction 46 datasheet chapter 14. sata controller registers chapter 14 provides a detailed description of a ll registers that reside in the sata controller #1. this controller resides at device 31, function 2 (d31:f2). chapter 15. sata controller registers chapter 15 provides a detailed description of a ll registers that reside in the sata controller #2. this controller resides at device 31, function 5 (d31:f5). chapter 16. ehci co ntroller registers chapter 16 provides a detailed description of all registers that reside in the two ehci host controllers. these controllers reside at device 29, function 0 (d29:f0) and device 26, function 0 (d26:f0). chapter 17. intel ? high definition audio controller registers chapter 17 provides a detailed description of all registers that reside in the intel ? high definition audio controller. this controller resides at device 27, function 0 (d27:f0). chapter 18. smbus co ntroller registers chapter 18 provides a detailed description of a ll registers that reside in the smbus controller. this controller resides at device 31, function 3 (d31:f3). chapter 19. pci express* port controller registers chapter 19 provides a detailed description of all registers that reside in the pci express controller. this controller resides at device 28, functions 0 to 5 (d28:f0-f7). chapter 20. high precisio n event timers registers chapter 20 provides a detailed description of all re gisters that reside in the multimedia timer memory mapped register space. chapter 21. serial periph eral interface registers chapter 21 provides a detailed description of a ll registers that reside in the spi memory mapped register space. chapter 22. thermal sensors chapter 22 provides a detailed description of all registers that reside in the thermal sensors pci configuration space. the registers reside at device 31, function 6 (d31:f6). chapter 23. intel ? management engine (intel ? me) chapter 23 provides a detailed description of all registers that reside in the intel me controller. the registers reside at device 22, function 0 (d22:f0).
datasheet 47 introduction 1.2 overview the pch provides extensive i/o suppor t. functions and capabilities include: ? pci express* base specification, revision 2.0 support for up to eight ports ? pci local bus specification , revision 2.3 support for 33 mhz pci operations (supports up to four req/gnt pairs) ? acpi power management logic support, revision 3.0b ? enhanced dma controller, interrupt controller, and timer functions ? integrated serial ata host controllers with independent dma operation on up to six ports ? usb host interface with support for up to fourteen usb ports; two ehci high-speed usb 2.0 host controllers and 2 rate matching hubs ? integrated 10/100/1000 gigabit ethernet mac with system defense ? system management bus (smbus) specification , version 2.0 with additional support for i 2 c devices ? supports intel ? high definition audio ? supports intel ? rapid storage technology ? supports intel ? active management technology ? supports intel ? virtualization technology for directed i/o ? supports intel ? trusted execution technology ? supports intel ? flexible display interconnect (intel ? fdi) ? supports buffered mode generating extra clocks from a clock chip ? analog and digital display ports ?analog crt ?hdmi ?dvi ?displayport 1.1 ?sdvo ? lvds (mobile only) ? embedded displayport ? low pin count (lpc) interface ? firmware hub (fwh) interface support ? serial peripheral interface (spi) support ?intel ? quiet system technology (desktop only) ?intel ? anti-theft technology ? jtag boundary scan support the pch incorporates a variety of pci devices and functions, as shown in table 1-2 . they are divided into eight logical devices. the first is the dmi-to-pci bridge (device 30). the second device (device 31) contains most of the standard pci functions that always existed in the pci-to-isa bridge s (south bridges), such as the intel ? piix4. the third and fourth (device 29 and device 26) are the usb host controller devices. the fifth (device 28) is the pci express device. the sixth (device 27) is the hd audio controller device, and the seventh (device 25) is the gigabit ethernet controller device. the eighth (device 22) is the intel ? management engine interface controller.
introduction 48 datasheet notes: 1. the pci-to-lpc bridge contai ns registers that control lp c, power manage ment, system management, gpio, proces sor interface, rtc, inte rrupts, timers, and dma. 2. device 26:function 2 may be configured as device 29:function 3 during bios post. 3. sata controller 2 is only visible when d31:f2 cc.scc=01h. table 1-2. pci devi ces and functions bus:device:function function description bus 0:device 30:function 0 dmi-to-pci bridge bus 0:device 31:function 0 lpc controller 1 bus 0:device 31:function 2 sata controller #1 bus 0:device 31:function 5 sata controller #2 3 bus 0:device 31:function 6 thermal subsystem bus 0:device 31:function 3 smbus controller bus 0:device 29:function 0 usb hs ehci controller #1 bus 0:device 26:fucntion 0 usb hs ehci controller #2 bus 0:device 28:function 0 pci express* port 1 bus 0:device 28:function 1 pci express port 2 bus 0:device 28:function 2 pci express port 3 bus 0:device 28:function 3 pci express port 4 bus 0:device 28:function 4 pci express port 5 bus 0:device 28:function 5 pci express port 6 bus 0:device 28:function 6 pci express port 7 bus 0:device 28:function 7 pci express port 8 bus 0:device 27:function 0 intel ? high definition audio controller bus 0:device 25:function 0 gigabit ethernet controller bus 0:device 22:function 0 intel ? management engine interface (intel ? mei) #1 bus 0:device 22:function 1 intel ? management engine interface (intel ? mei) #2 bus 0:device 22:function 2 ide-r bus 0:device 22:function 3 kt
datasheet 49 introduction 1.2.1 capability overview the following sub-sections provide an overview of the pch capabilities. direct media interface (dmi) direct media interface (dmi) is the chip-to-chip connection between the processor and pch. this high-speed interface integrates advanced priority-based servicing allowing for concurrent traffic and true isochronous transfer capabilities. base functionality is completely software-transparent, permitting current and legacy software to operate normally. pci express* interface the pch provides up to 8 pci expr ess root ports, supporting the pci express base specification, revision 2.0. each root port supports 2.5 gb/s bandwidth in each direction (5 gb/s concurrent). pci express root ports 1-4 and ports 5?8 can be independently configured as four x1s, two x2s, one x2 and 2 x1s, or one x4 port widths. serial ata (sata) controller the pch has two integrated sata host co ntrollers that support independent dma operation on up to six ports and supports da ta transfer rates of up to 3.0 gb/s (300 mb/s). the sata controller contains two modes of operation?a legacy mode using i/o space, and an ahci mode using memory space. software that uses legacy mode will not have ahci capabilities. the pch supports the serial ata specification , revision 1.0a. the pch also supports several optional sections of the serial ata ii: extensions to serial ata 1.0 specification , revision 1.0 (ahci support is required for some elements). ahci the pch provides hardware support for adva nced host controller interface (ahci), a new programming interface for sata host controllers. platforms supporting ahci may take advantage of performance features such as no master/slave designation for sata devices?each device is treated as a master?and hardware-assisted native command queuing. ahci also provides usability enhanc ements such as hot-plug. ahci requires appropriate software support (such as an ah ci driver) and for some features, hardware support in the sata device or additional platform hardware. see section 1.3 for details on sku feature availability. intel ? rapid storage technology the pch provides support for intel ? rapid storage technology, providing both ahci (see above for details on ahci) and integrated raid functionality. the industry-leading raid capability provides high-performance raid 0, 1, 5, and 10 functionality on up to 6 sata ports of the pch. matrix raid support is provided to allow multiple raid levels to be combined on a single set of hard driv es, such as raid 0 and raid 1 on two disks. other raid features include hot spare su pport, smart alerting, and raid 0 auto replace. software components include an option rom for pre-boot configuration and boot functionality, a microsoft windows* co mpatible driver, and a user interface for configuration and management of th e raid capability of the pch. see section 1.3 for details on sku feature availability.
introduction 50 datasheet pci interface the pch pci interface provides a 33 mhz, revision 2.3 implementation. the pch integrates a pci arbiter that supports up to four external pci bus masters in addition to the internal pch requests. this allows for combinations of up to four pci down devices and pci slots. low pin count (lpc) interface the pch implements an lpc interface as described in the lpc 1.1 specification . the low pin count (lpc) bridge function of the pch resides in pci device 31:function 0. in addition to the lpc bridge interface functi on, d31:f0 contains other functional units including dma, interrupt controllers, time rs, power management, system management, gpio, and rtc. serial peripheral interface (spi) the pch implements an spi interface as an alternative interface for the bios flash device. an spi flash device can be used as a replacement for the fwh, and is required to support gigabit ethernet, intel ? active management technology and integrated intel ? quiet system technology. the pch suppor ts up to two spi flash devices with speeds of up to 50 mhz using two chip select pins. compatibility modules (dma contro ller, timer/counters, interrupt controller) the dma controller incorporates the logic of two 8237 dma controllers, with seven independently programmable channels. channels 0?3 are hardwired to 8-bit, count-by- byte transfers, and channels 5?7 are hard wired to 16-bit, count-by-word transfers. any two of the seven dma channels can be programmed to support fast type-f transfers. channel 4 is reserved as a generic bus master request. the pch supports lpc dma, which is sim ilar to isa dma, through the pch?s dma controller. lpc dma is handled through the use of the ldrq# lines from peripherals and special encoding on lad[3:0] from the host. single, demand, verify, and increment modes are suppor ted on the lpc interface. the timer/counter block contains three counters that are equivalent in function to those found in one 8254 programmable interval timer. these three counters are combined to provide the system timer function, and speaker tone. the 14.31818 mhz oscillator input provides the clock source for these three counters. the pch provides an isa-compatible prog rammable interrupt controller (pic) that incorporates the functionality of two 8259 interrupt controllers. the two interrupt controllers are cascaded so that 14 external and two internal interrupts are possible. in addition, the pch supports a serial interrupt scheme. all of the registers in these modules can be read and restored. this is required to save and restore system state after power has be en removed and restored to the platform. advanced programmable interrupt controller (apic) in addition to the standard isa compatible programmable interrupt controller (pic) described in the previous section, the pc h incorporates the advanced programmable interrupt controller (apic).
datasheet 51 introduction universal serial bus (usb) controllers the pch contains up to two enhanced host controller interface (ehci) host controllers that support usb high-speed signaling. high-s peed usb 2.0 allows data transfers up to 480 mb/s. the pch also contains two rate ma tching hubs (rmh) that support usb full- speed and low-speed signaling. the pch supports up to fourteen usb 2.0 ports. all fourteen ports are high-speed, full- speed, and low-speed capable. gigabit ethernet controller the gigabit ethernet controller provides a system interface using a pci function. the controller provides a full memory-mapped or io mapped interface along with a 64 bit address master support for systems using more than 4 gb of physical memory and dma (direct memory addressing) mechanisms for high performance data transfers. its bus master capabilities enable the component to process high-level commands and perform multiple operations; this lowe rs processor utilization by off-loading communication tasks from the processor. two large configurable transmit and receive fifos (up to 20 kb each) help prevent data underruns and overruns while waiting for bus accesses. this enables the integrated lan controller to transmit data with minimum interframe spacing (ifs). the lan controller can operate at multiple speeds (10/100/1000 mb/s) and in either full duplex or half duplex mode. in full dupl ex mode the lan contro ller adheres with the ieee 802.3x flow control specification. half duplex performance is enhanced by a proprietary collision reduction mechanism. see section 5.3 for details. rtc the pch contains a motorola* mc146818b-comp atible real-time clock with 256 bytes of battery-backed ram. the real-time clock performs two key functions: keeping track of the time of day and storing system data, even when the system is powered down. the rtc operates on a 32.768 khz crystal and a 3 v battery. the rtc also supports two lockable memory ranges. by setting bits in the configuration space, two 8-byte ranges can be locked to read and write accesses. this prevents unauthorized reading of passwords or other system security information. the rtc also supports a date alarm that allows for scheduling a wake up event up to 30 days in advance, rather than just 24 hours in advance. gpio various general purpose inputs and outputs are provided for custom system design. the number of inputs and outputs varies depending on the pch?s configuration. enhanced power management the pch power management functions include enhanced clock control and various low- power (suspend) states (such as, suspend-to-ram and suspend-to-disk). a hardware- based thermal management circuit permits software-independent entrance to low- power states. the the pch contains full support for the advanced configuration and power interface (acpi) specification, revision 3.0a.
introduction 52 datasheet intel ? active management technology (intel ? amt) (not available on all the i ntel ? 5 series chipset or intel ? 3400 series chipset skus) intel amt is a fundamental component of intel ? vpro ? technology. intel amt is a set of advanced manageability features developed as a direct result of it customer feedback gained through intel market research. with the advent of powerful tools like the intel ? system defense utility, the extensive feature set of intel amt easily integrates into any network environment. see section 1.3 for details on sku feature availability. manageability in addition to intel ? amt, the pch integrat es several functions designed to manage the system and lower the total cost of owne rship (tco) of the system. these system management functions are designed to report errors, diagnose the system, and recover from system lockups without the aid of an external microcontroller. ? tco timer. the pch?s integrated programmable tco timer is used to detect system locks. the first expiration of the timer generates an smi# that the system can use to recover from a software lock. the second expiration of the timer causes a system reset to recover from a hardware lock. ? processor present indicator. the pch looks for the processor to fetch the first instruction after reset. if the processor does not fetch the first instruction, the pch will reboot the system. ? ecc error reporting. when detecting an ecc error, the host controller has the ability to send one of several messages to the pch. the host controller can instruct the pch to generate either an sm i#, nmi, serr#, or tco interrupt. ? function disable. the pch provides the ability to disable the following integrated functions: lan, usb, lpc, intel ? hd audio, sata, pci express or smbus. once disabled, these functions no longer deco de i/o, memory, or pci configuration space. also, no interrupts or power management events are generated from the disabled functions. ? intruder detect. the pch provides an input signal (intruder#) that can be attached to a switch that is activated by the system case being opened. the pch can be programmed to generate an smi# or tco interrupt due to an active intruder# signal. system management bus (smbus 2.0) the pch contains an smbus host interface that allows the processor to communicate with smbus slaves. this interface is compatible with most i 2 c devices. special i 2 c commands are implemented. the pch?s smbus host controller provides a mechanism for the processor to initiate communications with smbus peripherals (slaves). also, the pch supports slave functionality, including the host notify pr otocol. hence, the host controller supports eight command protocols of the smbus interface (see system management bus (smbus) specification, version 2.0): quick command, se nd byte, receive byte, write byte/word, read byte/word, process ca ll, block read/write, and host notify. the pch smbus also implements hardware-b ased packet error checking for data robustness and the address resolution protoc ol (arp) to dynamically provide address to all smbus devices.
datasheet 53 introduction intel ? high definition audio controller the intel ? high definition audio specification defines a digital interface that can be used to attach different types of codecs, such as audio and modem codecs. the pch?s intel ? hd audio controller supports up to 4 codecs. the link can operate at either 3.3 v or 1.5 v. with the support of multi-channel audio stream, 32-bit sample depth, and sample rate up to 192 khz, the intel ? hd audio controller provides audio quality that can deliver ce levels of audio experience. on the input si de, the pch adds support for an array of microphones. intel ? quiet system technology (intel ? qst) the pch integrates four fan speed sensors (four tach signals) and four fan speed controllers (three pulse width modulator signals), which enables monitoring and controlling up to four fans on the system. with the new implementation of the single- wire simple serial transport (sst) 1.0 bus and platform environmental control interface (peci), the pch provides an easy way to connect to sst-based thermal sensors and access the processor thermal data. in addition, coupled with the new sophisticated fan speed control algorithms, intel ? qst provides effective thermal and acoustic management for the platform. note: intel ? quiet system technology functionality requires a correctly configured system, including an appropriate processor, intel ? management engine firmware, and system bios support. intel ? anti-theft technology (not available on all the i ntel ? 5 series chipset or intel ? 3400 series chipset skus) the pch introduces a new hardware-based security technology which encrypts data stored on any sata compliant hdd in ahci mode. this feature gives the end-user the ability to restrict access to hdd data by unknown parties. intel ? anti-theft technology can be used alone or can be combined with software encryption applications to add protection against data theft. intel ? anti-theft technology functionality requires a correctly configured system, including an appropriate processor, intel ? management engine firmware, and system bios support. intel ? virtualization technology for directed i/o (intel ? vt-d) the pch provides hardware suppor t for implementation of intel ? virtualization technology with directed i/o (intel ? vt-d). intel ? vt-d technology consists of technology components that support the virtualization of platforms based on intel ? architecture processors. intel ? vt-d technology enables multiple operating systems and applications to run in independent pa rtitions. a partition behaves like a virtual machine (vm) and provides isolation and protection across partitions. each partition is allocated its own subset of host physical memory.
introduction 54 datasheet jtag boundary-scan the pch adds the industry standard jtag interface and enables boundary-scan in place of the xor chains used in previous generations. boundary-scan can be used to ensure device connectivity during the board manufacturing process. the jtag interface allows system manufacturers to improve efficiency by using industry available tools to test the pch on an assembled board. since jtag is a serial interface, it eliminates the need to create probe points for every pin in an xor chain. this eases pin breakout and trace routing and simplifies the interface betw een the system and a bed-of-nails tester. note: contact your local intel field sales representative for additional information about jtag usage on the pch. serial over lan (sol) function this function supports redirection of keyboa rd and text screens to a terminal window on a remote console. the keyboard and text redirection enables the control of the client machine through the network without the need to be physically near that machine. text and keyboard redirection allows the remote machine to control and configure a client system. the sol function emulates a standard pci device and redirects the data from the serial port to the management console using the integrated lan. kvm kvm provides enhanced capabilities to its predecessor ? sol. in addition to the features set provided by sol, kvm provid es mouse and graphic redirection across the integrated lan. unlike sol, kvm does not appe ar as a host accessible pci device but is instead almost completely performed by intel amt firmware with minimal bios interaction as described in the intel me bios writer?s guide. the kvm feature is only available with internal graphics. ide-r function the ide-r function is an ide redirection in terface that provides client connection to management console ata/atapi devices such as hard disk drives and optical disk drives. a remote machine can setup a diagnostic sw or os installation image and direct the client to boot an ide-r session. the ide-r interface is the same as the ide interface although the device is not physic ally connected to the system and supports the ata/atapi-6 specification. ide-r does no t conflict with any other type of boot and can instead be implemented as a boot device option. the intel amt solution will use ide-r when remote boot is required. the devi ce attached through ide-r is only visible to software during a management boot sessi on. during normal boot session, the ide-r controller does not appear as a pci present device. pch display interface the pch integrates latest display technologies such as hdmi*, displayport*, embedded displayport (edp*), sdvo, and dvi along with legacy display technologies: analog port (vga) and lvds (mobile only). the analog po rt and lvds port are dedicated ports on the pch and the digital ports b, c and d can be configured to drive hdmi, dvi, or displayport. digital port b can also be configured as sdvo while digital port d can be configured as edp. the hdmi interface suppo rts the hdmi* 1.3c specification while the displayport interface supports the displaypor t* 1.1a specification. the pch supports high-bandwidth digital content protection for high definition content playback over digital interfaces. the pch also integrates audio codecs for audio support over hdmi and displayport interfaces. the pch receives the display data over the intel ? fdi and transcodes the data as per the display technology protocol and send s the data through the display interface.
datasheet 55 introduction intel ? flexible display interconnect (fdi) the intel ? fdi connects the display engine in the processor with the display interfaces on the pch. the display data from the frame buffer is processed by the display engine and sent to the pch where it is transcode d and driven out on the panel. intel fdi involves two channels ? a and b for display data transfer. intel fdi channel a has 4 lanes and channe l b supports 4 lanes depending on the display configuration. each of the intel fd i channel lanes uses differential signal supporting 2.7 gb/s. for two display configurat ions intel fdi ch a maps to display pipe a while intel ch b maps to the second display pipe b. 1.3 intel ? 5 series chipset and intel ? 3400 series chipset sku definition notes: 1. contact your local intel field sales repres entative for currently available pch skus. 2. table above shows feature difference between the pch skus. if a feature is not listed in the table it is considered a base feat ure that is included in all skus. 3. the pch provides hardware support for ahci functionality when enabled by appropriate system configurations and software drivers. 4. usb ports 6 and 7 are disabled. 5. pcie* ports 7 an d 8 are disabled. table 1-3. intel ? 5 series chipset desktop skus feature set sku name(s) q57 h57 h55 p55 b55 pci express* 2.0 ports 886 5 86 5 usb* 2.0 ports 14 14 12 4 14 12 4 sata ports 6666 6 hdmi/dvi/vga/sdvo/displayport/edp yes yes yes no yes lvds no no no no no integrated graphics su pport with pavp 1.5 yes yes yes no yes intel ? quiet system technology yes yes yes no yes intel ? rapid storage te c h n ol o g y ahci yes yes yes yes yes raid 0/1/5/10 support yes yes no yes no intel ? me ignition fw only no no no yes no intel ? at yes no no no no intel ? amt 6.0 yes no no no no intel ? remote pc assist technology for business yes no no no no intel ? remote pc assist technology for consumer no yes yes no no intel ? remote wake technology no yes yes no no
introduction 56 datasheet notes: 1. contact your local intel field sales repres entative for currently available pch skus. 2. table above shows feature difference between th e pch skus. if a feature is not listed in the table it is considered a base fe ature that is included in all skus. 3. the pch provides hardware support for ahci functionality when enabled by appropriate system configurations and software drivers. 4. usb ports 6 and 7 are disabled. 5. pcie* ports 7 and 8 are disabled. 6. sata ports 2 and 3 are disabled. table 1-4. intel ? 5 series chipset mobile skus feature set sku name(s) qm57 hm57 pm55 hm55 qs57 pci express* 2.0 ports 8886 5 8 usb* 2.0 ports 14 14 14 12 4 14 sata ports 6664 6 6 hdmi/dvi/vga/sdvo/displayport/edp yes yes no yes yes lvds yes yes no yes yes graphics support with pavp 1.5 yes yes no yes yes intel ? quiet system technology no no no no no intel ? rapid storage technology ahci yes yes yes yes yes raid 0/1/5/10 support yes yes yes no yes intel ? me ignition fw only no no yes no no intel ? at yes yes no yes yes intel ? active managment technology (intel amt) 6.0 yes no no no yes intel ? remote pc assist technology for business yes no no no yes intel ? remote pc assist technology for consumer no yes no no no intel ? remote wake technology no no no no no
datasheet 57 introduction 1. contact your local intel field sales repres entative for currently available pch skus. 2. table above shows feature difference between the pch skus. if a feature is not listed in the table it is considered a base feat ure that is included in all skus. 3. the pch provides hardware support for ahci functionality when enabled by appropriate system configurations and software drivers. 4. usb ports 6 and 7 are disabled. 5. usb ports 8, 9, 10, 11, 12 and 13 are disabled. 6. sata ports 2 and 3 are disabled. 7. pcie* ports 7 an d 8 are disabled. 1.4 reference documents table 1-5. intel ? 3400 series chipset server skus feature set sku name(s) intel ? 3400 chipset intel ? 3420 chipset intel ? 3450 chipset pci express* 2.0 ports 6 7 88 usb* 2.0 ports 8 5 12 4 14 sata ports 4 6 66 hdmi/dvi/vga/sdvo/displayport no no yes lvds no no no graphics support with pavp 1.5 no no yes intel ? quiet system technology no no yes intel ? rapid storage te c h n ol o g y ahci no 3 yes yes raid 0/1/5/10 support no yes yes intel ? me ignition fw only yes yes no intel ? at no no yes intel ? amt 6.0 no no yes intel ? remote pc assist technology for business no no yes intel ? remote pc assist technology for consumer no no no intel ? remote wake technology no no yes document document number / location intel ? 5 series chipset and intel ? 3400 series chipset specification update http://download.intel.com/ design/processor/ specupdt/322166.pdf intel ? 5 series chipset and intel ? 3400 series chipset thermal mechanical specifications and design guidelines www.intel.com/assets/ pdf/designguide/ 322171.pdf
introduction 58 datasheet
datasheet 59 signal description 2 signal description this chapter provides a detailed description of each signal. the signals are arranged in functional groups according to their associated interface. the ?#? symbol at the end of the signal na me indicates that the active, or asserted state occurs when the signal is at a low voltage level. when ?#? is not present, the signal is asserted when at the high voltage level. the ??? symbol at the end of the signal name indicates that the signal is mobile only. the following notations are used to describe the signal type: i input pin o output pin od o open drain output pin. i/od bi-directional input/open drain output pin. i/o bi-directional input / output pin. cmos cmos buffers. 1.5 v tolerant. cod cmos open drain buffers. 3.3 v tolerant. hvcmos high voltage cmos buffers. 3.3 v tolerant. a analog reference or output. the ?type? for each signal is indicative of the functional operating mode of the signal. unless otherwise noted in section 3.2 or section 3.3 , a signal is considered to be in the functional operating mode after rtcrst# de -asserts for signals in the rtc well, after rsmrst# de-asserts for signals in the suspen d well, after pwrok asserts for signals in the core well, and after lan_rst# de-asserts for signals in the lan well.
signal description 60 datasheet figure 2-1. pch interfac e signals block diagram tbd thrmtrip# sys_reset# rsmrst# slp_s3# slp_s4# slp_s5#/gpio63 slp_m# clkrun# ? /gpio32 pwrok mepwrok pwrbtn# ri# wake# sus_stat#/gpio61 susclk/gpio62 lan_rst# batlow# ? /gpio72 pltrst# stp_pci#/gpio34 acpresent ? /gpio31 drampwrok lan_phy_pwr_ctrl slp_lan#/gpio29 pmsynch ad[31:0] c/be[3:0]# devsel# frame# irdy# trdy# stop# par perr# req0# req1#/gpio50 req2#/gpio52 req3#/gpio54 gnt0# gnt1#/gpio51 gnt2#/gpio53 gnt3#/gpio55 serr# pme# clkin_pciloopback pcirst# plock# pci interface power mgnt. interrupt interface init3_3v# rcin# a20gate procpwrgd processor interface usb serirq pirq[d:a]# pirq[h:e]#/gpio[5:2] usb[13:0]p; usb[13:0]n oc0#/gpio59; oc1#/gpio40 oc2#/gpio41; oc3#/gpio42 oc4#/gpio43; oc5#/gpio9 oc6#/gpio10; oc7#/gpio14 usbrbias usbrbias# rtcx1 rtcx2 clkin_bclk_p;clkin_bclk_n clkin_dmi_p;clkin_dmi_n clkin_sata_[p:n]/cksscd_[p:n] clkin_dot96p;clkin_dot96n xtal25_in ref14clkin pcieclkrq0#/gpio73;pcieclkrq1#/gpio18 pcieclkrq2#/gpio20;pcieclkrq3#/gpio25 pcieclkrq4#/gpio26;pcieclkrq5#/gpio44 pcieclkrq6#/gpio45;pcieclkrq7#/gpio46 peg_a_clkrq#/gpio47;peg_b_clkrq#/gpio56 xclk_rcomp rtc clock inputs misc. signals intvrmen spkr srtcrst# rtcrst # general purpose i/o gpio[72,57,35,32,28, 27,15,8,0] pwm[3:0]/tp[12:9] ? tach0/gpio17; tach1/gpio1 tach2/gpio6; tach3/gpio7 sst peci intruder#; sml[0:1]data;sml[0:1]clk; sml0alert#/gpio60 sml1alert#/gpio74 dmi[3:0]txp, dmi[3:0]txn dmi[3:0]rxp, dmi[3:0]rxn dmi_zcomp dmi_ircomp direct media interface lpc / fwh interface smbus interface hda_rst# hda_sync hda_bclk hda_sdo hda_sdin[3:0] hda_dock_en# ? ;hda_dock_rst# ? intel ? high definition audio system mgnt. lad[3:0]/fwh[3:0] lframe#/fwh4 ldrq0#; ldrq1#/gpio23 smbdata; smbclk smbalert#/gpio11 sata[5:0]txp, sata[5:0]txn sata[5:0]rxp, sata[5:0]rxn sataicompo sataicompi sataled# sata0gp/gpio21 sata1gp/gpio19 sata2gp/gpio36 sata3gp/gpio37 sata4gp/gpio16 sata5gp/gpio49/temp_alert# sclock/gpio22 sload/gpio38 sdataout0/gpio39 sdataout1/gpio48 serial ata interface pci express* interface petp[8:1], petn[8:1] perp[8:1], pern[8:1] spi spi_cs0#; spi_cs1# spi_miso spi_mosi spi_clk jtag* fan speed control ddpb_[3:0]p;ddpb_[3:0]n; ddpc_[3:0]p;ddpc_[3:0]n; ddpd_[3:0]p;ddpd_[3:0]n; ddp[b:d]_auxp;ddp[b:d]_auxn; ddp[b:d]_hpd sdvo_ctrlclk; sdvo_ctrldata ddpc_ctrlclk;ddpc_ctrldata ddpd_ctrlclk;ddpd_ctrldata sdvo_intp;sdvo_intn sdvo_tvclkinp;sdvo_tvclkinn sdvo_stallp;sdvo_stalln digital display interface clock outputs clkout_dp_[p:n]/clkout_bclk1_[p:n] clkin_dmi_p;clkin_dmi_n xtal25_out clkout_peg_a_[p:n];clkout_peg_b_[p:n] clkout_pcie[7:0]_p; clkout_pcie[7:0]_n clkout_pci[4:0] clkoutflex0/gpio64;clkoutflex1/gpio65 clkoutflex2/gpio66;clkoutflex3/gpio67 crt_red;crt_green;crt_blue dac_iref crt_hsync;crt_vsync crt_ddc_clk;crt_ddc_data crt_irtn analog display lvds clockout_bclk0_[p:n]/clkout_pcie8_[p:n} jtagtck jtagtms jtagtdi jtagtdo cl_clk1 ? cl_data1 ? cl_rst1# ? controller link lvds[a:b]_data[3:0] ? lvds[a:b]_data#[3:0] ? lvds[a:b]_clk ? :lvds[a:b]_clk# ? lvd_vrefh ? ;lvd_vrefl ? ;lfv_vbg ? lvd_ibg ? l_ddc_clk ? ;l_ddc_data ? l_vdden ? ;l_blkten ? ;l_bkltctl ?
datasheet 61 signal description 2.1 direct media interface (dmi) to host controller 2.2 pci express* table 2-1. direct me dia interface signals name type description dmi0txp, dmi0txn o direct media interface diff erential transmit pair 0 dmi0rxp, dmi0rxn i direct media interface diff erential receive pair 0 dmi1txp, dmi1txn o direct media interface diff erential transmit pair 1 dmi1rxp, dmi1rxn i direct media interface diff erential receive pair 1 dmi2txp, dmi2txn o direct media interface diff erential transmit pair 2 dmi2rxp, dmi2rxn i direct media interface diff erential receive pair 2 dmi3txp, dmi3txn o direct media interface diff erential transmit pair 3 dmi3rxp, dmi3rxn i direct media interface diff erential receive pair 3 dmi_zcomp i impedance compensation input: determines dmi input impedance. dmi_ircomp o impedance/current compensation output: determines dmi output impedance and bias current. table 2-2. pci express* signals name type description petp1, petn1 o pci express* differential transmit pair 1 perp1, pern1 i pci express differential receive pair 1 petp2, petn2 o pci express differential transmit pair 2 perp2, pern2 i pci express differential receive pair 2 petp3, petn3 o pci express differential transmit pair 3 perp3, pern3 i pci express differential receive pair 3 petp4, petn4 o pci express differential transmit pair 4 perp4, pern4 i pci express differential receive pair 4 petp5, petn5 o pci express differential transmit pair 5 perp5, pern5 i pci express differential receive pair 5 petp6, petn6 o pci express differential transmit pair 6 perp6, pern6 i pci express differential receive pair 6 petp7, petn7 o pci express differential transmit pair 7 note: port 7 may not be available in all pch skus. please see chapter 1.3 for more information.
signal description 62 datasheet 2.3 firmware hub interface perp7, pern7 i pci express differential receive pair 7 note: port 7 may not be available in all pch skus. please see chapter 1.3 for more information. petp8, petn8 o pci express differential transmit pair 8 note: port 8 may not be available in all pch skus. please see chapter 1.3 for more information. perp8, pern8 i pci express differential receive pair 8 note: port 8 may not be available in all pch skus. please see chapter 1.3 for more information. table 2-3. firmware hub interface signals name type description fwh[3:0] / lad[3:0] i/o firmware hub signals. these signals are mult iplexed with the lpc address signals. fwh4 / lframe# o firmware hub signals. this signal is multiplexed with the lpc lframe# signal. init3_3v# o initialization 3.3 v: init3_3v# is asserted by the pch for 16 pci clocks to reset the processor. this signal is intended for firmware hub. table 2-2. pci express* signals name type description
datasheet 63 signal description 2.4 pci interface table 2-4. pci interface signals (sheet 1 of 3) name type description ad[31:0] i/o pci address/data : ad[31:0] is a multip lexed address and data bus. during the first clock of a transaction, ad[31:0] contain a physical address (32 bi ts). during subseque nt clocks, ad[31:0] contain data. the pch will drive all 0s on ad[31:0] during the address phase of all pci special cycles. c/be[3:0]# i/o bus command and byte enables : the command and byte enable signals are multiplexed on the sa me pci pins. during the address phase of a transaction, c/be[3 :0]# define the bus command. during the data phase c/be[3:0 ]# define the byte enables. all command encodings not shown are reserved. the pch does not decode reserved values, and therefore will not respond if a pci master generates a cycle using one of the reserved values. devsel# i/o device select : the pch asserts devsel# to claim a pci transaction. as an output, the pch asserts devsel# when a pci master peripheral attempts an acce ss to an internal pch address or an address destined for dmi (mai n memory or graphics). as an input, devsel# indicates the response to a pch-initiated transaction on the pci bus. devsel# is tri-stated from the leading edge of pltrst#. devsel# remain s tri-stated by the pch until driven by a target device. frame# i/o cycle frame: the current initiator drives frame# to indicate the beginning and duration of a pci transaction. while the initiator asserts frame#, data transfers continue. when the initiator negates frame#, the transaction is in the final data phase. frame# is an input to the pch when the pch is the target, and frame# is an output from the pch when the pch is the initiator. frame# remains tri-stated by the pch until driven by an initiator. irdy# i/o initiator ready : irdy# indicates the pch ability, as an initiator, to complete the current data phase of the transaction. it is used in conjunction with trdy#. a data phase is completed on any clock both irdy# and trdy# are sample d asserted. during a write, irdy# indicates the pch has vali d data present on ad[31:0]. during a read, it indicates the pch is prepared to latch data. irdy# is an input to the pch when the pch is the target and an output from the pch when the pch is an initiator. irdy# remains tri-stated by the pch until driven by an initiator. c/be[3:0]# command type 0000b interrupt acknowledge 0001b special cycle 0010b i/o read 0011b i/o write 0110b memory read 0111b memory write 1010b configuration read 1011b configuration write 1100b memory read multiple 1110b memory read line 1111b memory write and invalidate
signal description 64 datasheet trdy# i/o target ready : trdy# indicates the pch ability, as a target, to complete the current data phase of the transaction. trdy# is used in conjunction with irdy#. a data phase is completed when both trdy# and irdy# are sampled asserted. during a read, trdy# indicates that the pch, as a target, has placed valid data on ad[31:0]. during a write, trdy# in dicates the pch, as a target is prepared to latch data. trdy# is an input to the pch when the pch is the initiator and an output from the pch when the pch is a target. trdy# is tri-stated from the leading edge of pltrst#. trdy# remains tri-stated by the pch until driven by a target. stop# i/o stop : stop# indicates that the pch, as a target, is requesting the initiator to stop the current transa ction. stop# causes the pch, as an initiator, to stop the current transaction. stop# is an output when the pch is a target and an in put when the pch is an initiator. par i/o calculated/checked parity: par uses ?even? parity calculated on 36 bits, ad[31:0] plus c/be[3:0]#. ?even? parity means that the pch counts the number of ones within the 36 bits plus par and the sum is always even. the pch alwa ys calculates par on 36 bits regardless of the valid byte enables. the pch generates par for address and data phases and only ensures par to be valid one pci clock after the corresponding a ddress or data phase. the pch drives and tri-states par identically to the ad[31:0] lines except that the pch delays par by exactly one pci clock. par is an output during the address phase (delayed one clock) for all pch initiated transactions. par is an output during the data phase (delayed one clock) when the pch is the initiato r of a pci write transaction, and when it is the target of a read transaction. the pch checks parity when it is the target of a pci writ e transaction. if a parity error is detected, the pch will set the appr opriate internal status bits, and has the option to generate an nmi# or smi#. perr# i/o parity error : an external pci device drives perr# when it receives data that has a parity error. the pch drives perr# when it detects a parity error. the pch can either generate an nmi# or smi# upon detecting a parity error (either detected internal ly or reported using the perr# signal). req0# req1#/ gpio50 req2#/ gpio52 req3#/ gpio54 i pci requests : the pch supports up to 4 masters on the pci bus. req[3:1]# pins can instead be used as gpio. gnt0# gnt1#/ gpio51 gnt2# / gpio53 gnt3# /gpio55 o pci grants : the pch supports up to 4 masters on the pci bus. gnt[3:1]# pins can instead be used as gpio. pull-up resistors are not required on these signals. if pull-ups are used, they should be tied to the vcc3_3 power rail. note: gnt[3:0]# are sampled as a functional strap. see section 2.28.1 for details. clkin_pciloo pback i pci clock : this is a 33 mhz clock fee dback input to reduce skew between pch pci clock and cloc k observed by connected pci devices. this signal mu st be connected to on e of the pins in the group clkout_pci[4:0] table 2-4. pci interface signals (sheet 2 of 3) name type description
datasheet 65 signal description 2.5 serial ata interface pcirst# o pci reset: this is the secondary pci bus reset signal. it is a logical or of the primary interfac e pltrst# signal and the state of the secondary bus reset bit of the bridge control register (d30:f0:3eh, bit 6). plock# i/o pci lock : this signal indicates an exclusive bus operation and may require multiple transactions to complete. the pch asserts plock# when it performs non-exclusive transactions on the pci bus. plock# is ignored when pci masters are granted the bus. serr# i/od system error : serr# can be pulsed active by any pci device that detects a system error condition. upon sampling serr# active, the pch has the ability to generate an nmi, smi#, or interrupt. pme# i/od pci power management event : pci peripherals drive pme# to wake the system from low-power states s1?s5. pme# assertion can also be enabled to generate an sci from the s0 state. in some cases the pch may drive pme# active due to an internal wake event. the pch will not drive pme# hi gh, but it will be pulled up to vccsus3_3 by an intern al pull-up resistor. table 2-5. serial ata interf ace signals (sheet 1 of 3) name type description sata0txp sata0txn o serial ata 0 differential transmit pairs: these are outbound high-speed differential signals to port 0. in compatible mode, sata port 0 is the primary master of sata controller 1. sata0rxp sata0rxn i serial ata 0 differential receive pair: these are inbound high- speed differential si gnals from port 0. in compatible mode, sata port 0 is the primary master of sata controller 1. sata1txp sata1txn o serial ata 1 differential transmit pair: these are outbound high-speed differentia l signals to port 1. in compatible mode, sata port 1 is the secondary master of sata controller 1. sata1rxp sata1rxn i serial ata 1 differential receive pair: these are inbound high- speed differential si gnals from port 1. in compatible mode, sata port 1 is the secondary master of sata controller 1. ?sata2txp sata2txn o serial ata 2 differential transmit pair: these are outbound high-speed differentia l signals to port 2. in compatible mode, sata port 2 is the primary slave of sata controller 1. note: sata port 2 may not be available in all pch skus. table 2-4. pci interface signals (sheet 3 of 3) name type description
signal description 66 datasheet sata2rxp sata2rxn i serial ata 2 differential receive pair: these are inbound high- speed differential si gnals from port 2. in compatible mode, sata port 2 is the primary slave of sata controller 1. note: sata port 2 may not be available in all pch skus. sata3txp sata3txn o serial ata 3 differential transmit pair: these are outbound high-speed differentia l signals to port 3 in compatible mode, sata port 3 is the secondary slave of sata controller 1. note: sata port 3 may not be available in all pch skus. sata3rxp sata3rxn i serial ata 3 differential receive pair: these are inbound high- speed differential si gnals from port 3 in compatible mode, sata port 3 is the secondary slave of sata controller 1. note: sata port 3 may not be available in all pch skus. sata4txp sata4txn o serial ata 4 differential transmit pair: these are outbound high-speed differentia l signals to port 4. in compatible mode, sata port 4 is the primary master of sata controller 2. sata4rxp sata4rxn i serial ata 4 differential receive pair: these are inbound high- speed differential si gnals from port 4. in compatible mode, sata port 4 is the primary master of sata controller 2. sata5txp sata5txn o serial ata 5 differential transmit pair: these are outbound high-speed differentia l signals to port 5. in compatible mode, sata port 5 is the secondary master of sata controller 2. sata5rxp sata5rxn i serial ata 5 differential receive pair: these are inbound high- speed differential si gnals from port 5. in compatible mode, sata port 5 is the secondary master of sata controller 2. sataicompo o serial ata compensation output: connected to the external precision resistor to vcccore. must be connected to sataicompi on the board. sataicompi i serial ata compensation input: connected to sataicompo on the board. sata0gp / gpio21 i serial ata 0 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 0. when used as an inte rlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio21. sata1gp / gpio19 i serial ata 1 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 1. when used as an inte rlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio19. table 2-5. serial ata interf ace signals (sheet 2 of 3) name type description
datasheet 67 signal description sata2gp / gpio36 i serial ata 2 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 2. when used as an interlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio36. sata3gp / gpio37 i serial ata 3 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 3. when used as an interlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio37. sata4gp / gpio16 i serial ata 4 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 4. when used as an interlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio16. sata5gp / gpio49 / temp_alert# i serial ata 5 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 5. when used as an interlock switch status indication, this signal should be driven to ?0? to indicate that the switch is closed and to ?1? to indicate that the switch is open. this signal can instead be used as gpio49. sataled# od o serial ata led: this signal is an open -drain output pin driven during sata command activity. it is to be connected to external circuitry that can provide the current to drive a platform led. when active, the led is on. when tri-stat ed, the led is off. an external pull-up resistor to vcc3_3 is required. sclock / gpio22 od o sgpio reference clock: the sata controller us es rising edges of this clock to transmit serial data , and the target uses the falling edge of this clock to latch data. the sclock frequency supported is 32 khz. this signal can instead be used as a gpio22. sload /gpio38 od o sgpio load: the controller drives a ?1? at the rising edge of sclock to indicate either the start or end of a bit stream. a 4-bit vendor specific pattern will be transmitted right after the signal assertion. this signal can instead be used as a gpio38. sdataout0 / gpio39 sdataout1 / gpio48 od o sgpio dataout: driven by the controller to indicate the drive status in the following sequence: drive 0, 1, 2, 3, 4, 5, 0, 1, 2... these signals can instead be used as gpios. table 2-5. serial ata interf ace signals (sheet 3 of 3) name type description
signal description 68 datasheet 2.6 lpc interface 2.7 interrupt interface note: pirq interrupts can only be shared if it is configured as level sensitive. they cannot be shared if configured as edge triggered. table 2-6. lpc interface signals name type description lad[3:0] / fwh[3:0] i/o lpc multiplexed command, address, data: for lad[3:0], internal pull- ups are provided. lframe# / fwh4 o lpc frame: lframe# indicates the start of an lpc cycle, or an abort. ldrq0#, ldrq1# / gpio23 i lpc serial dma/master request inputs: ldrq[1:0]# are used to request dma or bus master access. th ese signals are typically connected to an external super i/o device. an inte rnal pull-up resistor is provided on these signal. this signal can instead be used as gpio23. table 2-7. interrupt signals name type description serirq i/od serial interrupt request: this pin implements the serial interrupt protocol. pirq[d:a]# i/od pci interrupt requests: in non-apic mode the pirqx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in section 5.8.6 . each pirqx# line has a separate route control register. in apic mode, these signals are connected to the internal i/o apic in the following fashion: pirqa# is connected to irq16, pirqb# to irq17, pirqc# to irq18, and pi rqd# to irq19. this frees the legacy interrupts. pirq[h:e]# / gpio[5:2] i/od pci interrupt requests: in non-apic mode the pirqx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in section 5.8.6 . each pirqx# line has a separate route control register. in apic mode, these signals are connected to the internal i/o apic in the following fashion: pirqe# is connected to irq20, pirqf# to irq21, pirqg# to irq22, and pi rqh# to irq23. this frees the legacy interrupts. these signals can instead be used as gpios.
datasheet 69 signal description 2.8 usb interface table 2-8. usb interface signals (sheet 1 of 2) name type description usbp0p, usbp0n i/o universal serial bus port [1:0] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 0. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp1p, usbp1n i/o universal serial bus port [1:0] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 1. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp2p, usbp2n i/o universal serial bus port [3:2] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 2. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp3p, usbp3n i/o universal serial bus port [3:2] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 3. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp4p, usbp4n i/o universal serial bus port [5:4] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 4. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp5p, usbp5n i/o universal serial bus port [5:4] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 5. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp6p, usbp6n i/o universal serial bus port [7:6] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 6. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp7p, usbp7n i/o universal serial bus port [7:6] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 7. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor.
signal description 70 datasheet usbp8p, usbp8n i/o universal serial bus port [9:8] differential : these differential pairs are used to transmit data/a ddress/command signals for port 8. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp9p, usbp9n i/o universal serial bus port [9:8] differential : these differential pairs are used to transmit data/a ddress/command signals for port 9. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp10p, usbp10n i/o universal serial bus port [11:10] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 10. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp11p, usbp11n i/o universal serial bus port [11:10] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 11. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp12p, usbp12n i/o universal serial bus port [13:12] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 12. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. usbp13p, usbp13n i/o universal serial bus port [13:12] differential : these differential pairs are used to transmit data/a ddress/command sign als for port 13. note: no external resistors are requir ed on these signals. the pch integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no exte rnal series resistor. oc0# / gpio59 oc1# / gpio40 oc2# / gpio41 oc3# / gpio42 oc4# / gpio43 oc5# / gpio9 oc6# / gpio10 oc7# / gpio14 i overcurrent indicators : these signals set corresponding bits in the usb controllers to indicate that an overcurrent condition has occurred. these signals can instead be used as gpios. notes: 1. oc# pins are not 5 v tolerant. 2. depending on platform configur ation, sharing of oc# pins may be required. 3. oc#[3:0] can only be used for ehci controller #1 4. oc#[4:7] can only be used for ehci controller #2 usbrbias o usb resistor bias: analog connection point for an external resistor. used to set transmit currents and intern al load resistors. usbrbias# i usb resistor bias complement: analog connection point for an external resistor. used to set transmit curr ents and internal load resistors. table 2-8. usb interface signals (sheet 2 of 2) name type description
datasheet 71 signal description 2.9 power management interface table 2-9. power management in terface signals (sheet 1 of 3) name type description pltrst# o platform reset: the pch asserts pltrst# to reset devices on the platform (such as, sio, fwh, lan, processor, etc.). the pch asserts pltrst# during power-up and when software initiates a hard reset sequence through the rese t control register (i/o register cf9h). the pch drives pltrst# inactive a minimum of 1 ms after both pwrok and sys_pwrok are driven high. th e pch drives pltrst# active a minimum of 1 ms when initiated th rough the reset control register (i/o register cf9h). note: pltrst# is in the vccsus3_3 well. thrmtrip# i thermal trip : when low, this signal indicates that a thermal trip from the processor occurred, and the pch will immediately transition to a s5 state. the pch will not wait for the processor stop grant cycle since the processor has overheated. slp_s3# o s3 sleep control: slp_s3# is for power plane control. this signal shuts off power to all non-critical systems when in s3 (suspend to ram), s4 (suspend to disk), or s5 (soft off) states. slp_s4# o s4 sleep control : slp_s4# is for power plane control. this signal shuts power to all non-critical systems when in the s4 (suspend to disk) or s5 (soft off) state. note: this pin must be used to cont rol the dram power to use the pch?s dram power-cycling feature. see chapter 5.13.10.2 for details slp_s5# / gpio63 o s5 sleep control: slp_s5# is for power plane control. this signal is used to shut power off to all non-critical systems when in the s5 (soft off) states. this signal can instead be used as gpio63 slp_m# o manageability sleep state control: slp_m# is for power plane control. if no management engine firmware is present, slp_m# will have the same timings as slp_s3#. slp_lan# / gpio29 o lan sub-system sleep control: when slp_lan# is deasserted it indicates that the phy device must be powered. when slp_lan# is asserted, power can be shut off to the phy device. slp_lan# will always be deasserted in s0 an d anytime slp_a# is deasserted. a slp_lan#/gpio select soft-strap can be used for systems not using slp_lan# functionality to reve rt to gpio29 usage. when soft- strap is 0 (default), pin function wi ll be slp_lan#. when soft-strap is set to 1, the pin returns to its regular gpio mode. the pin behavior is summarized in section 5.13.10.5 . pwrok i power ok: when asserted, pwrok is an in dication to the pch that all of its core power rails are powere d and stable. pwrok can be driven asynchronously. when pwrok is ne gated, the pch asserts pltrst#. note: it is required that the power rails associated with pci/pcie typically the 3.3 v, 5 v, and 12 v core well rails) have been valid for 99 ms prior to pch pw rok assertion to comply with the 100 ms pci 2.3/pcie 2.0 specification on pltrst# de- assertion. pwrok must not glitch, even if rsmrst# is low.
signal description 72 datasheet mepwrok i management engine power ok: when asserted , this signal indicates that power to the me subsystem is stable. pwrbtn# i power button: the power button will cause smi# or sci to indicate a system request to go to a sleep stat e. if the system is already in a sleep state, this signal will cause a wake event. if pwrbtn# is pressed for more than 4 seconds, this will cause an unconditional transition (power button override) to the s5 state. override will occur even if the system is in the s1?s4 states. this signal has an internal pull-up resistor and has an internal 16 ms de-bounce on the input. ri# i ring indicate: this signal is an input from a modem. it can be enabled as a wake event, and this is preserved across power failures. sys_reset# i system reset : this pin forces an in ternal reset after being debounced. the pch will reset immediately if the smbus is idle; otherwise, it will wait up to 25 ms 2 ms for the smbus to idle before forcing a reset on the system. rsmrst# i resume well reset: this signal is used fo r resetting the resume power plane logic. this si gnal must be asserted for at least 10 ms after the suspend power wells are valid. when de-asserted, this signal is an indication that the suspend power wells are stable. lan_rst# i lan reset: when asserted, the internal lan controller is in reset. this signal must remain asserted until at least 1 ms after the lan power well (vcclan) and me power well (vccme3_3) are valid. also, lan_rst# must assert a minimum of 40 ns before the lan power rails become inactive. when de-asserted, th is signal is an indication that lan power wells are stable. notes: 1. if intel lan is enabled, lan_ rst# must be connected to the same source as mepwrok. 2. if intel lan is not used or disabled, lan_rst# must be grounded through an exte rnal pull-down resistor. lan_phy_pw r_ctrl / gpio12 o lan phy power control: lan_phy_pwr_ctrl should be connected to lan_disable_n on the intel 8 2567 gbe phy. the pch will drive lan_phy_pwr_ctrl low to put the phy into a low power state when functionality is not needed. notes: lan_phy_pwr_ctrl can only be driven low if slp_lan# is de- asserted. this signal can instead be used as gpio12. wake# i pci express* wake event: sideband wake signal on pci express asserted by components requesting wake up. sus_stat# / gpio61 o suspend status: this signal is asserted by the pch to indicate that the system will be entering a lo w power state soon . this can be monitored by devices with memory th at need to switch from normal refresh to suspend refresh mode. it can also be used by other peripherals as an indication that th ey should isolate their outputs that may be going to powered-off planes. this signal can instead be used as gpio61. susclk / gpio62 o suspend clock: this clock is an output of the rtc generator circuit to use by other chips for refresh clock. this signal can instead be used as gpio62. table 2-9. power management interface signals (sheet 2 of 3) name type description
datasheet 73 signal description drampwrok o dram power ok: this signal should connect to the processor?s sm_drampwrok pin. the pch asserts this pin to indicate when dram power is on. note: 1. this pin should have external pull-up to the an always on voltage level of 1.05 v / 1.1 v pmsynch o power management sync: provides state information from the pch to the processor relevant to c-state transitions. clkrun# (mobile only) / gpio32 (desktop only) i/o pci clock run: mobile only signal used to support pci clkrun protocol. connects to peripherals that need to request clock restart or prevention of clock stopping. mobile: can be configured as clkrun# desktop: gpio mode only. batlow# (mobile only) / gpio72 (desktop only) i battery low: mobile only signal is an input from the battery to indicate that there is insufficient power to boot the system. assertion will prevent wake from s3?s5 state. this signal can also be enabled to cause an smi# when asserted. mobile: can be configured as batlow# desktop: gpio mode only. note: desktop requires a weak external pull-up sys_pwrok i system power ok: this generic power good input to the pch is driven and used in a platform-spe cific manner. while pwrok always indicates that the core well of the pch is stable, sys_pwrok is used to inform the pch that power is stable to some other system component(s) and the system is ready to start the exit from reset. the particular component(s) associated with sys_pwrok can vary across platform types supported by the same generation of the pch. depending on the platform, the pch may expect (and wait) for sys_pwrok at different stages of the boot flow before continuing. stp_pci# / gpio34 o stop pci clock: this signal is an outp ut to the external clock generator for it to turn off the pci clock. this signal can instead be used as gpio34. table 2-9. power management in terface signals (sheet 3 of 3) name type description
signal description 74 datasheet 2.10 processor interface 2.11 smbus interface table 2-10. processor interface signals name type description rcin# i keyboard controller reset processor: the keyboard controller can generate init# to the processor. this saves the external or gate with the pch?s other sources of init#. when the pch detects the assertion of this signal , init# is generated for 16 pci clocks. note: the pch will ignore rcin# assertion during transitions to the s1, s3, s4, and s5 states. a20gate i a20 gate: a20gate is from the keyboard controller. the signal acts as an alternative method to force the a20m# signal active. it saves the external or gate needed with various other chipsets. procpwrgd o processor power good: this signal should be connected to the processor?s vccpwrgood_1 and vccp wrgood_0 input to indicate when the processor power is valid. table 2-11. sm bus interface signals name type description smbdata i/od smbus data: external pull-up resistor is required. smbclk i/od smbus clock: external pull-up re sistor is required. smbalert# / gpio11 i smbus alert: this signal is used to wa ke the system or generate smi#. this signal can instead be used as gpio11.
datasheet 75 signal description 2.12 system management interface 2.13 real time clock interface table 2-12. system management interface signals name type description intruder# i intruder detect: this signal can be set to disable system if box detected open. this signal?s status is readable, so it can be used like a gpi if the intruder detection is not needed. sml0data i/od system management link 0 data: smbus link to external phy. external pull-up is required. sml0clk i/od system management link 0 clock: smbus link to external phy. external pull-up is required. sml0alert# / gpio60 / o od smlink alert 0: output of the integrated lan controller to external phy. external pull-up resistor is required. this signal can instead be used as gpio60. sml1alert# / gpio74 o od smlink alert 1: alert for the intel me smbu s controller to optional embedded controller or bmc. extern al pull-up resistor is required. this signal can instead be used as gpio74. sml1clk / gpio58 i/od system management link 1 clock: smbus link to optional embedded controller or bmc. extern al pull-up resistor is required. this signal can instead be used as gpio58. sml1data / gpio75 i/od system management link 1 data: smbus link to optional embedded controller or bmc. extern al pull-up resistor is required. this signal can instead be used as gpio75. table 2-13. real time clock interface name type description rtcx1 special crystal input 1: this signal is connected to the 32.768 khz crystal. if no external crystal is used, then rtcx1 can be driven with the desired clock rate. rtcx2 special crystal input 2: this signal is connected to the 32.768 khz crystal. if no external crystal is used, then rtcx2 should be left floating.
signal description 76 datasheet 2.14 miscellaneous signals table 2-14. miscellaneous signals name type description intvrmen i internal voltage regulator enable: this signal enables the internal 1.05 v regulators. this signal must be alwa ys pulled-up to vccrtc. spkr o speaker: the spkr signal is the output of counter 2 and is internally ?anded? with port 61h bit 1 to pr ovide speaker data enable. this signal drives an external speaker dr iver device, which in turn drives the system speaker. upon pltr st#, its output state is 0. note: spkr is sampled as a functional strap. see section 2.28.1 for more details. there is a weak integrated pull-down resistor on spkr pin. rtcrst# i rtc reset: when asserted, this signal rese ts register bits in the rtc well. notes: 1. unless cmos is be ing cleared (only to be done in the g3 power state), the rtcrst# input must always be high when all other rtc power planes are on. 2. in the case where the rtc battery is dead or missing on the platform, the rtcrst# pin must rise before the rsmrst# pin. srtcrst# i secondary rtc reset: this signal resets the manageability register bits in the rtc well when the rtc battery is removed. notes: 1. the srtcrst# input must always be high when all other rtc power planes are on. 2. in the case where the rtc battery is dead or missing on the platform, the srtcrst# pin must rise before the rsmrst# pin.
datasheet 77 signal description 2.15 intel ? high definition audio link table 2-15. intel ? high definition audio link signals name type description hda_rst# o intel ? high definition audio reset: master hardware reset to external codec(s). hda_sync o intel ? high definition audio sync: 48 khz fixed rate sample sync to the codec(s). also used to encode the stream number. note: this signal is sampled as a functional strap. see section 2.28.1 for more details. there is a weak integrated pull-down resistor on this pin. hda_bclk o intel ? high definition audio bit clock output: 24.000 mhz serial data clock generated by the intel ? high definition audio controller (the pch). this signal has a weak internal pull-down resistor. hda_sdo o intel ? high definition audio serial data out: serial tdm data output to the codec(s). this serial output is double-pumped for a bit rate of 48 mb/s for intel ? high definition audio. note: this signal is sampled as a functional strap. see section 2.28.1 for more details. there is a weak integrated pull-down resistor on this pin. hda_sdin[3:0] i intel ? high definition audio serial data in [3:0] : serial tdm data inputs from the codecs. the serial input is single- pumped for a bit rate of 24 mb/s for intel ? high definition audio. these signals have integrated pull-down resistors, which are always enabled. note: during enumeration, the pch will drive this signal. during normal operation, the codec will drive it. hda_dock_en# (mobile only) / gpio33 o high definition audio dock enable: this mobile signal controls the external intel ? hd audio docking isolation logic. this is an active low signal. when de-asserted the external docking switch is in isolate mode. when asserted the external docking switch electrically connects the intel ? hd audio dock signals to the corresponding pch signals. mobile: can be configured as hda_dock_en# desktop: gpio mode only. note: this signal is sampled as a functional strap. see section 2.28.1 for more details. hda_dock_rst# / gpio13 o intel high definition audio dock reset: this signal is a dedicated hda_rst# signal for the codec(s) in the docking station. aside from operating independently from the normal hda_rst# signal, it otherwise works similarly to the hda_rst# signal. this signal is shared with gpio13. this signal defaults to gpio13 mode after pltrst#. bios is re sponsible for configuring gpio13 to hda_dock_rst# mode.
signal description 78 datasheet 2.16 controller link 2.17 serial peripheral interface (spi) table 2-16. controller link signals signal name type description cl_rst1# / tp20 (desktop only) o controller link reset 1: controller link reset that connects to a wireless lan device supporting intel ? active management te c h n o l o g y. cl_clk1 / tp18 (desktop only) i/o controller link clock 1 : bi-directional clock that connects to a wireless lan device supporting intel ? active management te c h n o l o g y. cl_data1 / tp19 (desktop only) i/o controller link data 1: bi-directional data that connects to a wireless lan device supporting intel ? active management te c h n o l o g y. table 2-17. serial peripheral interface (spi) signals name type description spi_cs0# o spi chip select 0 : used as the spi bus request signal. spi_cs1# o spi chip select 1 : used as the spi bus request signal. spi_miso i spi master in slave out : data input pin for the pch. spi_mosi o spi master out slave in : data output pin for the pch. note: this signal is sampled as a functional strap. see section 2.28.1 for more details. there is a weak integrated pull-down resistor on this pin. spi_clk o spi clock : spi clock signal, during idle the bus owner will drive the clock signal low. 17.86 mhz and 31.25 mhz.
datasheet 79 signal description 2.18 intel ? quiet system technology and thermal reporting table 2-18. intel ? quiet system technology signals signal name type description pwm[3:0] (desktop only) / tp[12:9] (mobile only) od o fan pulse width modulation outputs: pulse width modulated duty cycle output signal that is used for intel ? quiet system te c h n o l o g y. when controlling a 3-wire fan, this signal controls a power transistor that, in turn, controls power to the fan. when controlling a 4-wire fan, this signal is connected to the ?control? signal on the fan. the polarity of this signal is programmable. the output default is low. these signals are 5 v tolerant. tach0 (desktop only) / gpio17 tach1 (desktop only) / gpio1 tach2 (desktop only) / gpio6 tach3 (desktop only) / gpio7 i fan tachometer inputs: tachometer pulse inpu t signal that is used to measure fan speed. this signal is connected to the ?sense? signal on the fan. these signals can instead be used as a gpios. sst i/o simple serial transport: single-wire, serial bus. connect to sst compliant devices such as sst thermal sensors or voltage sensors. peci i/o platform environment control interface: single-wire, serial bus. connect to corresponding pi n of the processor for accessing processor digita l thermometer.
signal description 80 datasheet 2.19 jtag signals note: jtag pin definitions are from ieee standard test access port and boundary-scan architecture (ieee std. 1149.1-2001). 2.20 clock signals table 2-19. jtag signals name type description jtag_tck i test clock input (tck): the test clock input provides the clock for the jtag test logic. jtag_tms i test mode select (tms): the signal is decoded by the test access port (tap) controller to control test operations. jtag_tdi i test data input (tdi): serial test instructions and data are received by the test logic at tdi. jtag_tdo od test data output (tdo): tdo is the serial output for test instructions and data from the test logic defined in this standard. trst# i test reset (rst): rst is an active low as ynchronous signal that can reset the test access port (tap) controller. note: the rst signal is optional per the ieee 1149.1 specification, and is not fu nctional for boundary scan te s t i n g . table 2-20. clock interface signals (sheet 1 of 3) name type description clkin_bclk_p, clkin_bclk_n i 133 mhz differential reference clock from a clock chip in buffer-through mode. clkout_bclk0_p / clkout_pcie8_p, clkout_bclk0_n / clkout_pcie8_n o 133 mhz differential output to processor or 100 mhz pcie* gen 1.1 specification differential output to pci express devices. clkout_dp_p / clkout_bclk1_p, clkout_dp_n / clkout_bclk1_n o 120 mhz differential output for displayport reference or 133 mhz differential output to processor clkin_dmi_p, clkin_dmi_n i 100 mhz differential reference clock from a clock chip in buffer-through mode. note: this input clock is required to be pcie 2.0 jitter spec compliant from a clock chip, for pcie 2.0 discrete grap hics platforms. clkout_dmi_p, clkout_dmi_n o 100 mhz gen2 specification jitter tolerant differential output to processor. clkin_sata_p / cksscd_p, clkin_sata_n / cksscd_n i 100 mhz differential reference clock from a clock chip, provided separately from clkin_dmi, for use only as a 100 mhz source for sata. clkin_dot96p, clkin_dot96n i 96 mhz differential referenc e clock from a clock chip.
datasheet 81 signal description xtal25_in i connection for 25 mhz crys tal to the pch oscillator circuit. xtal25_out o connection for 25 mhz crys tal to the pch oscillator circuit. refclk14in i single-ended 14.31818 mhz reference clock driven by a clock chip. clkout_peg_a_p, clkout_peg_a_n o 100 mhz gen2 specification differential output to pci- express graphics device clkout_peg_b_p, clkout_peg_b_n o 100 mhz gen2 specification differential output to a second pci-express graphics device peg_a_clkrq# / gpio47 , peg_b_clkrq# / gpio56 i clock request sign als for peg slots these signals can instead be used as gpios clkout_pcie[7:0]p, clkout_pcie[7:0]n o 100 mhz pcie* gen1.1 specif ication differential output to pci express* devices pcieclkrq0# / gpio73 , pcieclkrq1# / gpio18 , pcieclkrq2# / gpio20 , pcieclkrq3# / gpio25 , pcieclkrq4# / gpio26 , pcieclkrq5# / gpio44 , pcieclkrq6# / gpio45 , pcieclkrq7# / gpio46 i clock request sign als for pci express 100 mhz clocks these signals can instead be used as gpios note: external pull-up resistor required if used for clkreq# functionality clkout_pci[4:0] o single ended 33.3 mhz outputs to pci connectors/ devices. one of these signals must be connected to clkin_pciloopback to function as a pci clock loopback. this allows skew control for variable lengths of clkout_pci[4:0]. clkoutflex0 / gpio64 o configurable as a gpio or as an intel ? management firmware programmable outp ut clock, which can be configured as one of the following: ?33 mhz ? 14.31818 mhz ? dc output logic ?0? (default) note: default clock setting requires no intel me fw configuration. clkoutflex1 / gpio65 o configurable as a gpio or as an intel ? management firmware programmable outp ut clock, which can be configured as one of the following: non functional and unsupported clock output value (default) ?33 mhz ? 14.31818 mhz output to sio ? dc output logic ?0? note: default clock setting requires no intel me fw configuration. table 2-20. clock interface signals (sheet 2 of 3) name type description
signal description 82 datasheet 2.21 lvds signals (mobile only) clkoutflex2 / gpio66 o configurable as a gpio or as an intel ? management firmware programmable output clock which can be configured as one of the following: ? 33 mhz ? 14.31818 mhz (default) ? dc output logic ?0? note: default clock setting requires no intel me fw configuration. clkoutflex3 / gpio67 o configurable as a gpio or as an intel ? management firmware programmable output clock which can be configured as one of the following: ? 48 mhz (default) ? 33 mhz ? 14.31818 mhz output to sio ? dc output logic ?0? note: default clock setting requires no intel me fw configuration. xclk_rcomp i/o differential clock buffer impedance compensation : connected to an external pr ecision resistor (90.9 ohms 1%) to vccio. table 2-21. lvds interface signals (sheet 1 of 2) name type description lvdsa_data[3:0] o lvds channel a differentia l data output ? positive lvdsa_data#[3:0] o lvds channel a differential data output ? negative lvdsa_clk o lvds channel a differential clock output ? positive lvdsa_clk# o lvds channel a differential clock output ? negative lvdsb_data[3:0] o lvds channel b differential data output ? positive lvdsb_data#[3:0] o lvds channel b differential data output ? negative lvdsb_clk o lvds channel b differential clock output ? positive lvdsb_clk# o lvds channel b differential clock output ? negative l_ddc_clk i/o edid support for flat panel display l_ddc_data i/o edid support for flat panel display l_ctrl_clk i/o control signal (clock) for exte rnal ssc clock chip control ? optional l_ctrl_data i/o control signal (data) for external ssc clock chip control ? optional l_vdd_en o lvds panel power enable: panel power control enab le control for lvds. this signal is also called vdd_dbl in the cpis specification and is used to control the vdc source to the panel logic. table 2-20. clock interface signals (sheet 3 of 3) name type description
datasheet 83 signal description 2.22 analog display /crt dac signals l_bklten o lvds backlight enable: panel backlight enable control for lvds. this signal is also called ena_bl in the cpis specification and is used to gate power into the backlight circuitry. l_bkltctl o panel backlight brightness control: panel brightness control for lvds. this signal is also called vary_bl in the cpis specification and is used as the pw m clock input signal. lvds_vrefh o test mode voltage reference. lvds_vrefl o test mode voltage reference. lvd_ibg i lvds reference current. lvd_vbg o test mode voltage reference. table 2-22. analog display interface signals name type description crt_red o a red analog video output: this signal is a crt analog video output from the internal color palette dac. crt_green o a green analog video output: this signal is a crt analog video output from the internal color palette dac. crt_blue o a blue analog video output: this signal is a crt analog video output from the internal color palette dac. dac_iref i/o a resistor set: set point resistor for the internal color palette dac. a 1 kohm 1% resistor is required between dac_iref and motherboard ground. crt_hsync o hvcmos crt horizontal synchronization: this signal is used as the horizontal sync (polarity is programmable) or ?sync interval?. 2.5 v output crt_vsync o hvcmos crt vertical synchronization: this signal is used as the vertical sync (polarity is programmable). 2.5v output. crt_ddc_clk i/o cod monitor control clock crt_ddc_data i/o cod monitor control data crt_irtn i/o cod monitor interrupt return table 2-21. lvds interface signals (sheet 2 of 2) name type description
signal description 84 datasheet 2.23 intel ? flexible display interface (fdi) 2.24 digital display signals table 2-23. intel ? flexible display interface signals signal name type description fdi_rxp[3:0] i display link 1 positive data in fdi_rxn[3:0] i display link 1 negative data in fdi_fsync[0] o display link 1 frame sync fdi_lsync[0] o display link 1 line sync fdi_rxp[7:4] i display link 2 positive data in fdi_rxn[7:4] i display link 2 negative data in fdi_fsync[1] o display link 2 frame sync fdi_lsync[1] o display link 2 line sync fdi_int o used for display interrupts from the pch to processor. table 2-24. digital display inte rface signals (sheet 1 of 3) name type description ddpb_[3:0]p o port b: capable of sdvo / hdmi / dvi / displayport sdvo ddpb_[0]p: red ddpb_[1]p: green ddpb_[2]p: blue ddpb_[3]p: clock hdmi / dvi port b data and clock lines ddpb_[0]p: tmdsb_data2 ddpb_[1]p: tmdsb_data1 ddpb_[2]p: tmdsb_data0 ddpb_[3]p: tmdsb_clk displayport port b ddpb_[0]p: display port lane 0 ddpb_[1]p: display port lane 1 ddpb_[2]p: display port lane 2 ddpb_[3]p: display port lane 3
datasheet 85 signal description ddpb_[3:0]n o port b: capable of sdvo / hdmi / dvi / displayport sdvo ddpb_[0]n: red complement ddpb_[1]n: green complement ddpb_[2]n: blue complement ddpb_[3]n: clock complement hdmi / dvi port b data and clock line complements ddpb_[0]n: tmdsb_data2b ddpb_[1]n: tmdsb_data1b ddpb_[2]n: tmdsb_data0b ddpb_[3]n: tmdsb_clkb displayport port b ddpb_[0]n: display port lane 0 complement ddpb_[1]n: display port lane 1 complement ddpb_[2]n: display port lane 2 complement ddpb_[3]n: display port lane 3 complement ddpb_auxp i/o port b: display port aux ddpb_auxn i/o port b: display port aux complement ddpb_hpd i port b: tmdsb_hpd hot plug detect sdvo_crtlclk i/o port b: hdmi control clock. sh ared with port b sdvo sdvo_ctrldata i/o port b: hdmi control data. shared with port b sdvo sdvo_intp i sdvo_intp: serial digital vide o input interrupt sdvo_intn i sdvo_intn: serial digital video inpu t interrupt complement. sdvo_tvclkinp i sdvo_tvclkinp: serial digital video tvout synchronization clock. sdvo_tvclkinn i sdvo_tvclkinn: serial digital video tvout synchronization clock complement. sdvo_stallp i sdvo_stallp : serial digital vi deo field stall. sdvo_stalln i sdvo_stalln: serial digital video fi eld stall complement. ddpc_[3:0]p o port c: capable of hdmi / dvi / dp hdmi / dvi port c data and clock lines ddpc_[0]p: tmdsc_data2 ddpc_[1]p: tmdsc_data1 ddpc_[2]p: tmdsc_data0 ddpc_[3]p: tmdsc_clk displayport port c ddpc_[0]p: display port lane 0 ddpc_[1]p: display port lane 1 ddpc_[2]p: display port lane 2 ddpc_[3]p: display port lane 3 table 2-24. digital display inte rface signals (sheet 2 of 3) name type description
signal description 86 datasheet ddpc_[3:0]n o port c: capable of hdmi / dvi / displayport hdmi / dvi port c data and clock line complements ddpc_[0]n: tmdsc_data2b ddpc_[1]n: tmdsc_data1b ddpc_[2]n: tmdsc_data0b ddpc_[3]n: tmdsc_clkb displayport port c complements ddpc_[0]n: lane 0 complement ddpc_[1]n: lane 1 complement ddpc_[2]n: lane 2 complement ddpc_[3]n: lane 3 complement ddpc_auxp i/o port c: display port aux ddpc_auxn i/o port c: display port aux complement ddpc_hpd i port c: tmdsc_hpd hot plug detect ddpc_ctrlclk i/o hdmi port c control clock ddpc_ctrldata i/o hdmi port c control data ddpd_[3:0]p o port d: capable of hdmi / dvi / dp hdmi / dvi port d data and clock lines ddpd_[0]p: tmdsc_data2 ddpd_[1]p: tmdsc_data1 ddpd_[2]p: tmdsc_data0 ddpd_[3]p: tmdsc_clk displayport port d ddpd_[0]p: display port lane 0 ddpd_[1]p: display port lane 1 ddpd_[2]p: display port lane 2 ddpd_[3]p: display port lane 3 ddpd_[3:0]n o port d: capable of hdmi / dvi / displayport hdmi / dvi port d data and clock line complements ddpd_[0]n: tmdsc_data2b ddpd_[1]n: tmdsc_data1b ddpd_[2]n: tmdsc_data0b ddpd_[3]n: tmdsc_clkb displayport port d complements ddpd_[0]n: lane 0 complement ddpd_[1]n: lane 1 complement ddpd_[2]n: lane 2 complement ddpd_[3]n: lane 3 complement ddpd_auxp i/o port d: display port aux ddpd_auxn i/o port d: display port aux complement ddpd_hpd i port d: tmdsd_hpd hot plug detect ddpd_ctrlclk i/o hdmi port d control clock ddpd_ctrldata i/o hdmi port d control data table 2-24. digital display inte rface signals (sheet 3 of 3) name type description
datasheet 87 signal description 2.25 general purpose i/o signals notes: 1. gpio configuration registers within the core well are reset whenever pwrok is de- asserted. 2. gpio configuration registers within the suspend well are reset when rsmrst# is asserted, cf9h reset (06h or 0eh) event occurs, or sys_rst# is asserted. 3. gpio24 is an exception to the other gpio signals in the suspend well and is not reset by cf9h reset (06h or 0eh). table 2-25. general purpose i/o signals (sheet 1 of 3) name type tolerance power well default blink capability description gpio75 i/o 3.3 v suspend native no multiplexed with sml1data. (note 10) gpio74 i/o 3.3 v suspend native no multiplexed with sml1alert#. (note 10) gpio73 i/o 3.3 v suspend native no multiplexed with pcieclkrq0# gpio72 i/o 3.3 v suspend native (mobile only) no mobile: multiplexed with batlow#. desktop: unmultiplexed (note 4) gpio67 i/o 3.3 v core native no multiplexed with clkoutflex3 gpio66 i/o 3.3 v core native no multiplexed with clkoutflex2 gpio65 i/o 3.3 v core native no multiplexed with clkoutflex1 gpio64 i/o 3.3 v core native no multiplexed with clkoutflex0 gpio63 i/o 3.3 v suspend native no multiplexed with slp_s5# gpio62 i/o 3.3 v suspend native no multiplexed with susclk gpio61 i/o 3.3 v suspend native no multiplexed with sus_stat# gpio60 i/o 3.3 v suspend native no multiplexed with sml0alert# gpio59 i/o 3.3 v suspend native no multiplexed with oc[0]#. (note 10) gpio58 i/o 3.3 v suspend native no multiplexed with sml1clk gpio57 i/o 3.3 v suspend gpi no unmultiplexed gpio56 i/o 3.3 v suspend native no multiplexed with peg_b_clkrq# gpio55 i/o 3.3 v core native no multiplexed with gnt3# gpio54 i/o 5.0 v core native no multi plexed with req3#. (note 10) gpio53 i/o 3.3 v core native no multiplexed with gnt2# gpio52 i/o 5.0 v core native no multi plexed with req2#.(note 10) gpio51 i/o 3.3 v core native no multiplexed with gnt1# gpio50 i/o 5.0 v core native no multi plexed with req1#.(note 10) gpio49 i/o 3.3v core gpi no multiplexed with sata5gp. gpio48 i/o 3.3 v core gpi no multiplexed with sdataout1. gpio47 i/o 3.3v suspend native no multiplexed with peg_a_clkrq# gpio46 i/o 3.3v suspend native no multiplexed with pcieclkrq7# gpio45 i/o 3.3v suspend native no multiplexed with pcieclkrq6#
signal description 88 datasheet gpio44 i/o 3.3v suspend native no multiplexed with pcieclkrq5# gpio[43:40] i/o 3.3 v suspend native no multiplexed with oc[4:1]#. (note 10) gpio39 i/o 3.3 v core gpi no multiplexed with sdataout0. gpio38 i/o 3.3 v core gpi no multiplexed with sload. gpio37 i/o 3.3 v core gpi no multiplexed with sata3gp. gpio36 i/o 3.3 v core gpi no multiplexed with sata2gp. gpio35 i/o 3.3 v core gpo no unmultiplexed. gpio34 i/o 3.3 v core gpi no multiplexed with stp_pci# gpio33 i/o 3.3 v core gpo no multiplexed with hda_dock_en# (mobile only) (note 4) gpio32 i/o 3.3 v core gpo, native (mobile only) no desktop only: unmultiplexed mobile only: used as clkrun#, unavailable as gpio. (note 4) gpio31 i/o 3.3 v suspend gpi yes mult iplexed with acpresent (note 6) gpio30 i/o 3.3 v suspend gpi yes multiplexed with sus_pwr_dn_ack desktop: cannot be used for native function. used as gpio30 only. mobile: used as sus_pwr_dn_ack or gpio30 gpio29 i/o 3.3 v suspend gpi no multi plexed with slp_lan# (note 9) gpio28 i/o 3.3 v suspend gpi yes unmultiplexed gpio27 i/o 3.3 v suspend gpo yes unmultiplexed gpio26 i/o 3.3 v suspend native yes m ultiplexed with pcieclkrq4# gpio25 i/o 3.3 v suspend native yes m ultiplexed with pcieclkrq3# gpio24 i/o 3.3 v suspend gpo yes unmultiplexed note: gpio24 configuration register bits are not cleared by cf9h reset event. gpio23 i/o 3.3 v core native yes multiplexed with ldrq1#. gpio22 i/o 3.3 v core gpi yes multiplexed with sclock gpio21 i/o 3.3 v core gpi yes multiplexed with sata0gp gpio20 i/o 3.3 v core native yes mu ltiplexed with pcieclkrq2# gpio19 i/o 3.3 v core gpi yes multiplexed with sata1gp gpio18 i/o 3.3 v core native yes (note 7) multiplexed with pcieclkrq1# gpio17 i/o 3.3 v core gpi yes multiplexed with tach0. mobile: used as gpio17 only. gpio16 i/o 3.3 v core gpi yes multiplexed with sata4gp. gpio15 i/o 3.3 v suspend gpo yes unmultiplexed gpio14 i/o 3.3 v suspend native yes multiplexed with oc7# table 2-25. general purpose i/o signals (sheet 2 of 3) name type tolerance power well default blink capability description
datasheet 89 signal description notes: 1. all gpios can be configured as either input or output. 2. gpi[15:0] can be configured to cause a smi# or sci. note that a gpi can be routed to either an smi# or an sci, but not both. 3. some gpios exist in the vccsus3_3 power plan e. care must be take n to make sure gpio signals are not driven high into powered-down planes. also, external devices should not be driving powered down gpios high. some gpios may be connected to pins on devices that exist in the core well. if these gpios are outp uts, there is a danger that a loss of core power (pwrok low) or a power bu tton override event will result in the pch driving a pin to a logic 1 to another device that is powered down. 4. the functionality that is multiplexed with the gpio may not be used in desktop configuration. 5. when this signal is configured as gp o, the output stage is an open drain. 6. in a me disabled system, gpio31 ma y be used as acpresent from the ec. 7. gpio18 will toggle at a frequency of approxim ately 1 hz when the signal is programmed as a gpio (when configured as an output) by bios. 8. this pins are used as functional straps. see section 2.28.1 for more detail. 9. for functional purposes of slp_lan# (the nati ve functionality of the pin), this pin always behaves as an output even if the gpio defaults to an input. therefor e, this pin cannot be used as a true gpio29 by sy stem designers. if host bios does not control slp_lan# control, slp_lan# behavior wi ll be based on th e setting of the rtc backed slp_lan# default bit (d31:f0:a4h:bit 8). 10. when the multiplexed gpio is used as gpio functionality, ca re should be taken to ensure the signal is stable in its inactive state of the native functionality, immediately after reset until it is initialized to gpio functionality. 11. gpio13 is powered by vccsushda (either 3.3 v or 1.5 v). voltage tolerance on the signal is the same as vccsushda. gpio13 i/o 3.3 v or 1.5 v (note 11) hda suspend gpi yes multiplexed with hda_dock_rst# (mobile only) (note 4) gpio12 i/o 3.3 v suspend native yes multiplexed with lan_phy_pwr_ctrl. gpio / native functionality controlled using soft strap. gpio11 i/o 3.3 v suspend native yes multi plexed with smbalert#. (note 10) gpio10 i/o 3.3 v suspend native yes mul tiplexed with oc6#. (note 10) gpio9 i/o 3.3 v suspend native yes multiplexed with oc5#. (note 10) gpio8 i/o 3.3 v suspend gpo yes unmultiplexed gpio[7:6] i/o 3.3 v core gpi yes multiplexed with tach[3:2]. mobile: used as gpio[7:6] only. gpio[5:2] i/od 5 v core gpi yes multiplexed with pirq[h:e]# (note 5). gpio1 i/o 3.3 v core gpi yes multiplexed with tach1. mobile: used as gpio1 only. gpio0 i/o 3.3 v core gpi yes unmultiplexed table 2-25. general purpose i/o signals (sheet 3 of 3) name type tolerance power well default blink capability description
signal description 90 datasheet 2.26 manageability signals the following signals can be optionally used by the pch management engine supported applications and appropriately configured by management engine firmware. when configured and used as a manageability function, the associated host gpio functionality is no longer available. if the manageability function is not used in a platform, the signal can be used as a host general purpose i/o or a native function. note: slp_lan#/gpio29 may also be configured by me fw in sx/moff. see slp_lan#/gpio29 signal description for details. table 2-26. manageability signals name type description gpio30/ proc_missing (desktop only) i used to indicate processor missing to the pch management engine. sata5gp / gpio49 / temp_alert# o used as an alert (active low) to indicate to the external controller (such as, ec or sio) that temperatures are out of range for the pch or graphics /memory controller or the processor core. acpresent (mobile only)/ gpio31 i used in mobile systems. in put signal from the embedded controller to indicate ac power source or the system battery. active high indicates ac power. note: this signal is required unl ess using intel management engine ignition firmware. sus_pwr_dn_ack (mobile only)/ gpio30 o active high output signal asserted by the intel ? me to the embedded controller, when it does not require the pch suspend well to be powered. note: this signal is required by management engine in all platforms.
datasheet 91 signal description 2.27 power and ground signals table 2-27. power and ground signals (sheet 1 of 2) name description dcprtc decoupling: this signal is for rtc decoupli ng only. this signal requires decoupling. dcpsst decoupling: internally generated 1.5v powe red off of suspend well. this signal requires decoupling. decoupling is required even if this feature is not used. dcpsus decoupling: 1.05 v suspend well supply that is supplied internally by internal vrs. this sign al requires decoupling. dcpsusbyp decoupling: 1.05 v suspend well supply that is supplied internally by internal vrs. this sign al requires decoupling. v5ref reference for 5 v tolerance on core well inputs. this power ma y be shut off in s3, s4, s5 or g3 states. v5ref_sus reference for 5 v tolerance on suspen d well inputs. this power is not expected to be shut off unle ss the system is unplugged. vcccore 1.05 v supply for core well logic. this power may be shut off in s3, s4, s5 or g3 states. vcc3_3 3.3 v supply for core well i/o buffers. th is power may be shut off in s3, s4, s5 or g3 states. vccme 1.05 v supply for the intel ? management engine. this plane must be on in s0 and other times the intel ? management engine is used. vccme3_3 3.3 v supply for the intel ? management engine i/o and spi i/o. this is a separate power plane that may or may not be powered in s3?s5 states. this plane must be on in s0 and other times the intel ? management engine is used. vccdmi power supply for dmi. 1.1 v or 1.05 v based on the processo r used. see the respective processor documentation to find the appropriate voltage level. vcclan 1.05 v supply for lan controller logic. this is a separate power plane that may or may not be powered in s3?s5 states. note: vcclan may be grounded if intel lan is disabled. vccrtc 3.3 v (can drop to 2.0 v min. in g3 st ate) supply for the rt c well. this power is not expected to be shut off un less the rtc battery is removed or completely drained. note: implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. clearing cmos in a pch-based platform can be done by using a jumper on rtcrst# or gpi. vccio 1.05 v supply for core well i/o buffers. this power may be shut off in s3, s4, s5 or g3 states. vccsus3_3 3.3 v supply for suspend well i/o buffers . this power is not expected to be shut off unless the sy stem is unplugged. vccsushda suspend supply for intel ? high definition au dio. this pin can be either 1.5 or 3.3 v. vccvrm 1.8 v supply for internal pll and vrms vccpnand this pin should be pulled up to 1.8v or 3.3v.
signal description 92 datasheet vccadplla 1.05 v supply for display pll a analog po wer. this power is supplied by the core well. vccadpllb 1.05 v supply for display pll b analog po wer. this power is supplied by the core well. vccadac 3.3 v supply for display dac analog power. this power is supplied by the core well. vss grounds. vss_nctf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected to ground. vcc3_3_nctf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected the same as the vcc3_3 pins. vccrtc_nctf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected to dcprtc or left as no connect. vccsus3_3_n ctf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected the same as the vccsus3_3 pins. v_cpu_io_nc tf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected the same as the v_cpu_io pins. tp22_nctf non-critical to function . these pins are for packag e mechanical reliability. note: these pins should be connected to ground. vccaclk 1.05 v analog power supply for internal cl ock pll. this requ ires a filter and power is supplied by the core well. note: this pin can be left as no conne ct in on-die vr enabled mode (default). vccsatapll 1.05 v analog power supply for sata. th is signal is used for the analog power for sata. this requires an lc fi lter and is supplied by the core well. must be powered even if sata is not used. note: this pin can be left as no conne ct in on-die vr enabled mode (default). vccapllexp 1.05 v analog power for dmi. this powe r is supplied by th e core well. this requires an lc filter. note: this pin can be left as no conne ct in on-die vr enabled mode (default). vccfdipll 1.05 v analog power supply for the fdi pl l. this power is supplied with core well. this requires an lc filter. note: this pin can be left as no conne ct in on-die vr enabled mode (default). vccalvds 3.3 v analog power supply for lvds (mobile only) vcctx_lvds 1.8 v i/o power supply for lvds. (mobile only) this power is supplied by core well. v_cpu_io powered by the same supply as the proces sor i/o voltage. this supply is used to drive the processor interface sign als. see the respective processor documentation to find the appropriate voltage level. table 2-27. power and ground signals (sheet 2 of 2) name description
datasheet 93 signal description 2.28 pin straps 2.28.1 functional straps the following signals are used for static configuration. they are sampled at the rising edge of pwrok to select configurations (excep t as noted), and then revert later to their normal usage. to invoke the associated mode, the signal should be driven at least four pci clocks prior to the time it is sampled. the pch has implemented soft straps. soft straps are used to configure specific functions within the pch and processor very early in the boot process before bios or sw intervention. when descriptor mode is enabled, the pch will read soft strap data out of the spi device prior to the de-asserti on of reset to both the management engine and the host system. see section 5.24.2 for information on descriptor mode. table 2-28. functional strap definitions (sheet 1 of 4) signal usage when sampled comment spkr no reboot rising edge of pwrok the signal has a weak internal pull-down. note: the internal pull-down is disabled after pltrst# de- asserts. if the signal is sampled high, this indicates that the system is stra pped to the ?no reboot? mode (the pch will disabl e the tco timer system reboot feature). the status of this strap is readable using the no reboot bit (c hipset config registers: offset 3410h:bit 5). init3_3v# reserved rising edge of pwrok this signal has a weak intern al pull up. note that the internal pull-up is disabled after pltrst# de-asserts. note: this signal should not be pulled low. gnt[3]#/ gpio[55] to p - b l o c k swap override rising edge of pwrok the signal has a weak internal pull-up. if the signal is sampled low, this indicates that the system is strapped to the ?topblock swap? mode. the status of this strap is re adable using the top swap bit (chipset config register s:offset 3414h:bit 0). notes: 1. the internal pull-up is disabled after pltrst# deasserts. 2. software will not be able to clear the top-swap bit until the system is rebooted without gnt3#/gpio55 being pulled down. intvrmen integrated 1.05 v vrm enable / disable always integrated 1.05 v vrms is enabled when high note: this signal should al ways be pulled high
signal description 94 datasheet gnt1# / gpio51 boot bios strap bit [1] bbs[1] rising edge of pwrok this signal has a weak internal pull-up. note that the internal pull-up is disabled after pcirst# de- asserts. this field determines the de stination of accesses to the bios memory range. also, controllable using boot bios destination bit (chipset config registers:offset 3410h:bit 11). this strap is used in conjunction with boot bios destination selection 0 strap. note: if option 00 lpc is selected, bios may still be placed on lpc; however, all platforms with the pch require spi flash connected directly to the pch spi bus with a valid descriptor to boot. note: booting to pci is intended for debut/testing only. boot bios destination select to lpc/pci by functional strap or using boot bios destination bit will not affect spi accesses initiated by intel ? management engine or integrated gbe lan. gnt[0]# boot bios strap bit[0] bbs[0] rising edge of pwrok this signal has a weak internal pull-up. note that the internal pull-up is disabled after pcirst# de- asserts. this field determines the de stination of accesses to the bios memory range. also, controllable using boot bios destination bit (chipset config registers:offset 3410h:bit 10). this strap is used in conjunction with boot bios destination selection 1 strap. note: if option 00 lpc is selected, bios may still be placed on lpc; however, all platforms with the pch require spi flash connected directly to the pch's spi bus with a valid descriptor to boot. note: booting to pci is intended for debut/testing only. boot bios destination select to lpc/pci by functional strap or using boot bios destination bit will not affect spi accesses initiated by management engine or integrated gbe lan. table 2-28. functional strap definitions (sheet 2 of 4) signal usage when sampled comment bit11 bit 10 boot bios destination 01 reserved 10 pci 11 spi 00 lpc bit11 bit 10 boot bios destination 01 reserved 10 pci 11 spi 00 lpc
datasheet 95 signal description gnt2#/ gpio53 esi strap (server only) rising edge of pwrok this signal has a weak internal pull-up. note that the internal pull-up is disabled after pcirst# de- asserts. tying this strap low configures dmi for esi compatible operation. note: esi compatible mode is fo r server platforms only. this signal should not be pulled low for desktop and mobile. nv_ale reserved rising edge of pwrok this signal has a weak internal pull down. note: this signal should not be pulled high hda_dock_e n#/gpio[33] flash descriptor security override/ me debug mode rising edge of pwrok signal has a weak internal pull-up. if strap is sampled high, the security measures defined in the flash descriptor will be in effect (default). if sampled low, the flash descriptor security will be overridden. this strap should only be asserted low using external pull down in manufacturing/debug environments only. note: asserting the gpio33 low on the rising edge of pwrok will also halt intel ? management engine after chipset bringup an d disable runtime intel ? management engine features . this is a debug mode and must not be assert ed after manufacturing/ debug. spi_mosi reserved rising edge of mepwrok this signal has a weak intern al pull-down resistor. this signal must be sampled low. nv_cle dmi termination voltage rising edge of pwrok this signal has a weak internal pull-down. hda_sdo reserved rising edge of rsmrst# this signal has a weak internal pull down. note: this signal should not be pulled high gpio8 reserved rising edge of rsmrst# this signal has a weak internal pull up. note that the weak internal pull-up is disabled after rsmrst# de-asserts. note: this signal should not be pulled low gpio27 reserved rising edge of rsmrst# this signal has a weak internal pull-up. note that the weak internal pull-up is disabled after rsmrst# de-asserts. note: this signal should not be pulled low and can be left as a no connect. hda_sync on-die pll voltage regulator voltage select rising edge of rsmrst# pin this signal has a weak internal pull down. on-die pll vr is supplied by 1.8 v when sampled low. note: this signal should not be pulled high. table 2-28. functional strap definitions (sheet 3 of 4) signal usage when sampled comment
signal description 96 datasheet note: see section 3.1 for full details on pull-up/pull-down resistors. gpio15 reserved rising edge of rsmrst# pin low = intel ? management engine crypto transport layer security (tls) cipher suite with no confidentiality high = intel ? management engine crypto tls cipher suite with confidentiality this signal has a weak internal pull down. note: a strong pull up may be needed for gpio functionality note: this signal is required to be pulled up to enable tls. if this signal is pulled do wn or left floating intel? rpat and intel? amt with tls will not be functional. l_ddc_data lvds rising edge of pwrok this signal has a weak internal pull-down. note that the weak internal pull-down is disabled after pltrst# de-asserts. lvds is enabled when sampled high. when sampled low lvds is disabled. sdvo_ctrlda ta digital display port (port b) rising edge of pwrok this signal has a weak internal pull-down. note that the weak internal pull-down is disabled after pltrst# de-asserts. port b is enabled when samp led high. when sampled low port b is disabled. ddpc_ctrlda ta digital display port (port c) rising edge of pwrok this signal has a weak internal pull-down. note that the weak internal pull-down is disabled after pltrst# de-asserts. port c is enabled when samp led high. when sampled low port c is disabled. ddpd_ctrlda ta digital display port (port d) rising edge of pwrok this signal has a weak internal pull-down. note that the weak internal pull-down is disabled after pltrst# de-asserts. port d is enabled when samp led high. when sampled low port d is disabled. table 2-28. functional strap definitions (sheet 4 of 4) signal usage when sampled comment
datasheet 97 signal description 2.28.2 external rtc circuitry the pch implements an internal oscillator circuit that is sensitive to step voltage changes in vccrtc. figure 2-2 shows an example schematic recommended to ensure correct operation of the pch rtc. notes: 1. the exact capacitor values for c1 and c2 must be based on the crystal maker recommendations. 2. vbatt is voltage provided by the battery. 3. vccrtc, rtcx1, and rtcx2 are pch pins. 4. vccrtc powers pch rtc well. 5. rtcx1 is the input to the internal oscillator. 6. rtcx2 is the amplified feedback for the external crystal. figure 2-2. example external rtc circuit 32.768 khz xtal 10m vccrtc rtcx2 rtcx1 vbatt 1uf 1 k 3.3v sus c1 c2 r1 rtcrst# 1.0 uf 20 k 0.1uf srtcrst# 20 k 1.0 uf schottky diodes
signal description 98 datasheet
datasheet 99 pch pin states 3 pch pin states 3.1 integrated pull-ups and pull-downs table 3-1. integrated pull-up and pull-down resistor s (sheet 1 of 2) signal resistor nominal notes cl_clk1 pull-up/pull- down 32/100 13, 22 cl_data1 pull-up/pull- down 32/100 13, 22 clkoutflex[3:0]/gpio[67:64] pull-down 20k 1, 16 hda_rst# pull-down 20k 2, 16 gpio15 pull-down 20k 3, 21 hda_bclk pull-down 20k 1, 16 hda_dock_en#/gpio33 pull-up 20k 3, 7 hda_sdin[3:0] p ull-down 20k 2 hda_dock_rst# /gpio13 pull-down 20k 19, 20 hda_sync, hda_sdo pull-down 20k 2, 7 gnt[3:1]#/gpio[55,53,51], gnt0# pull-up 20k 3, 11, 12 gpio8 pull-up 20k 3, 21 lad[3:0]# / fhw[3:0]# pull-up 20k 3 ldrq0#, ldrq1# / gpio23 pull-up 20k 3 nv_ale, nv_cle pull-down 20k 13 pme# pull-up 20k 3 init3_3v# pull-up 20k 3 pwrbtn# pull-up 20k 3 spi_mosi pull-down 20k 3,7 spi_cs0#, spi_cs1#, spi_miso pull-up 20k 3 spkr pull-down 20k 3,15 tach[3:0]/gpio[7,6,1,17] pull-up 20k 3;only on tach[3:0] usb[13:0] [p,n] pull-down 20k 5 ddp[d:c]_ctrlclk pull-down 10k ddp[d:c]_crtldata pull down 20k 3, 15 sdvo_ctrldata,l_ddc_data pull down 20k 3, 15 sdvo_ctrlclk pull down 20k 3 batlow#/gpio72 pull-up 20k 3 clkout_pci[4:0] pull-down 20k 1, 16 gpio27 pull-up 20k 3, 21 pcieclkrq0#/gpio73 pull-up 20k 3, 21 jtag_tdi, jtag_tms, trst# pull-up 20k 1, 17
pch pin states 100 datasheet notes: 1. simulation data shows that these resistor values can range from 10 k to 40 k . 2. simulation data shows that these resistor values can range from 9 k to 50 k . 3. simulation data shows that these resistor values can range from 15 k to 40 k . 4. simulation data shows that these resistor values can range from 7.5k to 16k . 5. simulation data shows that these resistor values can range from 14.25 k to 24.8 k . 6. simulation data shows that these resistor values can range from 10 k to 30 k . 7. the pull-up or pull-down on this signal is on ly enabled at boot/reset for strapping function. 8. simulation data shows that these resistor values can range from 10 k to 20 k . the internal pull-up is only en abled during pltrst# assertion. 9. the pull-down on this signal is only enabled when in s3. 10. the pull-up or pull-dow n on this signal is on ly enabled during reset. 11. the pull-up on this signal is not enabled when pcirst# is high. 12. the pull-up on this signal is not enabled when pwrok is low. 13. simulation data shows that these resistor values can range from 15 k to 31 k . 14. the pull-down is disabled after pins are driven strongly to logic zero when pwrok is asserted. 15. the pull-up or pull down is not ac tive when pltrst# is not asserted. 16. the pull-down is enabled when pwrok is low. 17. external termination is also required on th ese signals for jtag enab ling. internal pull-up is added in b-step silicon. 18. external termination is also required on these signals for jt ag enabling. internal pull-down is added in b-step silicon. 19. simulation data shows that these resistor values can range from 20 k to 27 k . 20. pull-down is enabled only when pcirst# pin is driven low. 21. pull-up is disabled afte r rsmrst# is de-asserted. 22. the controller link clock an d data buffers use internal pu ll-up or pull-down resistors to drive a logical 1 or 0. jtag_tck pull-down 20k 1, 18 gpio28 pull-up 20k 3 pcieclkrq6#/gpio45 pull-up 20k 3 table 3-1. integrated pull-up and pull-down resistors (sheet 2 of 2) signal resistor nominal notes
datasheet 101 pch pin states 3.2 output and i/o signals planes and states table 3.2 and table 3-3 shows the power plane associated with the output and i/o signals, as well as the state at various times. within the table, the following terms are used: ?high-z? tri-state. the pch not driving the signal high or low. ?high? the pch is driving the signal to a logic 1. ?low? the pch is driving the signal to a logic 0. ?defined? driven to a level that is defi ned by the function or external pull- up/pull-down resistor (will be high or low). ?undefined? the pch is driving the si gnal, but the value is indeterminate. ?running? clock is toggling or signal is transitioning because function not stopping. ?off? the power plane is off; the pch is not driving when configured as an output or sampling when configured as an input. ?input? the pch is sampling and signal state determined by external driver. note: signal levels are the same in s4 and s5, except as noted. the pch suspend well signal states are in determinate and undefined and may glitch prior to rsmrst# de-assertion. this does not apply to slp_s3#, slp_s4#, slp_s5#, gpio24, and gpio29. these signals are determinate and defined prior to rsmrst# de- assertion. the pch core well signal states are indeterm inate and undefined and may glitch prior to pwrok assertion. this does not apply to th rmtrip#. this signal is determinate and defined prior to pwrok assertion. table 3-2. power plane and states for output and i/o signals for desktop configurations (sheet 1 of 5) signal name power plane during reset 2 immediately after reset 2 s0/s1 s3 s4/s5 pci express* petp[8:1], petn[8:1] core high high 5 defined off off dmi dmi[3:0]txp, dmi[3:0]txn core high high defined off off pci bus ad[31:0] core low undefined defined off off c/be[3:0]# core low undefined defined off off devsel# core high-z high-z high-z off off frame# core high-z high-z high-z off off gnt0# 8 , gnt[3:1]# 8 / gpio[55, 53, 51] core high high high off off irdy#, trdy# core high-z high-z high-z off off
pch pin states 102 datasheet par core low low low off off pcirst# suspend low high high low low perr# core high-z high-z high-z off off plock# core high-z high-z high-z off off stop# core high-z high-z high-z off off lpc/fwh interface lad[3:0] / fwh[3:0] core high high high off off lframe# / fwh[4] core high high high off off init3_3v# 8 core high high high off off sata interface sata[5:0]txp, sata[5:0]txn core high-z high-z defined off off sataled# core high-z high-z defined off off sataicompo core high high defined off off sclock/gpio22 core high-z (input) high-z (input) defined off off sload/gpio38 core high-z (input) high-z (input) defined off off sdataout[1:0]/ gpio[48,39] core high-z high-z high-z off off interrupts pirq[a:d]#, core high-z high-z high-z off off pirq[h:e]# / gpio[5:2] core high-z (input) high-z (input) defined off off serirq core high-z high-z high-z off off usb interface usb[13:0][p,n] suspend low low defined defined defined usbrbias suspend high-z high-z high high high power management lan_phy_pwr_ctrl 11 /gpio12 suspend low low defined defined defined pltrst# suspend low high high low low slp_m# 6 suspend low high high defined defined slp_s3# suspend low high high low low slp_s4# suspend low high high high low slp_s5#/gpio63 suspend low high high high low 3 sus_stat#/gpio61 suspend low high high low low susclk/gpio62 suspend low running drampwrok suspend low high-z high-z high-z low pmsynch core low low defined off off table 3-2. power plane and states for output and i/o signals for desktop configurations (sheet 2 of 5) signal name power plane during reset 2 immediately after reset 2 s0/s1 s3 s4/s5
datasheet 103 pch pin states stp_pci#/gpio34 core high-z (input) high-z (input) defined off off slp_lan#/gpio29 9 suspend low defined 9 high defined defined processor interface a20m# cpu dependant on a20gate signal see note 1 high off off procpwrgd cpu low 3 high high off off smbus interface smbclk, smbdata suspend high-z high-z defined defined defined system management interface sml0alert# / gpio60 suspend high-z high-z 12 defined defined defined sml0data suspend high-z high-z defined defined defined sml0clk suspend high-z high -z defined defined defined gpio58/sml1clk suspend high-z hi gh-z defined defined defined sml1alert#/gpio74 suspend high-z high-z defined defined defined sml1data//gpio75 suspend high-z high-z defined defined defined jtag_tdo suspend high-z high-z high-z high-z high-z miscellaneous signals spkr 8 core low low defined off off clocking signals clkout_bclk0_p / clkout_pcie8_p, clkout_bclk0_n / clkout_pcie8_n core running running running off off clkout_dp_p / clkout_bclk1_p, clkout_dp_n / clkout_bclk1_n core running running running off off clkout_dmi_p, clkout_dmi_n core running running running off off clkout_peg_a_p, clkout_peg_a_n core running running running off off clkout_peg_b_p, clkout_peg_b_n core running running running off off clkout_pcie[7:0] p, clkout_pcie[7:0] n core running running running off off clkout_pci[4:0] core running running running off off clkoutflex[3:0]/ gpio[67:64] core low low running/ low off off xtal25_out core running running running off off xclk_rcomp core high-z high-z high-z off off table 3-2. power plane and states for output and i/o signals for desktop configurations (sheet 3 of 5) signal name power plane during reset 2 immediately after reset 2 s0/s1 s3 s4/s5
pch pin states 104 datasheet intel ? high definition audio interface hda_rst# hda suspend low low 4 defined low low hda_sdo 8 hda suspend low low low low low hda_sync 8 hda suspend low low low low low hda_bclk hda suspend low low low low low unmultiplexed gpio signals gpio8 8 suspend high high defined defined defined gpio15 8 suspend low low defined defined defined gpio24 suspend low low defined defined defined gpio27 8 suspend high low defined defined defined gpio32 core high high defined off off gpio35 core low low defined off off gpio57 suspend high-z (input) high-z (input) defined defined defined gpio72 suspend high-z (input) high-z (input) defined defined defined multiplexed gpio signals used as gpio only gpio0 core high-z (input) high-z(input) defined off off gpio13 10, 14 hda suspend low high-z defined defined defined gpio28 suspend high-z high-z defined defined defined gpio30 10 suspend high-z (input) high-z (input) defined defined defined gpio31 10 suspend high-z (input) high-z (input) defined defined defined gpio33 10 core high high defined off off spi interface spi_cs0# me33io high 13 high defined defined defined spi_cs1# me33io high 13 high defined defined defined spi_mosi 8 me33io low 13 low defined defined defined spi_clk me33io low 13 low running defined defined intel ? quiet system technology and thermal reporting pwm[3:0] core high-z low defined off off sst suspend high-z low defined off off peci cpu low low defined off off analog display / crt dac signals crt_red, crt_green, crt_blue core high-z high-z high-z off off dac_iref core high-z high-z high-z off off table 3-2. power plane and states for output and i/o signals for desktop configurations (sheet 4 of 5) signal name power plane during reset 2 immediately after reset 2 s0/s1 s3 s4/s5
datasheet 105 pch pin states notes: 1. pch drives procpwrgd after pwrok and sys_pw rok signals are active, and thus will be driven low by pch when either of these signals are inactive. during boot, or during a hard reset with power cycling, procpwrgd will be expected to transition from low to high-z 2. the states of core and proc essor signals are evaluated at the times during pltrst# and immediately after pltrst #. the states of the lan and gl an signals are evaluated at the times during lan_rst# and immediately after lan_rst#. the states of the controller link signals are taken at th e times during cl_rst1# and immediately after cl_rst1#. the states of the suspend signals are evaluated at the times during rsmrst# and immediately after rsmrst#, with an exception to gpio signals; see section 2.25 for more details on gpio state after rese t. the states of the hda sign als are evaluated at the times during hda_rst# and imme diately after hda_rst#. 3. slp_s5# signals will be high in the s4 state. 4. low until intel ? high definition audio controll er reset bit set (d27:f0:offset hdbar+08h:bit 0), at which time hda_rst# will be high and hda_bit_clk will be running. 5. petp/n[8:1] high until port is enabled by software. 6. the slp_m# state will be determined by intel ? management en gine firmware. 7. the state of signals in s3?s 5 will be defined by intel ? amt policies. 8. this signal is sampled as a fu nctional strap during reset. se e functional stra ps definition table for usage. 9. slp_lan# behavior after reset is dependen t on value of slp_lan# default value bit. crt_hsync core low low low off off crt_vsync core low low low off off crt_ddc_clk core high-z high-z high-z off off crt_ddc_data core high-z high-z high-z off off crt_irtn core high-z high-z high-z off off intel ? flexible display interface fdi_rxp[7:0], fdi_rxn[7:0] core high-z high-z high-z off off fdi_fsync[1:0] core high-z high-z high-z off off fdi_lsync[1:0] core high-z high-z high-z off off fdi_int core high-z high-z high-z off off digital display interface ddp[d:b]_[3:0]p, ddp[d:b]_[3:0]n core high-z high-z defined off off ddp[d:b]_auxp, ddp[d:b]_auxn core high-z high-z defined off off sdvo_ctrlclk, sdvo_ctrldata core low high-z defined off off ddpc_ctrlclk, ddpc_ctrldata core high-z high-z defined off off ddpd_ctrlclk, ddpd_ctrldata core high-z high-z defined off off table 3-2. power plane and states for output and i/o signals for desktop configurations (sheet 5 of 5) signal name power plane during reset 2 immediately after reset 2 s0/s1 s3 s4/s5
pch pin states 106 datasheet 10. native functionality multiplexed with these gpios are not used in desktop configurations. during reset an internal pull-down will drive th is pin low. the pull do wn will be disabled after pcirst# de-assertion. 11. native/gpio functionality controlled using soft straps. default to native functionality until soft straps are loaded. 12. state of the pins depend on the source of vccme3_3 power. 13. pin is tri-stated prior to mepwrok assertion during reset . 14. gpio13 is powered by vccsus hda (either 3.3 v or 1.5 v). pi n tolerance is determined by vccsushda voltage. table 3-3. power plane and states for output and i/o signals for mobile configurations (sheet 1 of 5) signal name power plane during reset 2 immediately after reset 2 c-x states s0/s1 s3 s4/s5 pci express* pet[8:1]p, pet[8:1]n core high high 5 defined defined off off dmi dmi[3:0]txp, dmi[3:0]txn core high high defined defined off off pci bus ad[31:0] core low undefined defined defined off off c/be[3:0]# core low undefined defined defined off off clkrun# 18 (mobile only) / gpio32 core low low defined defined off off gnt0# 8 gnt[3:1]# 8 / gpio[55,53,51] core high high high high off off devsel# core high-z high-z high-z high-z off off frame# core high-z high-z high-z high-z off off irdy#, trdy# core high-z high-z high-z high-z off off par core low undefined defined defined off off pcirst# suspend low high high high low low perr# core high-z high-z high-z high-z off off plock# core high-z high-z high-z high-z off off stop# core high-z high-z high-z high-z off off
datasheet 107 pch pin states lpc/fwh interface lad[3:0] / fwh[3:0] core high high high high off off lframe# / fwh[4] core high high high high off off init3_3v# 8 core high high high high off off sata interface sata[5:0]txp, sata[5:0]txn core high-z high-z defined defined off off sataled# core high-z high-z defined defined off off sataicompo core high-z high -z defined defined off off sclock/gpio22 core high-z (input) high-z (input) defined defined off off sload/gpio38 core high-z (input) high-z (input) defined defined off off sdataout[1:0]/ gpio[48,39] core high-z (input) high-z (input) defined defined off off interrupts pirq[a:d]# core high-z high-z defined defined off off pirq[h:e]# / gpio[5:2] core high-z (input) high-z (input) defined defined off off serirq core high-z high-z running high-z off off usb interface usb[13:0][p,n] suspend low low defined defined defined defined usbrbias suspend high-z high-z defined defined defined defined power management pltrst# suspend low high high high low low slp_m# 6 suspend low high high high defined defined slp_s3# suspend low high high high low low slp_s4# suspend low high high high high defined slp_s5#/gpio63 suspend low high high high high low 3 sus_stat#/gpio61 suspend low high high high low low susclk suspend low running sus_pwr_dn_ack/ gpio30 suspend high-z (input) high-z (input) defined defined defined defined drampwrok suspend low high-z high-z high-z high-z low lan_phy_pwr_ctr l 10 /gpio12 suspend low low defined defined defined defined pmsynch core low low defined/ low defined off off stp_pci#/gpio34 core high-z (input) high-z (input) defined defined off off slp_lan# 15 / gpio29 suspend low defined 15 high high defined defined table 3-3. power plane and states for output and i/o signals for mobile configurations (sheet 2 of 5) signal name power plane during reset 2 immediately after reset 2 c-x states s0/s1 s3 s4/s5
pch pin states 108 datasheet processor interface procpwrgd 1 core low high high high off off smbus interface smbclk, smbdata suspend high-z high -z defined defined defined defined system management interface sml0alert#/ gpio60 suspend high-z high-z defined defined defined defined sml0data suspend high-z high-z defined defined defined defined sml0clk suspend high-z high-z de fined defined defined defined gpio58/sml1clk suspend high-z high-z defined defined defined defined sml1alert#/ gpio74 suspend high-z high-z defined defined defined defined sml1data/gpio75 suspend high-z high -z defined defined defined defined jtag_tdo suspend high-z high-z high-z high-z high-z high-z miscellaneous signals spkr 8 core low low defined defined off off clocking signals clkout_bclk0_p / clkout_pcieb_p, clkout_bclk0_n / clkout_pcieb_n core running running running running off off clkout_dp_p / clkout_bclk1_p, clkout_dp_n / clkout_bclk1_n, core running running running running off off clkout_dmi_p, clkout_dmi_n core running running running running off off xtal25_out core high-z high-z high-z high-z off off xclk_rcomp core high-z high-z high-z high-z off off clkout_peg_a_p, clkout_peg_a_n core running running running running off off clkout_peg_b_p, clkout_peg_b_n core running running running running off off clkout_pcie[7:0] p, clkout_pcie[7:0] n core running running running running off off clkout_pci[4:0] core running running running running off off clkoutflex[3:0]/ gpio[67:64] core low low running/ low running off off intel ? high definition audio interface hda_rst# hda suspend low low 4 high defined low low table 3-3. power plane and states for output and i/o signals for mobile configurations (sheet 3 of 5) signal name power plane during reset 2 immediately after reset 2 c-x states s0/s1 s3 s4/s5
datasheet 109 pch pin states hda_sdo 8 hda suspend low low low low low low hda_sync 8 hda suspend low low low low low low hda_bclk hda suspend low low low low low low hda_dock_en#/ gpio33 core high high 12 defined defined off off hda_dock_rst#/ gpio13 19 hda suspend low 11 high-z 11 defined defined defined defined unmultiplexed gpio signals gpio8 8 suspend high high defined defined defined defined gpio15 8 suspend low low defined defined defined defined gpio24 suspend low low defined defined defined defined gpio27 8 suspend high low defined defined defined defined gpio28 suspend high-z high-z defined defined defined defined gpio35 core low low defined defined off off gpio57 suspend high-z (input) high-z (input) defined defined defined defined multiplexed gpio signals used as gpio only gpio0 core high-z (input) high-z (input) defined defined off off gpio[7,6,1,17] 9 core high-z high-z defined defined off off spi interface spi_cs0# me33io high 17 high defined defined defined defined spi_cs1# me33io high 17 high defined defined defined defined spi_mosi 8 me33io low 17 low defined defined defined defined spi_clk me33io low 17 low running running defined defined intel ? quiet system technology and thermal reporting peci cpu low low defined defined off off controller link cl_clk1 6 suspend high/low 14 high/low 14 defined defined defined defined cl_data1 6 suspend high/low 14 high/low 14 defined defined defined defined cl_rst1# 6 suspend low high high high high high lvds signals lvdsa_data[3:0], lvdsa_data#[3:0] core high-z high-z defined/ high-z 13 defined/ high-z 13 off off lvdsa_clk, lvdsa_clk# core high-z high-z defined/ high-z 13 defined/ high-z 13 off off lvdsb_data[3:0], lvdsb_data#[3:0] core high-z high-z defined/ high-z 13 defined/ high-z 13 off off table 3-3. power plane and states for output and i/o signals for mobile configurations (sheet 4 of 5) signal name power plane during reset 2 immediately after reset 2 c-x states s0/s1 s3 s4/s5
pch pin states 110 datasheet lvdsb_clk, lvdsb_clk# core high-z high-z defined/ high-z 13 defined/ high-z 13 off off l_ddc_clk core high-z high-z high-z high-z off off l_ddc_data core low high-z high-z high-z off off l_vdd_en core high-z high-z high/ high-z 13 high/ high-z 13 off off l_bklten core high-z high-z high/ high-z 13 high/ high-z 13 off off l_bkltctl core high-z high-z high/ high-z 13 high/ high-z 13 off off l_ctrl_clk core high-z high-z high-z high-z off off l_ctrl_data core high-z high-z high-z high-z off off lvd_vbg, lvd_vrefh, lvd_vrefl core high-z high-z high-z high-z off off analog display / crt dac signals crt_red, crt_green, crt_blue core high-z high-z defined defined off off dac_iref core high-z high-z high-z high-z off off crt_hsync core low low low low off off crt_vsync core low low low low off off crt_ddc_clk core high-z high-z high-z high-z off off crt_ddc_data core high-z high-z high-z high-z off off crt_irtn core high-z high-z high-z high-z off off intel ? flexible display interface fdi_rxp[7:0], fdi_rxn[7:0] core high-z high-z defined defined off off fdi_fsync[1:0] core high-z hi gh-z defined defined off off fdi_lsync[1:0] core high-z hi gh-z defined defined off off fdi_int core high-z high-z defined defined off off digital display interface ddp[d:b]_[3:0]p, ddp[d:b]_[3:0]n, core high-z high-z defined defined off off ddp[d:b]_auxp, ddp[d:b]_auxn core high-z high-z defined defined off off sdvo_ctrlclk, sdvo_ctrldata core low high-z defined defined off off ddpc_ctrlclk, ddpc_ctrldata core high-z high-z defined defined high-z off ddpd_ctrlclk, ddpd_ctrldata core high-z high-z defined defined high-z off table 3-3. power plane and states for output and i/o signals for mobile configurations (sheet 5 of 5) signal name power plane during reset 2 immediately after reset 2 c-x states s0/s1 s3 s4/s5
datasheet 111 pch pin states notes: 1. pch drives procpwrgd after pwrok and sys_pw rok signals are active, and thus will be driven low by pch when either of these signals are inactive. during boot, or during a hard reset with power cycling, procpwrgd will be expected to transition from low to high-z 2. the states of core and proc essor signals are evaluated at the times during pltrst# and immediately after pltrst #. the states of the lan and gl an signals are evaluated at the times during lan_rst# and immediately after lan_rst#. the states of the controller link signals are taken at th e times during cl_rst1# and immediately after cl_rst1#. the states of the suspend signals are evaluated at the times during rsmrst# and immediately after rsmrst#, with an exception to gpio signals; see section 2.25 for more details on gpio state after rese t. the states of the hda sign als are evaluated at the times during hda_rst# and imme diately after hda_rst#. 3. slp_s5# signals will be high in the s4 state. 4. low until intel ? high definition audio controll er reset bit set (d27:f0:offset hdbar+08h:bit 0), at which time hda_rst# will be high and hda_bit_clk will be running. 5. petp/n[8:1] high until port is enabled by software. 6. the slp_m# state will be determined by intel ? management en gine firmware. 7. the state of signals in s3?s 5 will be defined by intel ? amt policies. 8. this signal is sampled as a fu nctional strap during reset. se e functional straps definition table for usage. 9. native functionality multiplexed with these gpios is not used in mobile configurations. 10. native/gpio functional ity controlled using soft straps. de fault to native functionality until soft straps are loaded. 11. this pin will be driv en to a high when dock attach bi t is set (docking control register d27:f0 offset 4ch). during rese t an internal pull-down will drive this pin low. the pull down will be disabled af ter pcirst# de-assertion. 12. this pin will be driv en to a low when dock attach bit is set (docking control register d27:f0 offset 4ch). 13. pch tristates these signals when lvds port is disabled. 14. controller link clock and data buffers use internal pull-up an d pull-down resistors to drive a logical 1 or a 0. 15. slp_lan# behavior after reset is dependen t on value of slp_lan# default value bit. 16. state of the pins depend on the source of vccme3_3 power. 17. pin is tri-stated prior to mepwrok assertion during reset. 18. clkrun# is driven to a logic 1 during reset for mobile configurations (default is native function) to ensure that pci clocks can to ggle before devices come out of reset. for desktop configurations this pin defaults to gpio mode strongly driving a logic 1. 19. hda_dock_rst#/gpio13 is powered by vccsushda (either 3.3 v or 1.5 v). pin tolerance is determined by vccsushda voltage.
pch pin states 112 datasheet 3.3 power planes for input signals table 3-4 and table 3-5 show the power plane associated with each input signal, as well as what device drives the signal at various times. valid states include: ?high ?low ? static: will be high or low, but will not change ? driven: will be high or low, and is allowed to change ? running: for input clocks the pch suspend well signal states are in determinate and undefined and may glitch prior to rsmrst# de-assertion. this do es not apply to lan_rst#, slp_s3#, slp_s4#, s4_state# and slp_s5#. these signals are determinate and defined prior to rsmrst# de-assertion. the pch core well signal states are indeterm inate and undefined and may glitch prior to pwrok assertion. this does not apply to ferr# and thrmtrip#. these signals are determinate and defined prior to pwrok assertion. table 3-4. power plane for input signals fo r desktop configurations (sheet 1 of 3) signal name power well driver during reset s0/s1 s3 s4/s5 dmi dmi_clkp, dmi_clkn core clock generator running off off dmi[3:0]rxp, dmi[3:0]rxn core processor driven off off pci express* per[8:1]p, pern[8:1]n core pci express* device driven off off pci bus req0#, req1# / gpio50 1 req2# / gpio52 1 req3# / gpio54 1 core external pull-up driven off off pme# suspend internal pull-up driven driven driven serr# core pci bus peripherals high off off lpc interface ldrq0# core lpc devices high off off ldrq1# / gpio23 1 core lpc devices high off off sata interface sata[5:0]rxp, sata[5:0]rxn core sata drive driven off off sataicompi core high-z high-z defined off sata[5:4]gp/temp_alert/ gpio[49,16] 1 core external device or external pull-up/pull-down driven off off sata[3:0]gp / gpio[37, 36, 19, 21] 1 core external device or external pull-up/pull-down driven off off
datasheet 113 pch pin states usb interface oc[7:0]#/ gpio[14,10,9,43:40,59] 1 suspend external pull-ups driven driven driven usbrbias# suspend external pull-down driven driven driven power management mepwrok suspend external circuit high driven driven lan_rst# suspend external circuit high static static pwrbtn# suspend internal pull-up driven driven driven pwrok rtc system power supply driven driven driven ri# suspend serial port buffer driven driven driven rsmrst# rtc external rc circuit high high high sys_reset# core external circuit driven off off sys_pwrok suspend external circuit high driven driven thrmtrip# cpu external thermal sensor driven off off wake# suspend external pull-up driven driven driven processor interface a20gate core external micro controller static off off rcin# core external micro controller high off off system management interface smbalert# / gpio11 suspend external pull-up driven driven driven intruder# rtc external switch driven high high jtag interface jtag_tdi suspend internal pull-up 4 high high high jtag_tms suspend internal pull-up 4 high high high jtag_tck suspend internal pull-down 5 low low low miscellaneous signals intvrmen 2 rtc external pull-up high high high rtcrst# rtc external rc circuit high high high srtcrst# rtc external rc circuit high high high digital display interface ddp[b:c:d]_hpd core external pull-down driven off off sdvo_intp, sdvo_intn core sdvo controller device driven off off sdvo_tvclkinp, sdvo_tvclkinn core sdvo controller device driven off off table 3-4. power plane for input signals fo r desktop configurations (sheet 2 of 3) signal name power well driver during reset s0/s1 s3 s4/s5
pch pin states 114 datasheet notes: 1. these signals can be configured as outputs in gpio mode. 2. this signal is sampled as a f unctional strap during reset. se e functional stra ps definition table for usage. 3. state of the pins depend on the source of vccme3_3 power. 4. internal pull-ups are implemented. 5. internal pull-down is implemented. sdvo_stallp, sdvo_stalln core sdvo controller device driven off off intel ? flexible display interface fdi_rxp[7:0], fdi_rxn[7:0] core processor driven off off clock interface clkin_dmi_p, clkin_dmi_n core c lock generator running running off clkin_sata_n/cksscd_n, clkin_sata_p/cksscd_p core clock generator running running off clkin_bclk_p, clkin_bclk_n core clock generator running running off clkin_dot_96p, clkin_dot_96n core clock generator running running off clkin_pciloopback core clock generator running running off pcieclkrq[7:3]#/ gpio[46:44,26:25] 1 ,pciecl krq0#/gpio73 1 suspend external pull-up driven driven driven pcieclkrq[2:1]#/ gpio[20:18] 1 core external pull-up driven driven off peg_a_clkrq#/gpio47 1 , peg_b_clkrq#/gpio56 1 suspend external pull-up driven driven driven refclk14in core clock generator running running off xtal25_in core clock generator high-z high-z high-z intel ? high definition audio interface hda_sdin[3:0] suspend internal pull-down low low low spi interface spi_miso me33io external pull-up driven driven driven intel ? quiet system technology tach[3:0]/gpio[7,6,1,17] 1 core external pull-up driven off off table 3-4. power plane for input signals fo r desktop configurations (sheet 3 of 3) signal name power well driver during reset s0/s1 s3 s4/s5
datasheet 115 pch pin states table 3-5. power plane for input signals fo r mobile configuratio ns (sheet 1 of 3) signal name power well driver during reset c-x states s0/s1 s3 s4/s5 dmi dmi_clkp, dmi_clkn core clock generator running running off off dmi[3:0]rxp, dmi[3:0]rxn core processor driven driven off off pci express* per[6:1]p, per[6:1]n core pci express* device driven driven off off pci bus req0#, req1# / gpio50 1 req2# / gpio52 1 req3# / gpio54 1 core external pull-up driven driven off off pme# suspend internal pull-up driven driven driven driven serr# core pci bus peripherals driven high off off lpc interface ldrq0# core internal pull-up driven high off off ldrq1# / gpio23 1 core internal pull-up driven high off off sata interface sata[5:0]rxp, sata[5:0]rxn core sata drive driven driven off off sataicompi core high-z high-z defined off off sata[5:4]gp/ temp_alert/ gpio[49,16] 1 core external device or external pull-up/pull-down driven driven off off sata[3:0]gp / gpio[37, 36, 19, 21] 1 core external device or external pull-up/pull-down driven driven off off usb interface oc[7:0]#/ gpio[14,10,9,43:40, 59] suspend external pull-ups driven driven driven driven usbrbias# suspend external pull-down driven driven driven driven power management acpresent (mobile only) /gpio31 1 suspend external microcontroller driven driven driven driven batlow# (mobile only) /gpio72 1 suspend external pull-up high high driven driven mepwrok suspend external circuit driven driven driven driven lan_rst# suspend external circuit high high high high pwrbtn# suspend internal pull-up driven driven driven driven pwrok rtc system power supply driven driven off off ri# suspend serial port buffer driven driven driven driven
pch pin states 116 datasheet rsmrst# rtc external rc circuit high high high high sys_reset# core external circuit driven driven off off thrmtrip# cpu thermal sensor driven driven off off wake# suspend external pull-up driven driven driven driven processor interface a20gate core external microcontroller static static off off rcin# core external microcontroller high high off off system management interface smbalert# / gpio11 suspend external pull-up driven driven driven driven intruder# rtc external sw itch driven driven high high jtag interface jtag_tdi suspend internal pull-up 4 high high high high jtag_tms suspend internal pull-up 4 high high high high jtag_tck suspend internal pull-down 5 low low low low miscellaneous signals intvrmen 2 rtc external pull-up high high high high rtcrst# rtc external rc circuit high high high high srtcrst# rtc external rc circuit high high high high intel ? high definition audio interface hda_sdin[3:0] suspend intel ? high definition audio codec driven low low low spi interface spi_miso me33io internal pull-up driven driven driven driven clock interface clkin_dmi_p, clkin_dmi_n core clock generator running running off off clkin_sata_n/ cksscd_n, clkin_sata_p/ cksscd_p core clock generator running running off off clkin_bclk_p, clkin_bclk_n core clock generator running running off off clkin_dot_96p, clkin_dot_96n core clock generator running running off off clkin_pciloopback core clock generator running running off off pcieclkrq[7:3]#/ gpio[46:44,26:25] 1 , pcieclkrq0#/ gpio73 1 suspend external pull-up driven driven driven driven table 3-5. power plane for input signals fo r mobile configurations (sheet 2 of 3) signal name power well driver during reset c-x states s0/s1 s3 s4/s5
datasheet 117 pch pin states notes: 1. these signals can be configured as outputs in gpio mode. 2. this signal is sampled as a fu nctional strap during reset. se e functional straps definition table for usage. 3. state of the pins depend on the source of vccme3_3 power. 4. internal pull-ups are implemented . 5. internal pull-down is implemented only. pcieclkrq[2:1]#/ gpio[20:18] 1 core external pull-up driven driven off off peg_a_clkrq#/ gpio47 1 , peg_b_clkrq#/ gpio56 1 suspend external pull-up driven driven driven driven xtal25_in core clock generator high-z high-z off off refclk14in core clock generator high-z high-z off off clkin_pciloopback core clock generator high-z high-z off off intel ? flexible display interface fdi_rxp[7:0], fdi_rxn[7:0] core processor driven driven off off digital display interface ddp[b:c:d]_hpd core external pull-down driven driven off off sdvo_intp, sdvo_intn core sdvo controller device driven driven off off sdvo_tvclkinp, sdvo_tvclkinn core sdvo controller device driven driven off off sdvo_stallp, sdvo_stalln core sdvo controller device driven driven off off table 3-5. power plane for input signals fo r mobile configuratio ns (sheet 3 of 3) signal name power well driver during reset c-x states s0/s1 s3 s4/s5
pch pin states 118 datasheet
datasheet 119 system clocks 4system clocks table 4-1 shows the system clock input to the pch. table 4-2 shows system clock domains generated by the pch in buffered mode. figure 4-1 shows the assumed connection of the main clock generator to the pch in buffer mode to the various system components. for complete details of the system clocking solution, see the system?s clock generator component specification, clock signals section and the pch clocks. table 4-1. pch system clock inputs clock domain frequency usage clkin_sata_p / cksscd_p, clkin_sata_n / cksscd_n 100 mhz 100 mhz differential reference clock from a clock chip for use only as a 100 mhz source for sata clock. clkin_dmi_p, clkin_dmi_n 100 mhz 100 mhz differential reference cl ock from a clock chip used for dmi. note: this input clock is required to be pcie 2.0 jitter spec compliant from a clock chip, for pcie 2.0 discrete graphics platforms. clkin_pciloopb ack 33 mhz 33 mhz clock feedback input to reduce skew between pch pci clock and clock observed by connected pci devices. this signal must be connecte d to one of the pins in the group clkout_pci [4:0] refclk14in 14.31818 mhz single-ended 14.31818 mhz reference clock driven by a clock chip. used for acpi timer and multimedia timers. expected to be shut off during s3. clkin_dot96p, clkin_dot96n 96 mhz 96 mhz differential re ference clock from a clock chip. used to generate the 48-mhz usb/sio clocks and 24 mhz hda bit clock. clkin_bclk_p, clkin_bclk_n 133 mhz 133 mhz differential reference clock from a clock chip in buffer-through mode.
system clocks 120 datasheet table 4-2. pch system clock outputs clock domain fr equency usage clkout_pci[4:0] 33 mhz single ended 33.3mhz outputs to pci connectors/ devices. one of these signals must be connected to clkin_pciloopback to function as a pci clock loopback. this allows skew control for variable lengths of clkout_pci[4:0] . pci bus, lpc i/f. these only go to external pci and lpc devices. clkout_pcie[7:0]p, clkout_pcie[7:0]n 100 mhz 100 mhz pcie* gen1.1 specification differential output to pci express* devices clkout_peg_a_p, clkout_peg_a_n, clkout_peg_b_p, clkout_peg_b_n, 100 mhz 100 mhz pcie* gen2 specification differential output to pci express* graphics devices clkoutflex0 / gpio64, clkoutflex1 / gpio65, clkoutflex2 / gpio66 33 mhz or 14.31818 mhz 33 mhz or 14.31818 mhz output clkoutflex3 / gpio67 48 mhz, 33 mhz, or 14.31818 mhz 48 mhz, 33 mhz, 14.31818 mhz output spi_clk 17.86 mhz/ 31.25 mhz drive spi devices connected to the pch. generated by the pch. clkout_bclk0_p / clkout_pcie8_p, clkout_bclk0_n / clkout_pcie8_n 133 mhz or 100 mhz 133 mhz differential output to processor or 100 mhz pcie* gen 1.1 specification differential output to pci express* devices clkout_dp_p / clkout_bclk1_p, clkout_dp_n / clkout_bclk1_n 120 mhz or 133 mhz 120 mhz differential output fo r displayport reference or 133 mhz differential output to processor
datasheet 121 system clocks figure 4-1. pch high-level clock diagram
system clocks 122 datasheet
datasheet 123 functional description 5 functional description this chapter describes the functi ons and interfaces of the intel ? 5 series chipset and intel ? 3400 series chipset. 5.1 dmi-to-pci bridge (d30:f0) the dmi-to-pci bridge resides in pci device 30, function 0 on bus 0. this portion of the pch implements the buffering and cont rol logic between pci and direct media interface (dmi). the arbitration for the pci bus is handled by this pci device. the pci decoder in this device must decode the rang es for the dmi. all register contents are lost when core well power is removed. direct media interface (dmi) is the chip-to-chip connection between the processor and the pch. this high-speed interface integr ates advanced priority-based servicing allowing for concurrent traffic and true isochronous transfer capabilities. base functionality is completely software transpar ent permitting current and legacy software to operate normally. to provide for true isochronous transfers and configurable quality of service (qos) transactions, the pch supports two virtual channels on dmi?vc0 and vc1. these two channels provide a fixed arbitration scheme where vc1 is always the highest priority. vc0 is the default conduit of traffic for dmi and is always enabled. vc1 must be specifically enabled and configured at both ends of the dmi link (that is, the pch and processor). configuration registers for dmi, virtual ch annel support, and dmi active state power management (aspm) are in the rcrb sp ace in the chipset config registers ( chapter 10.1.1 ). dmi is also capable of operating in an enterprise southbridge interface (esi) compatible mode. esi is a chip-to-chip co nnection for server chipsets. in this esi- compatible mode, the dmi signals require ac coupling. a hardware strap is used to configure dmi in esi-compatible mode see section 2.28 for details. 5.1.1 pci bus interface the pch pci interface supports pci local bus specification, revision 2.3 , at 33 mhz. the pch integrates a pci arbiter that supports up to four external pci bus masters in addition to the internal pch requests. 5.1.2 pci bridge as an initiator the bridge initiates cycles on the pci bus wh en granted by the pci arbiter. the bridge generates the following cycle types: table 5-1. pci bridge initiator cycle types command c/be# notes i/o read/write 2h/3h non-posted memory read/write 6h/7h writes are posted configuration read/write ah/bh non-posted special cycles 1h posted
functional description 124 datasheet 5.1.2.1 memory reads and writes the bridge bursts memory writes on pci that are received as a single packet from dmi. 5.1.2.2 i/o reads and writes the bridge generates single dw i/o read and write cycles. when the cycle completes on the pci bus, the bridge generates a corresp onding completion on dmi. if the cycle is retried, the cycle is kept in the down bound queue and may be passed by a postable cycle. 5.1.2.3 configuration reads and writes the bridge generates single dw configuration read and write cycles. when the cycle completes on the pci bus, the bridge gene rates a corresponding completion. if the cycle is retried, the cycle is kept in th e down bound queue and may be passed by a postable cycle. 5.1.2.4 locked cycles the bridge propagates locks from dmi per the pci local bus specification . the pci bridge implements bus lock, which means the arbiter will not grant to any agent except dmi while locked. if a locked read results in a target or mast er abort, the lock is not established (as per the pci local bus specification ). agents north of the pch must not forward a subsequent locked read to the bridge if th ey see the first one finish with a failed completion. 5.1.2.5 target / master aborts when a cycle initiated by the bridge is ma ster/target aborted, the bridge will not re- attempt the same cycle. for multiple dw cycles, the bridge increments the address and attempts the next dw of the transaction. for all non-postable cycles, a target abort response packet is returned for each dw that was master or target aborted on pci. the bridge drops posted writes that abort. 5.1.2.6 secondary master latency timer the bridge implements a master latency timer using the smlt register which, upon expiration, causes the de-assertion of frame# at the next legal clock edge when there is another active request to use the pci bus. 5.1.2.7 dual address cycle (dac) the bridge will issue full 64-bit dual a ddress cycles for device memory-mapped registers above 4 gb.
datasheet 125 functional description 5.1.2.8 memory and i/o decode to pci the pci bridge in the pch is a subtractive decode agent , which follows the following rules when forwarding a cycle from dmi to the pci interface: ? the pci bridge will positively decode any memory/io address within its window registers, assuming pcicmd.mse (d30:f0:offset 04h:bit 1) is set for memory windows and pcicmd.iose (d30:f0:offset 04h:bit 0) is set for i/o windows. ? the pci bridge will subtractively decode any 64-bit memo ry address not claimed by another agent, assuming pcicmd.mse (d30:f0:offset 04h:bit 1) is set. ? the pci bridge will subtractively decode any 16-bit i/o address not claimed by another agent assuming pcicmd.iose (d30:f0:offset 04h:bit 0) is set. ? if bctrl.ie (d30:f0:offset 3eh:bit 2) is set, the pci bridge will not positively forward from primary to secondary calle d out ranges in the i/o window per pci local bus specification (i/o transactions addressing the last 768 bytes in each, 1 kb block: offsets 100h to 3ffh). the pc i bridge will still take them subtractively assuming the above rules. ? if bctrl.vgae (d30:f0:offset 3eh:bit 3) is set, the pci bridge will positively forward from primary to secondary i/o and memory ranges as called out in the pci bridge specificatio n, assuming the above rules are met. 5.1.3 parity error detection and generation pci parity errors can be detected and repo rted. the following behavioral rules apply: ? when a parity error is detected on pci, the bridge sets the secsts.dpe (d30:f0:offset 1eh:bit 15). ? if the bridge is a master and bctrl.pere (d30:f0:offset 3eh:bit 0) is set and one of the parity errors defined below is detected on pci, then the bridge will set secsts.dpd (d30:f0:offset 1eh:bit 8) an d will also generate an internal serr#. ? during a write cycle, the perr# signal is active, or ? a data parity error is detected while performing a read cycle ? if an address or command parity error is detected on pci and pcicmd.see (d30:f0:offset 04h:bit 8), bctrl.pere, and bctrl.see (d30:f0:offset 3eh:bit 1) are all set, the bridge will set psts.sse (d30:f0:offset 06h:bit 14) and generate an internal serr#. ? if the psts.sse is set because of an ad dress parity error and the pcicmd.see is set, the bridge will generate an internal serr#. ? when bad parity is detected from dmi, bad parity will be driven on all data from the bridge. ? when an address parity error is detected on pci, the pci bridge will never claim the cycle. this is a slight deviation from the pci bridge spec, which says that a cycle should be claimed if bctrl.pere is not se t. however, dmi does not have a concept of address parity error, so claiming the cycle could result in the rest of the system seeing a bad transaction as a good transaction.
functional description 126 datasheet 5.1.4 pcirst# the pcirst# pin is genera ted under two conditions: ?pltrst# active ? bctrl.sbr (d30:f0:offset 3eh:bit 6) set to 1 the pcirst# pin is in the suspend well. pcir st# should be tied to pci bus agents, but not other agents in the system. 5.1.5 peer cycles the pci bridge may be the initiator of peer cycles. peer cycles include memory, i/o, and configuration cycle types. peer cycles are only allowed through vc0, and are enabled with the following bits: ? bpc.pde (d30:f0:offset 4ch:bit 2) ? memory and i/o cycles ? bpc.cde (d30:f0:offset 4ch:bit 1) ? configuration cycles when enabled for peer for one of the above cycle types, the pci bridge will perform a peer decode to see if a peer agent can receive the cycle. when not enabled, memory cycles (posted and/or non-posted) are sent to dmi, and i/o and/or configuration cycles are not claimed. configuration cycles have special considerations. under the pci local bus specification , these cycles are not allowed to be forwarded upstream through a bridge. however, to enable things such as manage ability, bpc.cde can be set. wh en set, type 1 cycles are allowed into the part. the address format of the type 1 cycle is slightly different from a standard pci configuration cycle to allow addr essing of extended pci space. the format is shown in ta b l e 5 - 2 . note: the pch usb controllers cannot perform peer-to-peer traffic. table 5-2. type 1 address format bits definition 31:27 reserved (same as the pci local bus specification ) 26:24 extended configuration address ? allows addressing of up to 4k. these bits are combined with bits 7: 2 to get the full register. 23:16 bus number (same as the pci local bus specification ) 15:11 device number (same as the pci local bus specification ) 10:8 function number (same as the pci local bus specification ) 7:2 register (same as the pci local bus specification ) 10 0 must be 1 to indicate a type 1 cy cle. type 0 cycles are not decoded.
datasheet 127 functional description 5.1.6 pci-to-pci bridge model from a software perspective, the pch cont ains a pci-to-pci bridge. this bridge connects dmi to the pci bus. by using the pci-to-pci bridge software model, the pch can have its decode ranges programmed by existing plug-and-play software such that pci ranges do not conflict with graphics aperture ranges in the host controller. 5.1.7 idsel to device number mapping when addressing devices on the external pc i bus (with the pci slots), the pch asserts one address signal as an idsel. when a ccessing device 0, the pch asserts ad16. when accessing device 1, the pch asserts ad17. this mapping continues all the way up to device 15 where the pch asserts ad 31. note that the pch internal functions (intel ? high definition audio, usb, sata and pci bridge) are enumerated like they are off of a separate pci bus (dmi) from the external pci bus. 5.1.8 standard pci bus configuration mechanism the pci bus defines a slot based ?configuration space? that allows each device to contain up to eight functions with each function containing up to 256, 8-bit configuration registers. the pci local bus specification, revision 2.3 defines two bus cycles to access the pci configuration space: configuration read and configuration write. memory and i/o spaces are supported directly by the processor. configuration space is supported by a mapping mechan ism implemented within the pch. the pci local bus specification, revision 2.3 defines two mechanisms to access configuration space, mechanism 1 and mechanism 2. the pch only supports mechanism 1. warning: configuration writes to internal devices, when the devices are disabled, are illegal and may cause undefined results. 5.2 pci express* root ports (d28:f0,f1,f2,f3,f4,f5, f6, f7) there are eight root ports available in the pc h. the root ports are compliant to the pci express 2.0 specification running at 2.5 gt/s . the ports all reside in device 28, and take function 0 ? 7. port 1 is function 0, port 2 is function 1, port 3 is function 2, port 4 is function 3, port 5 is function 4, port 6 is function 5, port 7 is function 6, and port 8 is function 7. note: this section assumes the default pci express function number-to-root port mapping is used. function numbers for a given root po rt are assignable through the ?root port function number and hide for pci expr ess root ports? registers (rcba+0404h). pci express root ports 1-4 and ports 5-8 can independently be configured as four x1s, two x2s, one x2 and 2 x1s, or one x4 port widths. the port configuration is set by soft straps in the flash descriptor. note: pci express port 7 and 8 are not available for the h55, hm55, and intel 3400 chipsets. pcie* ports are numbered from 1?8.
functional description 128 datasheet 5.2.1 interrupt generation the root port generates interrupts on behalf of hot-plug and power management events, when enabled. these interrupts can ei ther be pin based, or can be msis, when enabled. when an interrupt is generated using the legacy pin, the pin is internally routed to the pch interrupt controllers. the pin that is driv en is based upon the setting of the chipset configuration registers. specifically, the chipset configuration registers used are the d28ip (base address + 310ch) and d2 8ir (base address + 3146h) registers. table 5-3 summarizes interrupt behavior for msi and wire-modes. in the table ?bits? refers to the hot-plug and pme interrupt bits. 5.2.2 power management 5.2.2.1 s3/s4/s5 support software initiates the transition to s3/s4/s5 by performing an io write to the power management control register in the pch. after the io write completion has been returned to the processor, each root port will send a pme_turn_off tlp (transaction layer packet) message on its downstream link. the device attached to the link will eventually respond with a pme_to_ack tlp message followed by sending a pm_enter_l23 dllp (data link layer packet) request to enter the l2/l3 ready state. when all of the pch root ports links are in the l2/l3 ready state, the pch power management control logic will proceed with the entry into s3/s4/s5. prior to entering s3, software is re quired to put each device into d3 hot . when a device is put into d3 hot , it will initiate entry into a l1 link state by sending a pm_enter_l1 dllp. thus under normal operating cond itions when the root ports sends the pme_turn_off message the link will be in st ate l1. however, when the root port is instructed to send the pme_turn_off message , it will send it whether or not the link was in l1. endpoints attached to pch can make no assumptions about the state of the link prior to receiving a pme_turn_off message. table 5-3. msi versus pci irq actions interrupt register wire-mode action msi action all bits 0 wire inactive no action one or more bits set to 1 wire active send message one or more bits set to 1, new bit gets set to 1 wire active send message one or more bits set to 1, software clears some (but not all) bits wire active send message one or more bits set to 1, software clears all bits wire inactive no action software clears one or more bi ts, and one or more bits are set on the same clock wire active send message
datasheet 129 functional description 5.2.2.2 resuming from suspended state the root port contains enough circuitry in the suspend well to detect a wake event through the wake# signal and to wake the system. when wake# is detected asserted, an internal signal is sent to the power management controller of the pch to cause the system to wake up. this internal message is not logged in any register, nor is an interrupt/gpe generated due to it. 5.2.2.3 device initiated pm_pme message when the system has returned to a working state from a previous low power state, a device requesting service will send a pm_p me message continuously, until acknowledge by the root port. the root port will take different actions depending upon whether this is the first pm_pme has been received, or whether a previous message has been received but not yet serviced by the operating system. if this is the first message received (rsts.ps - d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 60h:bit 16 is cleared), the root port will set rsts.ps, and log the pme requester id into rsts.rid (d28:f0/f1/f2/f3/f4/f5/f6/f7:o ffset 60h:bits 15:0). if an interrupt is enabled using rctl.pie (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 5ch:bit 3), an interrupt will be generated. this interrupt can be eith er a pin or an msi if msi is enabled using mc.msie (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 82h:bit 0). see section 5.2.2.4 for smi/sci generation. if this is a subsequent message received (rst s.ps is already set), the root port will set rsts.pp (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 60h:bit 17) and log the pme requester id from the message in a hidden register. no other action will be taken. when the first pme event is cleared by softwa re clearing rsts.ps, the root port will set rsts.ps, clear rsts.pp, and move the requester id from the hidden register into rsts.rid. if rctl.pie is set, an interrupt will be gene rated. if rctl.pie is not set, a message will be sent to the power management controller so that a gpe can be set. if messages have been logged (rsts.ps is set), and rctl.pie is later written from a 0 to a 1, and interrupt will be generated. this last co ndition handles the case where the message was received prior to the operating system re-enabling interrupts after resuming from a low power state. 5.2.2.4 smi/sci generation interrupts for power management events are not supported on legacy operating systems. to support power management on non-pci express aware operating systems, pm events can be routed to generate sci. to generate sci, mpc. pmce must be set. when set, a power management event will cause smscs.pmcs (d28:f0/f1/f2/f3/f4/ f5/f6/f7:offset dch: bit 31) to be set. additionally, bios workarounds for power management can be supported by setting mpc.pmme (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset d8h:bit 0). when this bit is set, power management events will set sm scs.pmms (d28:f0/f1/f2/f3/f4/f5/f6/ f7:offset dch:bit 0), and smi # will be gene rated. this bit will be set regardless of whether interrupts or sci is enabled. th e smi# may occur concurrently with an interrupt or sci.
functional description 130 datasheet 5.2.3 serr# generation serr# may be generated using two paths ? through pci mechanisms involving bits in the pci header, or through pci express * mechanisms involving bits in the pci express capability structure. 5.2.4 hot-plug each root port implements a hot-plug controller which performs the following: ? messages to turn on / off / blink leds ? presence and attention button detection ? interrupt generation the root port only allows hot-plug with modules (such as, expresscard*). edge- connector based hot-plug is not supported. 5.2.4.1 presence detection when a module is plugged in and power is supplied, the physical layer will detect the presence of the device, and the root po rt sets slsts.pds (d28:f0/f1/f2/f3/f4/ f5:offset 5ah:bit 6) and slsts.pdc (d28:f0/f1/f2/f3:offset 6h:bit 3). if slctl.pde (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 58h:b it 3) and slctl.hpe (d28:f0/f1/f2/f3/ f4/f5/f6/f7:offset 58h:bit 5) are both set, the root port will also generate an interrupt. when a module is removed (using the physical layer detection), the root port clears slsts.pds and sets slsts.pdc. if slctl.pde and slctl.hpe are both set, the root port will also generate an interrupt. figure 5-1. generation of serr# to platform psts.sse serr# pcicmd.see secondary parity error primary parity error secondary serr# correctable serr# fatal serr# non-fatal serr# pci pci express
datasheet 131 functional description 5.2.4.2 message generation when system software writes to slctl.aic (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 58h:bits 7:6) or slctl.pic (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 58h:bits 9:8), the root port will send a message down the link to change the state of leds on the module. writes to these fields are non-postable cycles, and the resulting message is a postable cycle. when receiving one of these writes , the root port performs the following: ? changes the state in the register ? generates a completion into the upstream queue ? formulates a message for the downstream po rt if the field is written to regardless of if the field changed ? generates the message on the downstream port ? when the last message of a command is transmitted, sets slsts.cce (d28:f0/f1/ f2/f3/f4/f5/f6/f7:offset 58h:bit 4) to indicate the command has completed. if slctl.cce and slctl.hpe (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 58h:bit 5) are set, the root port generates an interrupt. the command completed register (slsts.cc) applies only to commands issued by software to control the attention indicator (slctl.aic), power indicator (slctl.pic), or power controller (slctl.pcc). however, writes to other parts of the slot control register would invariably end up writing to the indicators, power controller fields; hence, any write to the slot control register is considered a command and if enabled, will result in a command complete interrupt. the only exception to this rule is a write to disable the command complete interrupt whic h will not result in a command complete interrupt. a single write to the slot control register is considered to be a single command, and hence receives a single command complete, even if the write affects more than one field in the slot control register. 5.2.4.3 attention button detection when an attached device is ejected, an a ttention button could be pressed by the user. this attention button press will result in a the pci express message ?attention_button_pressed? from the device . upon receiving this message, the root port will set slsts.abp (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset 5ah:bit 0). if slctl.abe (d28:f0/f1/f2/f3/f4/f5:offset 58h:bit 0) and slctl.hpe (d28:f0/f1/ f2/f3/f4/f5/f6/f7:offset 58h:bit 5) are set, the hot-plug controller will also generate an interrupt. the interrupt is generated on an edge-event. for example, if slsts.abp is already set, a new interrupt will not be generated.
functional description 132 datasheet 5.2.4.4 smi/sci generation interrupts for hot-plug events are not supp orted on legacy operating systems. to support hot-plug on non-pci express aware op erating systems, hot-plug events can be routed to generate sci. to generate sci, mpc.hpce (d28:f0 /f1/f2/f3/f4/f5/f6/ f7:offset d8h:bit 30) must be set. when set, enabled hot-plug events will cause smscs.hpcs (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset dch:bit 30) to be set. additionally, bios workarounds for hot-plug can be supported by setting mpc.hpme (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset d8h:bit 1). when this bit is set, hot-plug events can cause smi status bits in smscs to be set. supported hot-plug events and their corresponding smscs bit are: ? command completed ? scscs.hpccm (d 28:f0/f1/f2/f3/f4/f5/f6/f7:offset dch:bit 3) ? presence detect changed ? smscs.hppdm (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset dch:bit 1) ? attention button pressed ? smscs.hpabm (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset dch:bit 2) ? link active state changed ? smscs.hpla s (d28:f0/f1/f2/f3/f4/f5/f6/f7:offset dch:bit 4) when any of these bits are set, smi# will be generated. these bits are set regardless of whether interrupts or sci are enabled fo r hot-plug events. the smi# may occur concurrently with an interrupt or sci. 5.3 gigabit ethernet controller (b0:d25:f0) the pch chipset integrates a gigabit ethernet (gbe) controller. the integrated gbe controller is compatible with the intel ? 82577/82578 platform lan connect device. the integrated gbe controller provides tw o interfaces for 10/100/1000 mb/s and manageability operation: ? based on pci express*?a high-speed serd es interface using pci express electrical signaling at half speed while keeping the custom logical protocol for active state operation mode. ? system management bus (smbus)?a very low speed connection for low power state mode for manageability communication only. at this low power state mode the ethernet link speed is reduced to 10 mb/s. the 82577/82578 can be connected to any available pci express port in the pch chipset. the 82577/82578 only runs at a spee d of 1250 mb/s, which is 1/2 of the gen1 2.5 gb/s pci express frequency. each of th e pci express root ports in the pch chipset have the ability to run at the 1250 mb/s rate. there is no need to implement a mechanism to detect that the 82577/82578 is connected. the port configuration (if any), attached to the 82577/82578, is pre-loaded from the nvm. the selected port adjusts the transmitter to run at the 1250 mb/s rate and does not need to be pci express compliant. note: pcie validation tools cannot be used for electrical validation of this interface; however, pcie layout rules apply for on-board routing. the integrated gbe controller operates at fu ll-duplex at all supported speeds or half- duplex at 10/100 mb/s. it also adheres to the ieee 802.3x flow control specification. note: gbe operation (1000 mb/s) is only supported in s0 mode. in sx modes, smbus is the only active bus and is used to support manageability/remote wake-up functionality.
datasheet 133 functional description the integrated gbe controller provides a syst em interface using a pci express function. a full memory-mapped or i/o-mapped interface is provided to the software, along with dma mechanisms for high performance data transfer. the integrated gbe controller features are: ?network features ? compliant with the 1 gb/s ethern et 802.3 802.3u 802.3ab specifications ? multi-speed operation: 10/100/1000 mb/s ? full-duplex operation at 10/100/1000mb/s: half-duplex at 10/100 mb/s ? flow control support compliant with the 802.3x specification ? vlan support compliant with the 802.3q specification ? mac address filters: perfect match unica st filters; multicast hash filtering, broadcast filter and promiscuous mode ? pci express/smbus interface to gbe phys ? host interface features ? 64-bit address master support for system s using more than 4 gb of physical memory ? programmable host memory receive buffers (256 bytes to 16 kb) ? intelligent interrupt generation feat ures to enhance driver performance ? descriptor ring management hard ware for transmit and receive ? software controlled reset (resets everything except the configuration space) ? message signaled interrupts ? performance features ? configurable receive and transmit data fifo, programmable in 1 kb increments ? tcp segmentation capability compatib le with nt 5.x off loading features ? fragmented udp checksum offload for packet reassembly ? ipv4 and ipv6 checksum offload support (receive, transmit, and tcp segmentation offload) ? split header support to eliminate payload copy from user space to host space ? receive side scaling (rss) with two hardware receive queues ? supports 9018 bytes of jumbo packets ?packet buffer size ? linksec offload compliant with 802.3ae specification ? timesync offload compliant with 802.1as specification ? virtualization technology features ? warm function reset ? function level reset (flr) ?vmdq1 ? power management features ? magic packet* wake-up enable with unique mac address ? acpi register set and power down functionality supporting d0 and d3 states ? full wake up support (apm, acpi) ? mac power down at sx, dmoff with and without wol
functional description 134 datasheet 5.3.1 gbe pci express* bus interface the gbe controller has a pci express interface to the host processor and host memory. the following sections detail the bus transactions. 5.3.1.1 transaction layer the upper layer of the host architecture is the transaction layer. the transaction layer connects to the device core using an implem entation specific protocol. through this core-to-transaction-layer protocol, the applicat ion-specific parts of the device interact with the subsystem and transmit and receive requests to or from the remote agent, respectively. 5.3.1.2 data alignment 5.3.1.2.1 4 kb boundary pci requests must never specify an address/ length combination that causes a memory space access to cross a 4 kb boundary. it is hardware?s responsibility to break requests into 4 kb-aligned requests (if needed). this does not pose any requirement on software. however, if software allocates a buffer across a 4 kb boundary, hardware issues multiple requests for the buffer. soft ware should consider aligning buffers to a 4 kb boundary in cases where it improves performance. the alignment to the 4 kb boundaries is done in the core. the transaction layer does not do any alignment according to these boundaries. 5.3.1.2.2 64 bytes pci requests are multiples of 64 bytes an d aligned to make better use of memory controller resources. writes, however, can be on any boundary and can cross a 64-byte alignment boundary. 5.3.1.3 configuration request retry status the integrated gbe controller might have a delay in initialization due to an nvm read. if the nvm configuration read operation is not completed and the device receives a configuration request, the device respon ds with a configuration request retry completion status to terminate the request, and thus effectively stalls the configuration request until such time that the sub-system has completed local initialization and is ready to communicate with the host.
datasheet 135 functional description 5.3.2 error events and error reporting 5.3.2.1 data parity error the pci host bus does not provide parity prot ection, but it does forward parity errors from bridges. the integrated gbe controlle r recognizes parity errors through the internal bus interface and sets the parity error bit in pci configuration space. if parity errors are enabled in configuration space, a system error is indicated on the pci host bus. the offending cycle with a parity e rror is dropped and not processed by the integrated gbe controller. 5.3.2.2 completion with unsu ccessful completion status a completion with unsuccessful completion status (any status other than 000) is dropped and not processed by the integrated gbe controller. furthermore, the request that corresponds to the unsuccessful completion is not retried. when this unsuccessful completion status is received, the system error bit in the pci configuration space is set. if the system errors are enabled in configur ation space, a system error is indicated on the pci host bus. 5.3.3 ethernet interface the integrated gbe controller provides a co mplete csma/cd function supporting ieee 802.3 (10 mb/s), 802.3u (100 mb/s) implementa tions. it also supports the ieee 802.3z and 802.3ab (1000 mb/s) implementations. th e device performs all of the functions required for transmission, reception, and collision handling called out in the standards. the mode used to communicate between the pch and the 82577/82578 phy supports 10/100/1000 mb/s operation, with both half- and full-duplex operation at 10/100 mb/s, and full-duplex operation at 1000 mb/s. 5.3.3.1 intel ? 5 series chipset and intel ? 3400 series chipset 82577/82578 phy interface the integrated gbe controller and the 82577/82578 phy communicate through the pcie and smbus interfaces. all integrated gbe controller configuration is performed using device control registers mapped into system memory or i/o space. the 82577/ 82578 is configured using the pc i express or smbus interface. the integrated gbe controller supports various modes as listed in table 5-4 . table 5-4. lan mode support mode system state interface active connections normal 10/100/1000 mb/s s0 pci express or smbus 1 notes: 1. gbe operation is not supported in sx states. 82577/82578 manageability and remote wake-up sx smbus 82577/82578
functional description 136 datasheet 5.3.4 pci power management the integrated gbe controller supports the advanced configuration and power interface (acpi) specification as well as advanced power management (apm). this enables the network-related activity (using an internal host wake signal) to wake up the host. for example, from sx (s3-s5) to s0. the integrated gbe controller contains power management registers for pci and supports d0 and d3 states. pcie transactions are only allowed in the d0 state, except for host accesses to the integrated gbe controller?s pci configuration registers. 5.3.4.1 wake up the integrated gbe controller supports two types of wake-up mechanisms: 1. advanced power management (apm) wake up 2. acpi power management wake up both mechanisms use an internal logic signal to wake the system up. the wake-up steps are as follows: 1. host wake event occurs (note that packet is not delivered to host). 2. the 82577/82578 receives a wol packet/link status change. 3. the 82577/82578 wakes up the integrated gbe controller using an smbus message. 4. the integrated gbe controller sets the pme_status bit. 5. system wakes from sx state to s0 state. 6. the host lan function is transitioned to d0. 7. the host clears the pme_status bit. 5.3.4.1.1 advanced power management wake up advanced power management wake up or apm wake up was previously known as wake on lan (wol). it is a feature that has existed in the 10/100 mb/s nics for several generations. the basic premise is to receive a broadcast or unicast packet with an explicit data pattern and then to assert a signal to wake up the system. in earlier generations, this was accomplished by using a special signal that ran across a cable to a defined connector on the motherboard. the nic would assert the signal for approximately 50 ms to signal a wake up. the integrated gbe controller uses (if configured to) an in-band pm_pme message for this. at power up, the integrated gbe controller reads the apm enable bits from the nvm pci init control word into the apm enable (apme) bits of the wake up control (wuc) register. these bits control enabling of apm wake up. when apm wake up is enabled, the integr ated gbe controller checks all incoming packets for magic packets*. once the integrated gbe controller receives a matching magic packet*, it: ? sets the magic packet* received bit in the wake up status (wus) register. ? sets the pme_status bit in the power management control/status register (pmcsr). apm wake up is supported in all power states and only disabled if a subsequent nvm read results in the apm wake up bit being cleared or the software explicitly writes a 0b to the apm wake up (apm) bit of the wuc register.
datasheet 137 functional description note: apm wake up settings will be restored to nvm default by the pch when lan connected device (phy) power is turned off and subsequently restored. some example host wol flows are: 1. when system transitions to g3 after wol is disabled from the bios, apm host wol would get enabled. 2. anytime power to the lan connected device (phy) is cycled while in s4/s5 after wol is disabled from the bios, apm host wol would get enabled. anytime power to the lan connected device (phy) is cycled while in s3, apm host wol configuration is lost. 5.3.4.1.2 acpi power management wake up the integrated gbe controller supports acpi power management based wake ups. it can generate system wake-up events from three sources: ? receiving a magic packet*. ? receiving a network wake up packet. ? detecting a link change of state. activating acpi power management wakeup requires the following steps: ? the software device driver programs the wake up filter control (wufc) register to indicate the packets it needs to wake up from and supplies the necessary data to the ipv4 address table (ip4at) and the flex ible filter mask table (ffmt), flexible filter length table (fflt), and the flexible filter value table (ffvt). it can also set the link status change wake up enable (lnkc) bit in the wake up filter control (wufc) register to cause wake up when the link changes state. ? the operating system (at configuration time) writes a 1b to the pme_en bit of the power management control/status register (pmcsr.8). normally, after enabling wake up, the operating system writes a 11b to the lower two bits of the pmcsr to put the integrated gbe controller into low-power mode. once wake up is enabled, the integrated gbe controller monitors incoming packets, first filtering them according to its standa rd address filtering method, then filtering them with all of the enabled wake-up filter s. if a packet passes both the standard address filtering and at least one of the en abled wake-up filters, the integrated gbe controller: ? sets the pme_status bit in the pmcsr ? sets one or more of the received bits in the wake up status (wus) register. (more than one bit is set if a packet matches more than one filter.) if enabled, a link state change wake up causes similar results, setting the link status changed (lnkc) bit in the wake up status (wus) register when the link goes up or down. after receiving a wake-up packet, the integr ated gbe controller ignores any subsequent wake-up packets until the software device driver clears all of the received bits in the wake up status (wus) register. it also ignores link change events until the software device driver clears the link status changed (lnkc) bit in the wake up status (wus) register. note: acpi wake up settings are not preserved when the lan connected device (phy) power is turned off and subsequently restor ed. some example host wol flows are: 1. anytime power to the lan connected device (phy) is cycled while in s3 or s4, acpi host wol configuration is lost.
functional description 138 datasheet 5.3.5 configurable leds the integrated gbe controller supports three controllable and configurable leds that are driven from the 82577/82578. each of th e three led outputs can be individually configured to select the particular event, state, or activity, which is indicated on that output. in addition, each led can be individually configured for output polarity as well as for blinking versus non-blinking (steady-state) indication. the configuration for led outputs is specifie d using the ledctl register. furthermore, the hardware-default configuration for all th e led outputs, can be specified using nvm fields, thereby supporting led displays conf igurable to a particular oem preference. each of the three leds might be configured to use one of a variety of sources for output indication. the mode bits control the led source: ? link_100/1000 is asserted when link is established at either 100 or 1000 mb/s. ? link_10/1000 is asserted when link is established at either 10 or 1000 mb/s. ? link_up is asserted when any spee d link is established and maintained. ? activity is asserted when link is established and packets are being transmitted or received. ? link/activity is asserted when link is established and there is no transmit or receive activity ? link_10 is asserted when a 10 mb/ps link is established and maintained. ? link_100 is asserted when a 100 mb/s link is established and maintained. ? link_1000 is asserted when a 1000 mb/s link is established and maintained. ? full_duplex is asserted when the link is configured for full duplex operation. ? collision is asserted when a collision is observed. ? paused is asserted when the device's transmitter is flow controlled. ? led_on is always asserted; led_off is always de-asserted. the ivrt bits enable the led source to be invert ed before being output or observed by the blink-control logic. led outputs are a ssumed to normally be connected to the negative side (cathode) of an external led. the blink bits control whether the led should be blinked while the led source is asserted, and the blinking frequency (either 200 ms on and 200 ms off or 83 ms on and 83 ms off). the blink control can be especially useful for ensuring that certain events, such as activity indication, cause led transitions, which are sufficiently visible to a human eye. the same blinking rate is shared by all leds. 5.3.6 function level reset support (flr) the integrated gbe controller supports flr capability. flr capability can be used in conjunction with intel ? virtualization technology. flr allows an operating system in a virtual machine to have complete control ov er a device, including its initialization, without interfering with the rest of the platform. the device provides a software interface that enables the operating system to reset the entire device as if a pci reset was asserted.
datasheet 139 functional description 5.3.6.1 flr steps 5.3.6.1.1 flr initialization 1. flr is initiated by softwa re by writing a 1b to the initiate flr bit. 2. all subsequent requests targeting the f unction is not claimed and will be master abort immediate on the bus. this includes any configuration, i/o or memory cycles, however, the function must continue to accept completions targeting the function. 5.3.6.1.2 flr operation function resets all configuration, i/o and memory registers of the function except those indicated otherwise and resets all internal states of the function to the default or initial condition. 5.3.6.1.3 flr completion the initiate flr bit is reset (cleared) when the fl r reset completes. this bit can be used to indicate to the software that the flr reset completed. note: from the time the initiate flr bit is written to 1b, software must wait at least 100 ms before accessing the function. 5.4 lpc bridge (with system and management functions) (d31:f0) the lpc bridge function of the pch resides in pci device 31:function 0. in addition to the lpc bridge function, d31:f0 contains other functional units including dma, interrupt controllers, timers, power mana gement, system management, gpio, and rtc. in this chapter, registers and functions associated with other functional units (power management, gpio, usb, etc.) are described in their respective sections. note: the lpc bridge cannot be configured as a subtractive decode agent. 5.4.1 lpc interface the pch implements an lpc interface as described in the low pin count interface specification, revision 1.1. the lpc interface to the pch is shown in figure 5-2 . note that the pch implements all of the signals that are shown as optional, but peripherals are not required to do so.
functional description 140 datasheet 5.4.1.1 lpc cycle types the pch implements all of the cycle types described in the low pin count interface specification, revision 1.1. table 5-5 shows the cycle types supported by the pch. notes: 1. the pch provides a single generic memory ra nge (lgmr) for decoding memory cycles and forwarding them as lpc memory cycles on the lpc bus. the lgmr memory decode range is 64 kb in size and can be defined as bein g anywhere in the 4 gb memory space. this range needs to be configured by bios duri ng post to provide the necessary memory resources. bios should advertise the lpc gene ric memory range as reserved to the os to avoid resource conflict. for larger transfers, the pch performs multiple 8-bit transfers. if the cycle is not claimed by any peripheral, it is subsequently aborte d, and the pch returns a value of all 1s to the processor. this is done to maintain compatibility with isa memory cycles where pull-up resistors would keep the bus high if no device responds. 2. bus master read or write cycles must be naturally aligned. for example, a 1-byte transfer can be to any address. however, the 2-byte tran sfer must be word-aligned (that is, with an address where a0=0). a dword transfer must be dword-aligned (that is, with an address where a1 and a0 are both 0). figure 5-2. lpc interface diagram pch lpc device pci bus pci clk pci rst# pci serirq pci pme# lad [3:0] lframe# lpcpd# (optional) sus_stat# ldrq[1:0]# (optional) lsmi# (optional) gpi table 5-5. lpc cycle types supported cycle type comment memory read 1 byte only. (see note 1 below) memory write 1 byte only. (see note 1 below) i/o read 1 byte only. the pch breaks up 16 - and 32-bit proces sor cycles into multiple 8-bit transfers. i/o write 1 byte only. the pch breaks up 16 - and 32-bit proces sor cycles into multiple 8-bit transfers. dma read can be 1, or 2 bytes dma write can be 1, or 2 bytes bus master read can be 1, 2, or 4 bytes. (see note 2 below) bus master write can be 1, 2, or 4 bytes. (see note 2 below)
datasheet 141 functional description 5.4.1.2 start field definition note: all other encodings are reserved. 5.4.1.3 cycle type / direction (cyctype + dir) the pch always drives bit 0 of this field to 0. peripherals running bus master cycles must also drive bit 0 to 0. table 5-7 shows the valid bit encodings. 5.4.1.4 size bits[3:2] are reserved. the pch always drives them to 00. peripherals running bus master cycles are also supposed to drive 00 for bits 3:2; however, the pch ignores those bits. bits[1:0] are encoded as listed in table 5-8 . table 5-6. start field bit definitions bits[3:0] encoding definition 0000 start of cycle for a generic target 0010 grant for bus master 0 0011 grant for bus master 1 1111 stop/abort: end of a cycle for a target. table 5-7. cycle type bit definitions bits[3:2] bit1 definition 00 0 i/o read 00 1 i/o write 01 0 memory read 01 1 memory read 10 0 dma read 10 1 dma write 11 x reserved. if a peripheral performing a bus master cycle generates this value, the pch aborts the cycle. table 5-8. transfer size bit definition bits[1:0] size 00 8-bit transfer (1 byte) 01 16-bit transfer (2 bytes) 10 reserved. the pch never drives this comb ination. if a peripheral running a bus master cycle drives this combination, the pch may abort the transfer. 11 32-bit transfer (4 bytes)
functional description 142 datasheet 5.4.1.5 sync valid values for the sync field are shown in table 5-9 . notes: 1. all other combinations are reserved. 2. if the lpc controller receives any sync retu rned from the device ot her than short (0101), long wait (0110), or ready (0000) when runn ing a fwh cycle, indeterminate results may occur. a fwh device is not allo wed to assert an error sync. 5.4.1.6 sync time-out there are several error cases that can occur on the lpc interface. the pch responds as defined in section 4.2.1.9 of the low pin count interface specification , revision 1.1 to the stimuli described therein. there may be other peripheral failure conditions; however, these are not handled by the pch. 5.4.1.7 sync error indication the pch responds as defined in section 4.2.1.10 of the low pin count interface specification, revision 1.1. upon recognizing the sync field indicating an error, the pch treats this as a serr by reporting this into the device 31 error reporting logic. 5.4.1.8 lframe# usage the pch follows the usage of lframe# as defined in the low pin count interface specification, revision 1.1. the pch performs an abort for the following cases (possible failure cases): ? the pch starts a memory, i/o, or dma cycle, but no device drives a valid sync after four consecutive clocks. ? the pch starts a memory, i/o, or dma cycl e, and the peripheral drives an invalid sync pattern. ? a peripheral drives an illegal address when performing bus master cycles. ? a peripheral drives an invalid value. table 5-9. sync bit definition bits[3:0] indication 0000 ready: sync achieved with no error. for dm a transfers, this also indicates dma request de-assertion an d no more transfers de sired for that channel. 0101 short wait: part indicating wait-states. for bu s master cycles, the pch does not use this encoding. instead, the pch uses th e long wait encoding (see next encoding below). 0110 long wait: part indicating wait-sta tes, and many wait-state s will be added. this encoding driven by the pch for bus master cycles, rather than the short wait (0101). 1001 ready more (used only by peripheral for dma cycle): sync achieved with no error and more dma transfers desired to cont inue after this transfer. this value is valid only on dma transfers and is no t allowed for any other type of cycle. 1010 error: sync achieved with error. this is ge nerally used to re place the serr# or iochk# signal on the pci/isa bus. it indica tes that the data is to be transferred, but there is a serious error in this transfer. for dma transfers, this not only indicates an error, but also indicates dma request de -assertion and no more transfers desired for that channel.
datasheet 143 functional description 5.4.1.9 i/o cycles for i/o cycles targeting registers specified in the pch decode ranges, the pch performs i/o cycles as defined in the low pin count interface specification, revision 1.1. these are 8-bit transfers. if the processor attempts a 16-bit or 32-bit transfer, the pch breaks the cycle up into multiple 8-bit transfers to consecutive i/o addresses. note: if the cycle is not claimed by any peripheral (and subsequently aborted), the pch returns a value of all 1s (ffh) to the processor. this is to maintain compatibility with isa i/o cycles where pull-up resistors would keep the bus high if no device responds. 5.4.1.10 bus master cycles the pch supports bus master cycles and requests (using ldrq#) as defined in the low pin count interface specification, revision 1.1. the pch has two ldrq# inputs, and thus supports two separate bus master device s. it uses the associated start fields for bus master 0 (0010b) or bus master 1 (0011b). note: the pch does not support lpc bus masters performing i/o cycles. lpc bus masters should only perform memory read or memory write cycles. 5.4.1.11 lpc power management lpcpd# protocol same timings as for sus_stat#. upon driving sus_stat# low, lpc peripherals drive ldrq# low or tri-state it. the pch shuts of f the ldrq# input buffers. after driving sus_stat# active, the pch drives lframe # low, and tri-states (or drive low) lad[3:0]. note: the low pin count interface specification, revision 1.1 defines the lpcpd# protocol where there is at least 30 s from lpcpd# assertion to lrst# assertion. this specification explicitly states that this prot ocol only applies to entry/exit of low power states which does not include asynchrono us reset events. the pch asserts both sus_stat# (connects to lpcpd#) and pltrst# (connects to lrst#) at the same time during a global reset. this is not inco nsistent with the lpc lpcpd# protocol. 5.4.1.12 configuration and pch implications lpc i/f decoders to allow the i/o cycles and memory mapped cy cles to go to the lpc interface, the pch includes several decoders. during configurat ion, the pch must be programmed with the same decode ranges as the peripheral. the decoders are programmed using the device 31:function 0 configuration space. note: the pch cannot accept pci write cycles from pci-to-pci bridges or devices with similar characteristics (specifically those with a ?retry read? feature which is enabled) to an lpc device if there is an outstanding lpc read cycle towards the same pci device or bridge. these cycles are not part of normal system operation, but may be encountered as part of platform validation testing using custom test fixtures. bus master device mapping and start fields bus masters must have a unique start field. in the case of the pch that supports two lpc bus masters, it drives 0010 for the start field for grants to bus master 0 (requested using ldrq0#) and 0011 for grants to bus master #1 (requested using ldrq1#.). thus, no registers are needed to configure the start fields for a particular bus master.
functional description 144 datasheet 5.5 dma operation (d31:f0) the pch supports lpc dma using the pch? s dma controller. the dma controller has registers that are fixed in the lower 64 kb of i/o space. the dma controller is configured using registers in the pci co nfiguration space. these registers allow configuration of the channels for use by lpc dma. the dma circuitry incorporates the functionality of two 8237 dma controllers with seven independently programmable channels ( figure 5-3 ). dma controller 1 (dma-1) corresponds to dma channels 0?3 and dm a controller 2 (dma-2) corresponds to channels 5?7. dma channel 4 is used to cascade the two controllers and defaults to cascade mode in the dma channel mode (dcm) register. channel 4 is not available for any other purpose. in addition to acce pting requests from dma slaves, the dma controller also responds to requests that software initiates. software may initiate a dma service request by setting any bit in the dma channel request register to a 1. each dma channel is hardwired to the co mpatible settings for dma device size: channels [3:0] are hardwired to 8-bit, count-by-bytes transfers, and channels [7:5] are hardwired to 16-bit, count-by-words (address shifted) transfers. the pch provides 24-bit addressing in compliance with the isa-compatible specification. each channel includes a 16- bit isa-compatible current register which holds the 16 least-significant bits of the 24-bit address, an isa-compatible page register which contains the eight next most significant bits of address. the dma controller also features refresh ad dress generation, and auto-initialization following a dma termination. 5.5.1 channel priority for priority resolution, the dma consists of two logical channel groups: channels 0?3 and channels 4?7. each group may be in either fixed or rotate mode, as determined by the dma command register. dma i/o slaves normally assert their dreq line to arbitrate for dma service. however, a software request for dma service can be presented through each channel's dma request register. a software request is subject to the same prioritization as any hardware request. see the detailed register description for request register programming information in section 13.2 . 5.5.1.1 fixed priority the initial fixed priority structure is as follows: the fixed priority ordering is 0, 1, 2, 3, 5, 6, and 7. in this scheme, channel 0 has the highest priority, and channel 7 has the lowest priority. channels [3:0] of dma-1 assume the priority position of channel 4 in dma-2, thus taking priority over channels 5, 6, and 7. figure 5-3. pch dma controller channel 0 channel 1 channel 2 channel 3 channel 4 channel 5 channel 6 channel 7 dma-1 dma-2 high priority low priority 0, 1, 2, 3 5, 6, 7
datasheet 145 functional description 5.5.1.2 rotating priority rotation allows for ?fairness? in priority resolution. the priority chain rotates so that the last channel serviced is assigned the lowest priority in the channel group (0?3, 5?7). channels 0?3 rotate as a group of 4. they are always placed between channel 5 and channel 7 in the priority list. channel 5?7 rotate as part of a group of 4. that is, channels (5?7) form the first three positions in the rotation, while channel group (0?3) comprises the fourth position in the arbitration. 5.5.2 address compatibility mode when the dma is operating, the addresses do not increment or decrement through the high and low page registers. therefore, if a 24-bit address is 01ffffh and increments, the next address is 010000h, not 020000h. similarly, if a 24-bit address is 020000h and decrements, the next address is 02ffffh , not 01ffffh. however, when the dma is operating in 16-bit mode, the addresses still do not increment or decrement through the high and low page registers but the page boundary is now 128 k. therefore, if a 24-bit address is 01fffeh and increments, the next address is 000000h, not 0100000h. similarly, if a 24-bit address is 020000h and decrements, the next address is 03fffeh, not 02fffeh. this is compatible with the 8237 and page register implementation used in the pc-at. this mode is set after cpurst is valid. 5.5.3 summary of dma transfer sizes table 5-10 lists each of the dma device transfer sizes. the column labeled ?current byte/word count register? indicates that the register contents represents either the number of bytes to transfer or the number of 16-bit words to transfer. the column labeled ?current address increment/decrem ent? indicates the number added to or taken from the current address register after each dma transfer cycle. the dma channel mode register determines if the cu rrent address register will be incremented or decremented. 5.5.3.1 address shifting when pr ogrammed for 16-bit i/o count by words the pch maintains compatibility with the implem entation of the dma in the pc at that used the 8237. the dma shifts the addresse s for transfers to/from a 16-bit device count-by-words. note: the least significant bit of the low page register is dropped in 16-bit shifted mode. when programming the current address regi ster (when the dma channel is in this mode), the current address must be progra mmed to an even address with the address value shifted right by one bit. table 5-10. dma transfer size dma device date size and word count current byte/word count register current address increment/ decrement 8-bit i/o, count by bytes bytes 1 16-bit i/o, count by words (address shifted) words 1
functional description 146 datasheet the address shifting is shown in table 5-11 . note: the least significant bit of the page regi ster is dropped in 16-bit shifted mode. 5.5.4 autoinitialize by programming a bit in the dma channel mode register, a channel may be set up as an autoinitialize channel. when a channel undergoes autoinitialization, the original values of the current page, current address and current byte/word count registers are automatically restored from the ba se page, address, and byte/word count registers of that channel following tc. the base registers are loaded simultaneously with the current registers by the mi croprocessor when the dma channel is programmed and remain unchanged throughout the dma service. the mask bit is not set when the channel is in autoinitialize. follo wing autoinitialize, the channel is ready to perform another dma service, without processo r intervention, as soon as a valid dreq is detected. 5.5.5 softwar e commands there are three additional special software commands that the dma controller can execute. the three software commands are: ? clear byte pointer flip-flop ?master clear ? clear mask register they do not depend on any specific bit pattern on the data bus. table 5-11. address shifting in 16-bit i/o dma transfers output address 8-bit i/o programmed address (ch 0?3) 16-bit i/o programmed address (ch 5?7) (shifted) a0 a[16:1] a[23:17] a0 a[16:1] a[23:17] 0 a[15:0] a[23:17]
datasheet 147 functional description 5.6 lpc dma dma on lpc is handled through the use of the ldrq# lines from peripherals and special encodings on lad[3:0] from the ho st. single, demand, verify, and increment modes are supported on the lpc interface. channels 0?3 are 8 bit channels. channels 5?7 are 16-bit channels. channel 4 is reserved as a generic bus master request. 5.6.1 asserting dma requests peripherals that need dma service encode their requested channel number on the ldrq# signal. to simplify the protocol, each peripheral on the lpc i/f has its own dedicated ldrq# signal (they may not be shared between two separate peripherals). the pch has two ldrq# inputs, allowing at least two devices to support dma or bus mastering. ldrq# is synchronous with lclk (pci clock). as shown in figure 5-4 , the peripheral uses the following serial encoding sequence: ? peripheral starts the sequence by asserting ldrq# low (start bit). ldrq# is high during idle conditions. ? the next three bits contain the en coded dma channel number (msb first). ? the next bit (act) indicates whether the request for the indicated dma channel is active or inactive. the act bit is 1 (high) to indicate if it is active and 0 (low) if it is inactive. the case where act is low is rare , and is only used to indicate that a previous request for that channel is being abandoned. ? after the active/inactive indication, the ldrq# signal must go high for at least 1 clock. after that one clock, ldrq# signal can be brought low to the next encoding sequence. if another dma channel also needs to request a transfer, another sequence can be sent on ldrq#. for example, if an encoded request is sent for channel 2, and then channel 3 needs a transfer before the cycle for channe l 2 is run on the interface, the peripheral can send the encoded request for channel 3. th is allows multiple dma agents behind an i/o device to request use of th e lpc interface, and the i/o device does not need to self- arbitrate before sending the message. figure 5-4. dma request assertion through ldrq# start msb lsb act start lclk ldrq#
functional description 148 datasheet 5.6.2 abandoning dma requests dma requests can be de-asserted in two fashions: on error conditions by sending an ldrq# message with the ?act? bit set to 0, or normally through a sync field during the dma transfer. this section describes boundary conditions where the dma request needs to be removed prior to a data transfer. there may be some special cases where the peripheral desires to abandon a dma transfer. the most likely case of this occurring is due to a floppy disk controller which has overrun or underrun its fifo, or so ftware stopping a device prematurely. in these cases, the peripheral wishes to stop further dma activity. it may do so by sending an ldrq# message with the act bit as 0. however, since the dma request was seen by the pch, there is no assurance that the cycle has not been granted and will shortly run on lpc. therefore, peripherals must take into account that a dma cycle may still occur. the peripheral can choose not to respond to this cycle, in which case the host will abort it, or it can choose to comple te the cycle normally with any random data. this method of dma de-assertion should be prevented whenever possible, to limit boundary conditions both on the pch and the peripheral. 5.6.3 general flow of dma transfers arbitration for dma channels is performed through the 8237 within the host. once the host has won arbitration on behalf of a dma channel assigned to lpc, it asserts lframe# on the lpc i/f and begins the dma transfer. the general flow for a basic dma transfer is as follows: 1. the pch starts transfer by asserting 0000b on lad[3:0] with lframe# asserted. 2. the pch asserts ?cycle type? of dma, direction based on dma transfer direction. 3. the pch asserts channel number and, if applicable, terminal count. 4. the pch indicates the size of the transfer: 8 or 16 bits. 5. if a dma read? ? the pch drives the first 8 bits of data and turns the bus around. ? the peripheral acknowledges the data with a valid sync. ? if a 16-bit transfer, the process is repeated for the next 8 bits. 6. if a dma write? ? the pch turns the bus around and waits for data. ? the peripheral indicates data ready th rough sync and transfers the first byte. ? if a 16-bit transfer, the peripheral indicates data ready and transfers the next byte. 7. the peripheral turns around the bus. 5.6.4 terminal count terminal count is communicated through lad[3] on the same clock that dma channel is communicated on lad[2:0]. this field is th e channel field. terminal count indicates the last byte of transfer, based upon the size of the transfer. for example, on an 8-bit transfer size (size fiel d is 00b), if the tc bit is set, then this is the last byte. on a 16-bit transfer (size fiel d is 01b), if the tc bit is set, then the second byte is the last byte. the peripheral, therefore, must internalize the tc bit when the channel field is communicated, and only signal tc when the last byte of that transfer size has been transferred.
datasheet 149 functional description 5.6.5 verify mode verify mode is supported on the lpc interfac e. a verify transfer to the peripheral is similar to a dma write, where the peripheral is transferring data to main memory. the indication from the host is the same as a dma write, so the peripheral will be driving data onto the lpc interface. however, the ho st will not transfer this data into main memory. 5.6.6 dma request de-assertion an end of transfer is communicated to the pch through a special sync field transmitted by the peripheral. an lpc device must not attempt to signal the end of a transfer by de-asserting ldreq#. if a dma tran sfer is several bytes (such as, a transfer from a demand mode device) the pch need s to know when to de-assert the dma request based on the data currently being transferred. the dma agent uses a sync encoding on each byte of data being transferred, which indicates to the pch whether this is the last byte of transfer or if more bytes are requested. to indicate the last byte of tr ansfer, the peripheral uses a sync value of 0000b (ready with no error), or 1010b (ready with error). these encodings tell the pch that this is the last piece of data transferre d on a dma read (pch to peripheral), or the byte that follows is the last piece of data transferred on a dma write (peripheral to the pch). when the pch sees one of these two encodings, it ends the dma transfer after this byte and de-asserts the dma request to the 8237. therefore, if the pch indicated a 16-bit transfer, the peripheral can end the transfer after one byte by indicating a sync value of 0000b or 1010b. the pch does not attemp t to transfer the second byte, and de- asserts the dma request internally. if the peripheral indicates a 0000b or 1010b sync pattern on the last byte of the indicated size, then the pch only de-asserts the dma request to the 8237 since it does not need to end the transfer. if the peripheral wishes to keep the dma re quest active, then it uses a sync value of 1001b (ready plus more data). this tells the 8237 that more data bytes are requested after the current byte has be en transferred, so the pch keeps the dma request active to the 8237. therefore, on an 8-bit transfer size, if the peripheral indicates a sync value of 1001b to the pch, the data will be transferred and the dma request will remain active to the 8237. at a later time, the pch will then come back with another start?cyctype?channel?size etc. combinatio n to initiate another transfer to the peripheral. the peripheral must not assume that the next start indication from the pch is another grant to the peripheral if it had in dicated a sync value of 1001b. on a single mode dma device, the 8237 will re-arbitrate after every transfer. only demand mode dma devices can be assured that they will re ceive the next start indication from the pch. note: indicating a 0000b or 1010b encoding on the sync field of an odd byte of a 16-bit channel (first byte of a 16-bit transfer) is an error condition. note: the host stops the transfer on the lpc bus as indicated, fills the upper byte with random data on dma writes (peripheral to memory), and indicates to the 8237 that the dma transfer occurred, incrementing the 8237?s address and decrementing its byte count.
functional description 150 datasheet 5.6.7 sync field / ldrq# rules since dma transfers on lpc are requested through an ldrq# assertion message, and are ended through a sync field during the dm a transfer, the peripheral must obey the following rule when initiating back-to-back transfers from a dma channel. the peripheral must not assert another message for eight lclks after a de-assertion is indicated through the sync field. this is needed to allow the 8237, that typically runs off a much slower internal clock, to see a message de-asserted before it is re-asserted so that it can arbitrate to the next agent. under default operation, the host only performs 8-bit transfers on 8-bit channels and 16-bit transfers on 16-bit channels. the method by which this communication between host and peripheral through system bios is performed is beyond the scope of th is specification. since the lpc host and lpc peripheral are motherboard devices, no ?plug-n-play? registry is required. the peripheral must not assume that the host is able to perform transfer sizes that are larger than the size allowed for the dma chan nel, and be willing to accept a size field that is smaller than what it may currently have buffered. to that end, it is recommended that future devices that may appear on the lpc bus, that require higher bandwidth than 8-bit or 16-bit dma allow, do so with a bus mastering interface and not rely on the 8237. 5.7 8254 timers (d31:f0) the pch contains three counters that have fixed uses. all registers and functions associated with the 8254 timers are in the core well. the 8254 unit is clocked by a 14.31818 mhz clock. counter 0, system timer this counter functions as the system timer by controlling the state of irq0 and is typically programmed for mode 3 operation. the counter produces a square wave with a period equal to the product of the counter period (838 ns) and the initial count value. the counter loads the initial count value 1 counter period after software writes the count value to the counter i/o address. the counter initially asserts irq0 and decrements the count value by two each counter period. the counter negates irq0 when the count value reaches 0. it then reloads the initial count value and again decrements the initial count value by tw o each counter period. the counter then asserts irq0 when the count value reaches 0, reloads the initial count value, and repeats the cycle, alternately asserting and negating irq0. counter 1, refresh request signal this counter provides the refresh request si gnal and is typically programmed for mode 2 operation and only impacts the period of the ref_toggle bit in port 61. the initial count value is loaded one counter period afte r being written to the counter i/o address. the ref_toggle bit will have a square wave behavior (alternate between 0 and 1) and will toggle at a rate based on the value in the counter. programming the counter to anything other than mode 2 will result in undefined behavior for the ref_toggle bit. counter 2, speaker tone this counter provides the speaker tone and is typically programmed for mode 3 operation. the counter provides a speake r frequency equal to the counter clock frequency (1.193 mhz) divided by the initial count value. the speaker must be enabled by a write to port 061h (see nmi status and control ports).
datasheet 151 functional description 5.7.1 timer programming the counter/timers are programmed in the following fashion: 1. write a control word to select a counter. 2. write an initial count for that counter. 3. load the least and/or most significant byte s (as required by control word bits 5, 4) of the 16-bit counter. 4. repeat with other counters. only two conventions need to be observed when programming the counters. first, for each counter, the control word must be written before the initial count is written. second, the initial count must follow the co unt format specified in the control word (least significant byte only, most significant byte only, or least significant byte and then most significant byte). a new initial count may be written to a counter at any time without affecting the counter's programmed mode. counting is affect ed as described in the mode definitions. the new count must follow the programmed count format. if a counter is programmed to read/write two-byte counts, the following precaution applies: a program must not transfer contro l between writing the first and second byte to another routine which also writes into that same counter. otherwise, the counter will be loaded with an incorrect count. the control word register at port 43h controls the operation of all three counters. several commands are available: ? control word command. specifies which counter to re ad or write, the operating mode, and the count format (binary or bcd). ? counter latch command. latches the current count so that it can be read by the system. the countdown process continues. ? read back command. reads the count value, programmed mode, the current state of the out pins, and the state of the null count flag of the selected counter. table 5-12 lists the six operating modes for the interval counters. table 5-12. counter operating modes mode function description 0 out signal on end of count (=0) output is 0. when count goes to 0, output goes to 1 and stays at 1 until co unter is reprogrammed. 1 hardware retriggerable one-shot output is 0. when count goes to 0, output goes to 1 for one clock time. 2 rate generator (divide by n counter) output is 1. output goes to 0 for one clock time, then back to 1 and counter is reloaded. 3square wave output output is 1. output goes to 0 when counter rolls over, and counter is reloaded. output goes to 1 when counter rolls over, and counter is reloaded, etc. 4 software triggered strobe output is 1. output goes to 0 when count expires for one clock time. 5 hardware triggered strobe output is 1. output goes to 0 when count expires for one clock time.
functional description 152 datasheet 5.7.2 reading from the interval timer it is often desirable to read the value of a counter without disturbing the count in progress. there are three methods for readin g the counters: a simple read operation, counter latch command, and the read-bac k command. each is explained below. with the simple read and counter latch command methods, the count must be read according to the programmed format; specific ally, if the counter is programmed for two byte counts, two bytes must be read. the tw o bytes do not have to be read one right after the other. read, write, or programming operations for other counters may be inserted between them. 5.7.2.1 simple read the first method is to perform a simple read operation. the counter is selected through port 40h (counter 0), 41h (counter 1), or 42h (counter 2). note: performing a direct read from the counte r does not return a determinate value, because the counting process is asynchronous to read operations. however, in the case of counter 2, the count can be stopped by writing to the gate bit in port 61h. 5.7.2.2 counter latch command the counter latch command, written to port 43h, latches the count of a specific counter at the time the command is received. this command is used to ensure that the count read from the counter is accurate, pa rticularly when reading a two-byte count. the count value is then read from each count er?s count register as was programmed by the control register. the count is held in the latch until it is re ad or the counter is reprogrammed. the count is then unlatched. this allows reading the contents of the counters on the fly without affecting counting in progress. multiple counter latch commands may be used to latch more than one counter. counter latch commands do not affect the programmed mode of the counter in any way. if a counter is latched and then, some time later, latched again before the count is read, the second counter latch command is ig nored. the count read is the count at the time the first counter latch command was issued. 5.7.2.3 read back command the read back command, written to port 43h, latches the count value, programmed mode, and current states of the out pin and null count flag of the selected counter or counters. the value of the counter and its status may then be read by i/o access to the counter address. the read back command may be used to latch multiple counter outputs at one time. this single command is functionally equiva lent to several counter latch commands, one for each counter latched. each counter's la tched count is held until it is read or reprogrammed. once read, a counter is unlat ched. the other counters remain latched until they are read. if multiple count read back commands are issued to the same counter without reading the count, all but the first are ignored. the read back command may additionally be used to latch status information of selected counters. the status of a counter is accessed by a read from that counter's i/o port address. if multiple counter stat us latch operations are performed without reading the status, all but the first are ignored.
datasheet 153 functional description both count and status of the selected counters may be latched simultaneously. this is functionally the same as issuing two consec utive, separate read back commands. if multiple count and/or status read back co mmands are issued to the same counters without any intervening reads, all but the first are ignored. if both count and status of a counter are la tched, the first read operation from that counter returns the latched status, regardless of which was latched first. the next one or two reads, depending on whether the co unter is programmed for one or two type counts, returns the latched count. subsequent reads return unlatched count. 5.8 8259 interrupt controllers (pic) (d31:f0) the pch incorporates the functionality of two 8259 interrupt controllers that provide system interrupts for the isa compatible interrupts. these interrupts are: system timer, keyboard controller, serial ports, parallel ports, floppy disk, mouse, and dma channels. in addition, this interrupt contro ller can support the pci based interrupts, by mapping the pci interrupt onto the compat ible isa interrupt line. each 8259 core supports eight interrupts, numbered 0?7. table 5-13 shows how the cores are connected. . the pch cascades the slave controller onto the master controller through master controller interrupt input 2. this means th ere are only 15 possible interrupts for the pch pic. table 5-13. interrupt controller core connections 8259 8259 input typical interrupt source connected pin / function master 0 internal internal timer / counter 0 output / hpet #0 1 keyboard irq1 via serirq 2 internal slave controller intr output 3 serial port a irq3 via serirq, pirq# 4 serial port b irq4 via serirq, pirq# 5 parallel port / generic irq5 via serirq, pirq# 6 floppy disk irq6 via serirq, pirq# 7 parallel port / generic irq7 via serirq, pirq# slave 0 internal real time clock internal rtc / hpet #1 1 generic irq9 via serirq, sci, tco, or pirq# 2 generic irq10 via serirq, sci, tco, or pirq# 3generic irq11 via serirq, sci, tco, or pirq#, or hpet #2 4ps/2 mouse irq12 via serirq, sci, tco, or pirq#, or hpet #3 5internal state machine output ba sed on processor ferr# assertion. may optionally be used for sci or tco interrupt if ferr# not needed. 6sata sata primary (legacy mode), or via serirq or pirq# 7sata sata secondary (legacy mode) or via serirq or pirq#
functional description 154 datasheet interrupts can individually be programmed to be edge or level, except for irq0, irq2, irq8#, and irq13. note: active-low interrupt sources (such as, the pi rq#s) are inverted inside the pch. in the following descriptions of the 8259s, the interr upt levels are in reference to the signals at the internal interface of the 8259s, afte r the required inversions have occurred. therefore, the term ?high? indicates ?act ive,? which means ?low? on an originating pirq#. 5.8.1 interrupt handling 5.8.1.1 generating interrupts the pic interrupt sequence involves three bits, from the irr, isr, and imr, for each interrupt level. these bits are used to de termine the interrupt vector returned, and status of any other pending interrupts. table 5-14 defines the irr, isr, and imr. 5.8.1.2 acknowledging interrupts the processor generates an interrupt acknowle dge cycle that is translated by the host bridge into a pci interrupt acknowledge cy cle to the pch. the pic translates this command into two internal inta# pulses expe cted by the 8259 cores. the pic uses the first internal inta# pulse to freeze the state of the interrupts for priority resolution. on the second inta# pulse, the master or slave sends the interrupt vector to the processor with the acknowledged interrupt code. this code is based upon bits [7:3] of the corresponding icw2 register, combined wi th three bits representing the interrupt within that controller. table 5-14. interrupt status registers bit description irr interrupt request register. this bit is set on a low to high transition of the interrupt line in edge mode, and by an active high level in level mode. this bit is set whether or not the interrupt is masked. however, a ma sked interrupt will not generate intr. isr interrupt service register. this bit is set, and the co rresponding irr bit cleared, when an interrupt acknowledge cycle is seen, and the vect or returned is for that interrupt. imr interrupt mask register. this bit determines whethe r an interrupt is masked. masked interrupts will not generate intr. table 5-15. content of interrupt vector byte master, slave interrupt bits [7:3] bits [2:0] irq7,15 icw2[7:3] 111 irq6,14 110 irq5,13 101 irq4,12 100 irq3,11 011 irq2,10 010 irq1,9 001 irq0,8 000
datasheet 155 functional description 5.8.1.3 hardware/softwa re interrupt sequence 1. one or more of the interrupt request lines (irq) are raised high in edge mode, or seen high in level mode, setting the corresponding irr bit. 2. the pic sends intr active to the processor if an asserted interrupt is not masked. 3. the processor acknowledges the intr and responds with an interrupt acknowledge cycle. the cycle is translated into a pc i interrupt acknowledge cycle by the host bridge. this command is broadcast over pci by the pch. 4. upon observing its own interrupt acknowle dge cycle on pci, the pch converts it into the two cycles that the internal 825 9 pair can respond to. each cycle appears as an interrupt acknowledge pulse on the internal inta# pin of the cascaded interrupt controllers. 5. upon receiving the first internally genera ted inta# pulse, the highest priority isr bit is set and the corresponding irr bit is reset. on the trailing edge of the first pulse, a slave identification code is broadcast by the master to the slave on a private, internal three bit wide bus. the slave controller uses these bits to determine if it must respond with an interrupt vector during the second inta# pulse. 6. upon receiving the second internally ge nerated inta# pulse, the pic returns the interrupt vector. if no interrupt request is present because the request was too short in duration, the pic returns vector 7 from the master controller. 7. this completes the interrupt cycle. in aeoi mode the isr bit is reset at the end of the second inta# pulse. otherwise, the isr bit remains set until an appropriate eoi command is issued at the end of the interrupt subroutine. 5.8.2 initialization command words (icwx) before operation can begin, each 8259 must be initialized. in the pch, this is a four byte sequence. the four initialization command words are referred to by their acronyms: icw1, icw2, icw3, and icw4. the base address for each 8259 initialization command word is a fixed location in the i/o memory space: 20h for the master controller, and a0h for the slave controller. 5.8.2.1 icw1 an i/o write to the master or slave controller base address with data bit 4 equal to 1 is interpreted as a write to icw1. upon sensin g this write, the pch?s pic expects three more byte writes to 21h for the master controller, or a1h for the slave controller, to complete the icw sequence. a write to icw1 starts the initializati on sequence during which the following automatically occur: 1. following initialization, an interrupt request (irq) input must make a low-to-high transition to generate an interrupt. 2. the interrupt mask register is cleared. 3. irq7 input is assigned priority 7. 4. the slave mode address is set to 7. 5. special mask mode is cleared and status read is set to irr.
functional description 156 datasheet 5.8.2.2 icw2 the second write in the sequence (icw2) is programmed to provide bits [7:3] of the interrupt vector that will be released during an interrupt acknowledge. a different base is selected for each interrupt controller. 5.8.2.3 icw3 the third write in the sequence (icw3) has a different meaning for each controller. ? for the master controller, icw3 is used to indicate which irq input line is used to cascade the slave controller. within the pch, irq2 is used. therefore, bit 2 of icw3 on the master controller is set to a 1, and the other bits are set to 0s. ? for the slave controller, icw3 is the sl ave identification code used during an interrupt acknowledge cycle. on interrupt acknowledge cycles, the master controller broadcasts a code to the slave controller if the cascaded interrupt won arbitration on the master controller. the slave controller compares this identification code to the value stored in its icw3, and if it matches, the slave controller assumes responsibility for broadcasting the interrupt vector. 5.8.2.4 icw4 the final write in the sequence (icw4) must be programmed for both controllers. at the very least, bit 0 must be set to a 1 to indicate that the controllers are operating in an intel architecture-based system. 5.8.3 operation command words (ocw) these command words reprogram the interru pt controller to operate in various interrupt modes. ? ocw1 masks and unmasks interrupt lines. ? ocw2 controls the rotation of interrupt priorities when in rotating priority mode, and controls the eoi function. ? ocw3 sets up isr/irr reads, enables/disables the special mask mode (smm), and enables/disables polled interrupt mode. 5.8.4 modes of operation 5.8.4.1 fully nested mode in this mode, interrupt requests are ordered in priority from 0 through 7, with 0 being the highest. when an interrupt is acknow ledged, the highest priority request is determined and its vector placed on the bus. additionally, the isr for the interrupt is set. this isr bit remains set until: the processor issues an eoi command immediately before returning from the service routine; or if in aeoi mode, on the trailing edge of the second inta#. while the isr bit is set, all further interrupts of the same or lower priority are inhibited, while higher levels ge nerate another interrupt. interrupt priorities can be changed in the rotating priority mode.
datasheet 157 functional description 5.8.4.2 special fully-nested mode this mode is used in the case of a system where cascading is used, and the priority has to be conserved within each slave. in this case, the special fully-nested mode is programmed to the master controller. this mode is similar to the fully-nested mode with the following exceptions: ? when an interrupt request from a certain slave is in service, this slave is not locked out from the master's priority logic and further interrupt requests from higher priority interrupts within the slave are recognized by the master and initiate interrupts to the processor. in the normal-nested mode, a slave is masked out when its request is in service. ? when exiting the interrupt service routine, software has to check whether the interrupt serviced was the only one from th at slave. this is done by sending a non- specific eoi command to the slave and then reading its isr. if it is 0, a non- specific eoi can also be sent to the master. 5.8.4.3 automatic rotation mode (equal priority devices) in some applications, there are a number of interrupting devices of equal priority. automatic rotation mode provides for a sequential 8-way rotation. in this mode, a device receives the lowest priority after being serviced. in the worst case, a device requesting an interrupt has to wait until each of seven other devices are serviced at most once. there are two ways to accomplish automatic rotation using ocw2; the rotation on non-specific eoi command (r=1, sl=0, eoi=1) and the rotate in automatic eoi mode which is set by (r=1, sl=0, eoi=0). 5.8.4.4 specific rotation mode (specific priority) software can change interrupt priorities by programming the bottom priority. for example, if irq5 is programmed as the bottom priority device, then irq6 is the highest priority device. the set priority command is issued in ocw2 to accomplish this, where: r=1, sl=1, and lo?l2 is the binary priority level code of the bottom priority device. in this mode, internal status is updated by software control during ocw2. however, it is independent of the eoi command. priority changes can be executed during an eoi command by using the rotate on specific eoi command in ocw2 (r=1, sl=1, eoi=1 and lo?l2=irq level to receive bottom priority. 5.8.4.5 poll mode poll mode can be used to conserve space in the interrupt vector table. multiple interrupts that can be serviced by one inte rrupt service routine do not need separate vectors if the service routine uses the poll command. poll mode can also be used to expand the number of interrupts. the po lling interrupt service routine can call the appropriate service routine, instead of prov iding the interrupt vectors in the vector table. in this mode, the intr output is not used and the microprocessor internal interrupt enable flip-flop is reset, disabling its interrupt input. service to devices is achieved by software using a poll command. the poll command is issued by setting p=1 in ocw3. the pic treats its next i/o read as an interrupt acknowledge, sets the appropriat e isr bit if there is a request, and reads the priority level. interrupts are frozen from the ocw3 write to the i/o read. the byte returned during the i/o read contains a 1 in bit 7 if there is an interrupt, and the binary code of the highest priority level in bits 2:0.
functional description 158 datasheet 5.8.4.6 edge and level triggered mode in isa systems this mode is programmed using bit 3 in icw1, which sets level or edge for the entire controller. in the pch, this bi t is disabled and a new register for edge and level triggered mode selection, per interrupt input, is included. th is is the edge/level control registers elcr1 and elcr2. if an elcr bit is 0, an interrupt request w ill be recognized by a low-to-high transition on the corresponding irq input. the irq in put can remain high without generating another interrupt. if an elcr bit is 1, an in terrupt request will be recognized by a high level on the corresponding irq input and ther e is no need for an edge detection. the interrupt request must be removed before the eoi command is issued to prevent a second interrupt from occurring. in both the edge and level triggered modes, the irq inputs must remain active until after the falling edge of the first internal in ta#. if the irq input goes inactive before this time, a default irq7 vector is returned. 5.8.4.7 end of interrupt (eoi) operations an eoi can occur in one of two fashions: by a command word write issued to the pic before returning from a service routine, th e eoi command; or automatically when aeoi bit in icw4 is set to 1. 5.8.4.8 normal end of interrupt in normal eoi, software writes an eoi co mmand before leaving the interrupt service routine to mark the interrupt as complete d. there are two forms of eoi commands: specific and non-specific. when a non-specif ic eoi command is issued, the pic clears the highest isr bit of those that are set to 1. non-specific eoi is the normal mode of operation of the pic within the pch, as th e interrupt being serviced currently is the interrupt entered with the interrupt acknowle dge. when the pic is operated in modes that preserve the fully nested structure, software can determine which isr bit to clear by issuing a specific eoi. an isr bit that is masked is not cleared by a non-specific eoi if the pic is in the special mask mode. an eoi command must be issued for both the master and slave controller. 5.8.4.9 automatic end of interrupt mode in this mode, the pic automatically performs a non-specific eoi operation at the trailing edge of the last interrupt acknowle dge pulse. from a system standpoint, this mode should be used only when a nested mu lti-level interrupt structure is not required within a single pic. the aeoi mode can only be used in the master controller and not the slave controller.
datasheet 159 functional description 5.8.5 masking interrupts 5.8.5.1 masking on an indi vidual interr upt request each interrupt request can be masked individually by the interrupt mask register (imr). this register is programmed through ocw1. each bit in the imr masks one interrupt channel. masking irq2 on the master controller masks all requests for service from the slave controller. 5.8.5.2 special mask mode some applications may require an interrupt service routine to dynamically alter the system priority structure during its execution under software control. for example, the routine may wish to inhibit lower priority requests for a portion of its execution but enable some of them for another portion. the special mask mode enables all interrupts not masked by a bit set in the mask register. normally, when an interrupt servic e routine acknowledges an interrupt without issuing an eoi to clear the isr bit, the interrupt controller inhibits all lower priority requests. in the special mask mode, any interrupts may be selectively enabled by loading the mask register with the appropriate pattern. the special mask mode is set by ocw3 where: ssmm=1, smm=1, and cleared where ssmm=1, smm=0. 5.8.6 steering pci interrupts the pch can be programmed to allow pirq a#-pirqh# to be routed internally to interrupts 3?7, 9?12, 14 or 15. the assignment is programmable through the pirqx route control registers, located at 60?63h and 68?6bh in device 31:function 0. one or more pirqx# lines can be routed to the same irqx input. if interrupt steering is not required, the route registers can be programmed to disable steering. the pirqx# lines are defined as active low, level sensitive to allow multiple interrupts on a pci board to share a single line across the connector. when a pirqx# is routed to specified irq line, software must change the irq's corresponding elcr bit to level sensitive mode. the pch internally inverts the pirqx# line to send an active high level to the pic. when a pci interrupt is routed on to the pic, the selected irq can no longer be used by an active high device (through serirq). however, active low interrupts can share their interrupt with pci interrupts. internal sources of the pirqs, including sci and tco interrupts, cause the external pirq to be asserted. the pch receives the pirq input, like all of the other external sources, and routes it accordingly.
functional description 160 datasheet 5.9 advanced programmable interrupt controller (apic) (d31:f0) in addition to the standard isa-compatible pic described in the previous chapter, the pch incorporates the apic. while the standard interrupt controller is intended for use in a uni-processor system, apic can be used in either a uni-processor or multi- processor system. 5.9.1 interrupt handling the i/o apic handles interrupts very differently than the 8259. briefly, these differences are: ? method of interrupt transmission. the i/o apic transmits interrupts through memory writes on the normal datapath to the processor, and interrupts are handled without the need for the processor to run an interrupt acknowledge cycle. ? interrupt priority. the priority of interrupts in th e i/o apic is independent of the interrupt number. for example, interrupt 10 can be given a higher priority than interrupt 3. ? more interrupts. the i/o apic in the pch supports a total of 24 interrupts. ? multiple interrupt controllers. the i/o apic architecture allows for multiple i/o apic devices in the system with their own interrupt vectors. 5.9.2 interrupt mapping the i/o apic within the pch supports 24 ap ic interrupts. each interrupt has its own unique vector assigned by software. the interrupt vectors are mapped as follows, and match ?config 6? of the multi-processor specification . table 5-16. apic interrupt mapping 1 (sheet 1 of 2) irq # using serirq direct from pin using pci message internal modules 0 no no no cascade from 8259 #1 1yes no yes 2 no no no 8254 counter 0, hpet #0 (legacy mode) 3yes no yes 4yes no yes 5yes no yes 6yes no yes 7yes no yes 8no no nortc, hpet #1 (legacy mode) 9 yes no yes option for sci, tco 10 yes no yes option for sci, tco 11 yes no yes hpet #2, option for sci, tco (note2) 12 yes no yes hpet #3 (note 3) 13 no no no ferr# logic 14 yes no yes sata primary (legacy mode) 15 yes no yes sata secondary (legacy mode)
datasheet 161 functional description notes: 1. when programming the polarity of internal interrupt sources on the apic, interrupts 0 through 15 receive active-high internal interrupt sources, while interrupts 16 through 23 receive active-low inte rnal interrupt sources. 2. if irq 11 is used for hpet #2, software should ensure irq 11 is not shared with any other devices to ensure the proper operation of hpet #2. the pch hardware does not prevent sharing of irq 11. 3. if irq 12 is used for hpet #3, software should ensure irq 12 is not shared with any other devices to ensure the proper operation of hpet #3. the pch hardware does not prevent sharing of irq 12. 4. pirq[e:h] are multiplexed with gpio pins. interrupts pirq[e:h] will not be exposed if they are configured as gpios. 5.9.3 pci / pci express* message-based interrupts when external devices through pci / pci expr ess wish to generate an interrupt, they will send the message defined in the pci express* base specification, revision 1.0a for generating inta# ? intd#. these will be tran slated internal assertions/de-assertions of inta# ? intd#. 5.9.4 ioxapic a ddress remapping to support intel ? virtualization technology, interrupt messages are required to go through similar address remapping as any other memory request. address remapping allows for domain isolation for interrupts, so a device assigned in one domain is not allowed to generate an interrupt to another domain. the address remapping is based on the bus: device: function field associated with the requests. the internal apic is required to initiate the interrupt message using a unique bus: device: function. the pch allows bios to program the unique bus: device: function address for the internal apic. this address field does not ch ange the apic functionality and the apic is not promoted as a stand-alone pci device. see device 31: function 0 offset 6ch for additional information. 5.9.5 external interrup t controller support the pch supports external apics off of pci express ports, and does not support apics on the pci bus. the eoi special cycle is only forwarded to pci express ports. 16 pirqa# pirqa# yes internal devices are routable; see section 10.1.26 though section 10.1.42 . 17 pirqb# pirqb# 18 pirqc# pirqc# 19 pirqd# pirqd# 20 n/a pirqe# 4 yes option for sci, tco, hpet #0,1,2, 3. other internal devices are routable; see section 10.1.26 though section 10.1.42 . 21 n/a pirqf# 4 22 n/a pirqg# 4 23 n/a pirqh# 4 table 5-16. apic interrupt mapping 1 (sheet 2 of 2) irq # using serirq direct from pin using pci message internal modules
functional description 162 datasheet 5.10 serial interrupt (d31:f0) the pch supports a serial irq scheme. this allo ws a single signal to be used to report interrupt requests. the signal used to transmit this information is shared between the host, the pch, and all peripherals that support serial interrupts. the signal line, serirq, is synchronous to pci clock, and follows the sustained tri-state protocol that is used by all pci signals. this means that if a device has driven serirq low, it will first drive it high synchronous to pci clock and re lease it the following pci clock. the serial irq protocol defines this sustained tri-state signaling in the following fashion: ? s ? sample phase. signal driven low ? r ? recovery phase. signal driven high ? t ? turn-around phase. signal released the pch supports a message for 21 serial interrupts. these represent the 15 isa interrupts (irq0?1, 2?15), the four pci inte rrupts, and the control signals smi# and iochk#. the serial irq protocol does not support the additional apic interrupts (20?23). note: when the sata controller is configured for legacy ide mode, irq14 and irq15 are expected to behave as isa legacy interrupts that cannot be shared (that is, through the serial interrupt pin). if irq14 and irq15 are shared with serial interrupt pin then abnormal system behavior may occur. for example, irq14/15 may not be detected by the pch's interrupt controller. when the sata controller is not running in native ide mode, irq14 and irq15 are used as special interrupts. if the sata controller is in native modes, these interrupts can be mapped to other devices accordingly. 5.10.1 start frame the serial irq protocol has two modes of operation which affect the start frame. these two modes are: continuous, where the pch is solely responsible for generating the start frame; and quiet, where a serial irq peripheral is responsible for beginning the start frame. the mode that must first be entered when enabling the serial irq protocol is continuous mode. in this mode, the pch asserts the start frame. this start frame is 4, 6, or 8 pci clocks wide based upon the serial irq control register, bits 1:0 at 64h in device 31:function 0 configuratio n space. this is a polling mode. when the serial irq stream enters quiet mode (signaled in the stop frame), the serirq line remains inactive and pulled up between the stop and start frame until a peripheral drives the serirq signal low. the pch senses the line low and continues to drive it low for the remainder of the start fr ame. since the first pci clock of the start frame was driven by the peripheral in this mode, the pch drives the serirq line low for 1 pci clock less than in continuous mode. this mode of operation allows for a quiet, and therefore lower power, operation.
datasheet 163 functional description 5.10.2 data frames once the start frame has been initiated, all of the serirq peripherals must start counting frames based on the rising edge of serirq. each of the irq/data frames has exactly 3 phases of 1 clock each: ? sample phase. during this phase, the serirq device drives serirq low if the corresponding interrupt signal is low. if the corresponding interrupt is high, then the serirq devices tri-state the serirq signal. the serirq line remains high due to pull-up resistors (there is no internal pull-up resistor on this signal, an external pull-up resistor is required). a low level during the irq0?1 and irq2?15 frames indicates that an active-high isa interrupt is not being requested, but a low level during the pci int[a:d], smi#, and iochk# frame indicates that an active-low interrupt is being requested. ? recovery phase. during this phase, the device drives the serirq line high if in the sample phase it was driven low. if it was not driven in the sample phase, it is tri-stated in this phase. ? turn-around phase. the device tri-states the serirq line. 5.10.3 stop frame after all data frames, a stop frame is driven by the pch. the serirq signal is driven low by the pch for 2 or 3 pci clocks. the number of clocks is determined by the serirq configuration register. the number of clocks determines the next mode. 5.10.4 specific interrupts not supported using serirq there are three interrupts seen through the serial stream that are not supported by the pch. these interrupts are generated internally , and are not sharable with other devices within the system. these interrupts are: ? irq0. heartbeat interrupt generated off of the internal 8254 counter 0. ? irq8#. rtc interrupt can only be generated internally. ? irq13. floating point error interrupt generated off of the processor assertion of ferr#. the pch ignores the state of these interrupts in the serial stream, and does not adjust their level based on the level seen in the serial stream. table 5-17. stop frame explanation stop frame width next mode 2 pci clocks quiet mode. any serirq device may initiate a start frame 3 pci clocks continuous mode. only the host (the pch) may initiate a start frame
functional description 164 datasheet 5.10.5 data frame format table 5-18 shows the format of the data frames . for the pci interrupts (a?d), the output from the pch is and?d with the pci input signal. this way, the interrupt can be signaled using both the pci interrupt input signal and using the serirq signal (they are shared). table 5-18. data frame format data frame # interrupt clocks past start frame comment 1irq0 2 ignored. irq0 can only be generated using the internal 8524 2irq1 5 3 smi# 8 causes smi# if low. wi ll set the serirq_smi_sts bit. 4irq3 11 5irq4 14 6irq5 17 7irq6 20 8irq7 23 9 irq8 26 ignored. irq8# can only be generated internally. 10 irq9 29 11 irq10 32 12 irq11 35 13 irq12 38 14 irq13 41 ignored. irq13 can only be generated from ferr# 15 irq14 44 not attached to sata logic 16 irq15 47 not attached to sata logic 17 iochck# 50 same as isa iochck# going active. 18 pci inta# 53 drive pirqa# 19 pci intb# 56 drive pirqb# 20 pci intc# 59 drive pirqc# 21 pci intd# 62 drive pirqd#
datasheet 165 functional description 5.11 real time clock (d31:f0) the real time clock (rtc) module provides a battery backed-up date and time keeping device with two banks of static ram with 128 bytes each, although the first bank has 114 bytes for general purpose usage. three interrupt features are available: time of day alarm with once a second to once a month range, periodic rates of 122 s to 500 ms, and end of update cycle notification. seconds, minutes, hours, days, day of week, month, and year are counted. daylight savings compensation is no longer supported. the hour is represented in twelve or twenty-four hour format, and data can be represented in bcd or binary format. the design is functionally compatible with the motorola ms146818b. the time keeping comes from a 32.768 khz oscillating source, which is divided to achieve an update every second. the lower 14 bytes on the lower ram block has very specific functions. the fi rst ten are for time and date information. the next four (0ah to 0dh) are registers, which configure and report rtc functions. the time and calendar data should match the data mode (bcd or binary) and hour mode (12 or 24 hour) as selected in regist er b. it is up to the programmer to make sure that data stored in these locations is within the reasonable values ranges and represents a possible date and time. the exception to these ranges is to store a value of c0?ffh in the alarm bytes to indicate a don?t care situation. all alarm conditions must match to trigger an alarm flag, which co uld trigger an alarm interrupt if enabled. the set bit must be 1 while programming these locations to avoid clashes with an update cycle. access to time and date information is done through the ram locations. if a ram read from the ten time and date bytes is attempted during an update cycle, the value read do not necessarily represent the true contents of those locations. any ram writes under the same conditions are ignored. note: the leap year determination for adding a 29th day to february does not take into account the end-of-the-century exceptions. the logic simply assumes that all years divisible by 4 are leap years. according to the royal observatory greenwich, years that are divisible by 100 are typically not leap year s. in every fourth century (years divisible by 400, like 2000), the 100-year-exception is over-ridden and a leap-year occurs. note that the year 2100 will be the first time in which the current rtc implementation would incorrectly calculate the leap-year. the pch does not implement month/year alarms. 5.11.1 update cycles an update cycle occurs once a second, if the set bit of register b is not asserted and the divide chain is properly configured. during this procedure, the stored time and date are incremented, overflow is checked, a ma tching alarm condition is checked, and the time and date are rewritten to the ram locations. the update cycle will start at least 488 s after the uip bit of register a is asserted, and the entire cycle does not take more than 1984 s to complete. the time and date ram locations (0?9) are disconnected from the external bus during this time. to avoid update and data corruption conditions, external ram access to these locations can safely occur at two times. when a updated-ended interrupt is detected, almost 999 ms is available to read and write the va lid time and date data. if the uip bit of register a is detected to be low, there is at least 488 s before the update cycle begins. warning: the overflow conditions for leap years adjustments are based on more than one date or time item. to ensure proper operation when adjusting the time, the new time and data values should be set at least two seconds before leap year occurs.
functional description 166 datasheet 5.11.2 interrupts the real-time clock interrupt is internally routed within the pch both to the i/o apic and the 8259. it is mapped to interrupt vector 8. this interrupt does not leave the pch, nor is it shared with any other interrupt. irq8# from the serirq stream is ignored. however, the high performance event timers can also be mapped to irq8#; in this case, the rtc interrupt is blocked. 5.11.3 lockable ram ranges the rtc battery-backed ram supports two 8-by te ranges that can be locked using the configuration space. if the locking bits are set, the corresponding range in the ram will not be readable or writable. a write cycle to those locations will have no effect. a read cycle to those locations will not return the location?s actual value (resultant value is undefined). once a range is locked, the range can be unlocked only by a hard reset, which will invoke the bios and allow it to relock the ram range. 5.11.4 century rollover the pch detects a rollover when the year byte (rtc i/o space, index offset 09h) transitions form 99 to 00. upon dete cting the rollover, the pch sets the newcentury_sts bit (tcobase + 04h, bit 7). if the system is in an s0 state, this causes an smi#. the smi# handler can update registers in the rtc ram that are associated with century value. if the syst em is in a sleep state (s1?s5) when the century rollover occurs, the pch also sets the newcentury_sts bit, but no smi# is generated. when the system resumes from the sleep state, bios should check the newcentury_sts bit and update the century value in the rtc ram. 5.11.5 clearing battery-backed rtc ram clearing cmos ram in a pch-based platform can be done by using a jumper on rtcrst# or gpi. implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. using rtcrst# to clear cmos a jumper on rtcrst# can be used to clear cmos values, as well as reset to default, the state of those configuration bits that reside in the rtc power well. when the rtcrst# is strapped to ground, the rtc_pwr_sts bit (d31:f0:a4h bit 2) will be set and those configuration bits in the rtc power well will be set to their default state. bios can monitor the state of this bit, and manually clear the rtc cmos array once the system is booted. the normal position would cause rtcrst# to be pulled up through a weak pull-up resistor. table 5-19 shows which bits are set to their default state when rtcrst# is asserted. this rtcrst# jumper technique allows the jumper to be moved and then replaced?all while the system is powered off. then, once booted, the rtc_pwr_sts can be detected in the set state.
datasheet 167 functional description using a gpi to clear cmos a jumper on a gpi can also be used to clear cmos values. bios would detect the setting of this gpi on system boot-u p, and manually clear the cmos array. note: the gpi strap technique to clear cmos requires multiple steps to implement. the system is booted with the jumper in ne w position, then powered back down. the jumper is replaced back to the normal posi tion, then the system is rebooted again. warning: do not implement a jumper on vccrtc to clear cmos. table 5-19. configuration bits reset by rtcrst# assertion bit name register location bit(s) default state alarm interrupt enable (aie) register b (general configuration) (rtc_regb) i/o space (rtc index + 0bh) 5x alarm flag (af) register c (flag register) (rtc_regc) i/o space (rtc index + 0ch) 5x swsmi_rate_sel general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 7:6 0 slp_s4# minimum assertion width general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 5:4 0 slp_s4# assertion stretch enable general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 3 0 rtc power status (rtc_pwr_sts) general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 2 0 power failure (pwr_flr) general pm configuration 3 register (gen_pmcon_3) d31:f0:a4h 1 0 afterg3_en general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 0 0 power button override status (prbtnor_sts) power management 1 status register (pm1_sts) pmbase + 00h 11 0 rtc event enable (rtc_en) power management 1 enable register (pm1_en) pmbase + 02h 10 0 sleep type (slp_typ) power management 1 control (pm1_cnt) pmbase + 04h 12:10 0 pme_en general purpose event 0 enables register (gpe0_en) pmbase + 2ch 11 0 batlow_en general purpose event 0 enables register (gpe0_en) pmbase + 2ch 10 0 ri_en general purpose event 0 enables register (gpe0_en) pmbase + 2ch 8 0 newcentury_st s tco1 status register (tco1_sts) tcobase + 04h 7 0 intruder detect (intrd_det) tco2 status register (tco2_sts) tcobase + 06h 0 0 to p swa p ( ts ) backed up control register (buc) chipset config registers:offset 3414h 0x
functional description 168 datasheet 5.12 processor interface (d31:f0) the pch interfaces to the processor with following pin-based signals other than dmi: ? standard outputs to processor: a20gate, init3_3v#, procpwrgd, pmsynch, peci. ? standard input from processor: thrmtrip#. most pch outputs to the processor use standard buffers. the pch has separate v_cpu_io signals that are pulled up at the system level to the processor voltage, and thus determines voh for the outputs to the processor. the following processor interface lega cy pins were removed from the pch: ? ignne#, stpclk#, dpslp#, are dprslpvr are no longer required on pch based systems. ? a20m#, smi#, nmi, init#, intr, ferr#: functionality has been replaced by in- band virtual legacy wire (vlw) messages. see section 5.12.3 . 5.12.1 processor interface signals and vlw messages this section describes each of the signal s that interface betw een the pch and the processor(s). note that the behavior of some signals may vary during processor reset, as the signals are used for frequency strapping. 5.12.1.1 a20m# (mask a20) / a20gate the a20m# vlw message is asserted when bo th of the following conditions are true: ? the alt_a20_gate bit (bit 1 of port92 register) is a 0. ? the a20gate input signal is a 0. the a20gate input signal is expected to be generated by the external microcontroller (kbc).
datasheet 169 functional description 5.12.1.2 init (initialization) the init# vlw message is asserted based on any one of several events described in table 5-20 . when any of these events occur, init# is asserted for 16 pci clocks, then driven high. note: init3_3v# is functionally identical to init# vl w but it is a physical signal at 3.3 v on desktop skus only. 5.12.1.3 ferr# (numeric coprocessor error) the pch supports the coprocessor error function with the ferr# message. the function is enabled using the cen bit. if ferr# is driven active by the processor, irq13 goes active (internally). when it detects a write to the coproc_err register (i/o register f0h), the pch negates the internal irq13 and ignne# will be active. ignne# remains active until ferr# is driven inactive. ignne# is never driven active unless ferr# is active. note: ignne# (ignore numeric error is now internally generated by the processor. table 5-20. init# going active cause of init3_3v# going active comment shutdown special cycle from processor observed on pch-processor interconnect. init assertion based on value of shutdown policy select register (sps) port92 write, where init_now (bit 0) transitions from a 0 to a 1. portcf9 write, where sys_rst (bit 1) was a 0 and rst_cpu (bit 2) transitions from 0 to 1. rcin# input signal goes low. rcin# is expected to be driven by the external microcontroller (kbc). 0 to 1 transition on rcin# must occur before the pch will arm init3_3v# to be generated again. note: rcin# signal is expected to be low during s3, s4, and s5 states. transition on the rcin# signal in those states (or the transition to those states) may not necessarily cause the init3_3v# signal to be generated to the processor. cpu bist to enter bist, softwa re sets cpu_bist_en bit and then does a full processor reset using the cf9 register.
functional description 170 datasheet 5.12.1.4 nmi (non-maskable interrupt) non-maskable interrupts (nmis) can be generated by several sources, as described in table 5-21 . 5.12.1.5 processor power good (procpwrgd) this signal is connected to the proc essor?s vccprwgood_0 and vccprwgood_1 input. this signal represents a logical and of the pch?s pwrok and sys_pwrok signals. 5.12.2 dual-processor issues 5.12.2.1 usage differences in dual-processor designs, some of the processor signals are unused or used differently than for uniprocessor designs. ? a20m#/a20gate and ferr# are generally not used, but still supported. ? i/o apic and smi# are assumed to be used. 5.12.3 virtual legacy wire (vlw) messages the pch supports vlw messages as alternative method of conveying the status of the following legacy sideband interface signals to the processor: ? a20m#, intr, smi#, init#, nmi note: ignne# vlw message is not required to be generated by the pch as it is internally emulated by the processor. vlw are inbound messages to the processor. they are communicated using vendor defined message over the dmi link. legacy processor signals can only be deliv ered using vlw in th e pch. delivery of legacy processor signals (a20m#, intr, smi# , init# or nmi) using i/o apic controller is not supported. table 5-21. nmi sources cause of nmi comment serr# goes active (either internally, externally using serr # signal, or using message from processor) can instead be routed to generate an sci, through the nmi2sci_en bit (device 31:function 0, tco base + 08h, bit 11). iochk# goes active using serirq# stream (isa system error) can instead be routed to generate an sci, through the nmi2sci_en bit (device 31:function 0, tco base + 08h, bit 11).
datasheet 171 functional description 5.13 power management (d31:f0) 5.13.1 features ? support for advanced configuration and power interface, version 3.0b (acpi) providing power and thermal management ? acpi 24-bit timer sci and smi# generation ? pci pme# signal for wake up from low-power states ? system sleep state control ? acpi s3 state?suspend to ram (str) ? acpi s4 state?suspend-to-disk (std) ? acpi g2/s5 state?soft off (soff) ? power failure detection and recovery ? management engine power management support ? wake events from the management engine (enabled from all s-states including catastrophic s5 conditions) 5.13.2 pch and system power states table 5-22 shows the power states defined for pch-based platforms. the state names generally match the corresponding acpi states. table 5-22. general power states for systems using the pch state/ substates legacy name / description g0/s0/c0 full on: processor operating. individual devi ces may be shut down or be placed into lower power states to save power. g0/s0/cx cx state: cx states are processor power states within the s0 system state that provide for various levels of power saving s. the processor initiates c-state entry and exit while interacting with the pch. the pch will base its behavior on the processor state. g1/s1 s1: the pch provides the s1 messages and the s0 messages on a wake event. it is preferred for systems to use c-states than s1. g1/s3 suspend-to-ram (str): the system context is maintained in system dram, but power is shut off to non-critical ci rcuits. memory is re tained and refreshes continue. all external clocks stop except rtc. g1/s4 suspend-to-disk (std): the context of the system is maintained on the disk. all power is then shut off to the system except for the logic required to resume. g2/s5 soft off (soff): system context is not maintained. all power is shut off except for the logic required to restart. a full boot is requ ired when waking. g3 mechanical off (moff): system context not maintained. all power is shut off except for the rtc. no ?wak e? events are possible. this state occurs if the user removes the main system batteries in a mobile system, turns off a mechanical switch, or if the system power supply is at a level that is insufficient to power the ?waking? logic. when system power return s, transition will depend on the state just prior to the entry to g3 and the afterg3_en bit in the gen_pmcon3 register (d31:f0, offset a4). see table 5-28 for more details.
functional description 172 datasheet table 5-23 shows the transitions rules among the various states. note that transitions among the various states may appear to te mporarily transition through intermediate states. for example, in going from s0 to s3, it may appear to pass through the g1/s1 states. these intermediate transitions and states are not listed in the table. notes: 1. some wake events can be pr eserved through power failure. 2. transitions from the s1?s5 or g3 states to the s0 state are deferr ed until batlow# is inactive in mobile configurations. table 5-23. state transition rules for the pch present state transition trigger next state g0/s0/c0 ?dmi msg ?slp_en bit set ? power button override ? mechanical off/power failure ?g0/s0/cx ?g1/sx or g2/s5 state ?g2/s5 ?g3 g0/s0/cx ?dmi msg ? power button override ? mechanical off/power failure ?g0/s0/c0 ?s5 ?g3 g1/s1, g1/s3, or g1/s4 ? any enabled wake event ? power button override ? mechanical off/power failure ? g0/s0/c0 (see note 2) ?g2/s5 ?g3 g2/s5 ? any enabled wake event ? mechanical off/power failure ? g0/s0/c0 (see note 2) ?g3 g3 ? power returns ? optional to go to s0/c0 (reboot) or g2/ s5 (stay off until power button pressed or other wake event). (see notes 1 and 2)
datasheet 173 functional description 5.13.3 system power planes the system has several independent power planes, as described in table 5-24 . note that when a particular power plane is shut off, it should go to a 0 v level. s 5.13.4 smi#/sci generation upon any enabled smi event taking place whil e the end of smi (eos) bit is set, the pch will clear the eos bit and assert smi to the processor, which will cause it to enter smm space. smi assertion is performed using a virtual legacy wire (vlw) message. prior system generations (those based upon legacy processors) used an actual smi# pin. once the smi vlw has been delivered, the pch takes no action on behalf of active smi events until host software sets the end of smi (eos) bit. at that point, if any smi events are still active, the pch will send another smi vlw message. the sci is a level-mode interrupt that is ty pically handled by an acpi-aware operating system. in non-apic systems (which is the de fault), the sci irq is routed to one of the 8259 interrupts (irq 9, 10, or 11). the 8 259 interrupt controller must be programmed to level mode for that interrupt. table 5-24. system power plane plane controlled by description cpu slp_s3# signal the slp_s3# signal can be used to cut the power to the processor completely. main slp_s3# signal when slp_s3# goes active, power can be shut off to any circuit not required to wake the system from the s3 state. since the s3 state requires that the memory context be preserved, power must be retained to the main memory. the processor, devices on the pci bus, lpc i/f, and graphics will typically be shut off when the ma in power plane is off, although there may be small subsections powered. memory slp_s4# signal slp_s5# signal when slp_s4# goes active, power can be shut off to any circuit not required to wake the system from the s4. since the memory context does not need to be preserved in the s4 state, the power to the memory can also be shut down. when slp_s5# goes active, power can be shut off to any circuit not required to wake the system from the s5 state. since the memory context does not need to be preserved in the s5 state, the power to the memory can also be shut. me slp_m# this pin is asserted when the manageability platform goes to moff. depending on the platform, th is pin may be used to control the management engine power plan es, the clock chip power, lan subsystem power, and the spi flash power. lan slp_lan# this signal is asserted in sx /moff when both host and intel ? me wol are not supported. this signal can be use to control power to the intel 82567 gbe phy and depending on platform design may also control power to vccme3_3. device[n] implementation specific individual subsystems may have their own power plane. for example, gpio signals may be used to control the power to disk drives, audio amplifiers, or the display screen.
functional description 174 datasheet in systems using the apic, the sci can be rout ed to interrupts 9, 10, 11, 20, 21, 22, or 23. the interrupt polarity changes depending on whether it is on an interrupt shareable with a pirq or not (see section 13.1.3 ). the interrupt remains asserted until all sci sources are removed. table 5-25 shows which events can cause an smi and sci. note that some events can be programmed to cause either an smi or sci. the usage of the event for sci (instead of smi) is typically associated with an acpi-based system. each smi or sci source has a corresponding enable and status bit. table 5-25. causes of smi and sci (sheet 1 of 2) cause sci smi additional enables where reported pme# yes yes pme_en=1 pme_sts pme_b0 (internal, bus 0, pme- capable agents) yes yes pme_b0_en=1 pme_b0_sts pci express* pme messages yes yes pci_exp_en=1 (not enabled for smi) pci_exp_sts pci express hot plug message yes yes hot_plug_en=1 (not enabled for smi) hot_plug_sts power button press yes yes pwrbtn_en=1 pwrbtn_sts power button override (note 7) yes no none prbtnor_sts rtc alarm yes yes rtc_en=1 rtc_sts ring indicate yes yes ri_en=1 ri_sts usb#1 wakes yes yes usb1_en=1 usb1_sts usb#2 wakes yes yes usb2_en=1 usb2_sts usb#3 wakes yes yes usb3_en=1 usb3_sts usb#4 wakes yes yes usb4_en=1 usb4_sts usb#5 wakes yes yes usb5_en=1 usb5_sts usb#6 wakes yes yes usb6_en=1 usb6_sts usb#7 wakes yes yes usb7_en=1 usb7_sts acpi timer overflow (2.34 sec.) yes yes tmrof_en=1 tmrof_sts any gpi[15:0] yes yes gpi[x]_route=10; gpi[x]_en=1 (sci) gpi[x]_route=01; alt_gpi_smi[x]_en=1 (smi) gpi[x]_sts alt_gpi_smi[x]_sts gpio[27] yes yes gp27_en=1 gp27_sts tco sci logic yes no tcosci_en=1 tcosci_sts tco sci message from cp u yes no none cpusci_sts tco smi logic no yes tco_en=1 tco_sts tco smi?year 2000 rollover no yes none newcentury_sts tco smi?tco timerout no yes none timeout tco smi?os writes to tco_dat_in register no yes none os_tco_smi tco smi?message from cpu no yes none cpusmi_sts tco smi?nmi occurred (and nmis mapped to smi) no yes nmi2smi_en=1 nmi2smi_sts
datasheet 175 functional description notes: 1. sci_en must be 1 to enable sci, except fo r bios_rls. sci_en must be 0 to enable smi. 2. sci can be routed to cause interrupt 9:11 or 20:23 (20:23 only available in apic mode). 3. gbl_smi_en must be 1 to enable smi. 4. eos must be written to 1 to re-enable smi for the next 1. 5. the pch must have smi fully enabled when the pch is also enabled to trap cycles. if smi is not enabled in conjunction with the trap enab ling, then hardware behavior is undefined. 6. only gpi[15:0] may generate an smi or sci. 7. when a power button override first occurs, th e system will transition immediately to s5. the sci will only occur after the next wake to s0 if the residual status bit (prbtnor_sts) is not cleared prior to setting sci_en. 8. gbl_sts being set will cause an sci, even if the sci_en bit is not set. software must take great care not to set the bios_rls bit (which causes gbl_sts to be set) if the sci handler is not in place. tco smi?intruder# signal goes active no yes intrd_sel=10 intrd_det tco smi?change of the bioswe (d31:f0:dch, bit 0) bit from 0 to 1 no yes ble=1 bioswr_sts tco smi?write attempted to bios no yes bioswe=1 bioswr_sts bios_rls written to yes no gbl_en=1 gbl_sts gbl_rls written to no yes bios_en=1 bios_sts write to b2h register no yes apmc_en = 1 apm_sts periodic timer expires no yes periodic_en=1 periodic_sts 64 ms timer expires no yes sw smi_tmr_en=1 swsmi_tmr_sts enhanced usb legacy support event no yes legacy_usb2_en = 1 legacy_usb2_sts enhanced usb intel specific event no yes intel_usb2_en = 1 intel_usb2_sts serial irq smi reported no yes none serirq_smi_sts device monitors match address in its range no yes none devtrap_sts smbus host controller no yes smb_smi_en host controller enabled smbus host status reg. smbus slave smi message no yes none smbus_smi_sts smbus smbalert# signal active no yes none smbus_smi_sts smbus host notify message received no yes host_notify_intren smbus_smi_sts host_notify_sts (mobile only) batlow# assertion yes yes batlow_en=1 batlow_sts access microcontroller 62h /66h no yes mcsmi_en mcsmi_sts slp_en bit written to 1 no yes smi_on_slp_en=1 smi_on_slp_en_sts spi command completed no yes none spi_smi_sts software generated gpe yes yes swgpe=1 swgpe_sts usb per-port registers write enable bit changes to 1 no yes usb2_en=1, write_enable_smi_enable=1 usb2_sts, write enable status gpio lockdown enable bit changes from ?1? to ?0? no yes gpio_unlock_smi_en=1 gpio_unlock_smi_sts table 5-25. causes of smi and sci (sheet 2 of 2) cause sci smi additional enables where reported
functional description 176 datasheet 5.13.4.1 pci express* sci pci express ports and the proc essor (using dmi) have the ability to cause pme using messages. when a pme message is received, the pch will set the pci_exp_sts bit. if the pci_exp_en bit is also set, the pch ca n cause an sci using the gpe1_sts register. 5.13.4.2 pci express* hot-plug pci express has a hot-plug mechanism and is capable of generating a sci using the gpe1 register. it is also capable of generating an smi. however, it is not capable of generating a wake event. 5.13.5 c-states pch-based systems implement c-states by having the processor control the states. the chipset exchanges messages with the processor as part of the c-state flow, but the chipset no longer directly controls any of the processor impacts of c-states, such as voltage levels or processor clocking. in ad dition to the new messages, the pch also provides additional information to the proce ssor using a sideband pin (pm_sync). all of the legacy c-state related pins (stpclk#, stp_cpu#, dprslp#, dprslpvr#, etc.) do not exist on the pch. 5.13.6 dynamic pci clock control (mobile only) the pci clock can be dynamically controlled independent of any other low-power state. this control is accomplished using the clkrun # protocol as described in the pci mobile design guide, and is transparent to software. the dynamic pci clock control is handled using the following signals: ? clkrun#: used by pci and lpc peripherals to request the system pci clock to run ? stp_pci#: used to stop the system pci clock note: the 33 mhz clock to the pch is ?free-runni ng? and is not affected by the stp_pci# signal. note: stp_pci# is only used if pci/lpc clocks ar e distributed from clock synthesizer rather than pch.
datasheet 177 functional description 5.13.6.1 conditions for checking the pci clock when there is a lack of pci activity the pch has the capability to stop the pci clocks to conserve power. ?pci activity? is defined as any activity that would require the pci clock to be running. any of the following conditions will indicate that it is not okay to stop the pci clock: ?cycles on pci or lpc ? cycles of any internal device that would need to go on the pci bus ? serirq activity behavioral description ? when there is a lack of activity (as de fined above) for 29 pci clocks, the pch de- asserts (drive high) clkrun# for 1 clock and then tri-states the signal. 5.13.6.2 conditions for ma intaining the pci clock pci masters or lpc devices that wish to main tain the pci clock running will observe the clkrun# signal de-asserted, and then must re-assert if (drive it low) within 3 clocks. ? when the pch has tri-stated the clkrun # signal after de-asserting it, the pch then checks to see if the signal has been re-asserted (externally). ? after observing the clkrun# signal asserted for 1 clock, the pch again starts asserting the signal. ? if an internal device needs the pci bu s, the pch asserts the clkrun# signal. 5.13.6.3 conditions for stopping the pci clock ? if no device re-asserts clkrun# once it has been de-asserted for at least 6 clocks, the pch stops the pci clock by assertin g the stp_pci# signal to the clock synthesizer. ? for case when pch distribute pci clock, pch stop pci clocks without the involvement of stp_pci#. 5.13.6.4 conditions for re -starting the pci clock ? a peripheral asserts clkrun# to indicate that it needs the pci clock re-started. ? when the pch observes the clkrun# signal asserted for 1 (free running) clock, the pch de-asserts the stp_pci# signal to the clock synthesizer within 4 (free running) clocks. ? observing the clkrun# signal asserted ex ternally for 1 (free running) clock, the pch again starts driv ing clkrun# asserted. if an internal source requests the clock to be re-started, the pch re-asserts clkrun#, and simultaneously de-asserts the stp_pci# signal. for case when pch distribute pci clock, pch start pci clocks with out the involvement of stp_pci#.
functional description 178 datasheet 5.13.6.5 lpc devices and clkrun# if an lpc device (of any type) needs the 33 mhz pci clock, such as for lpc dma or lpc serial interrupt, then it can assert clkrun#. note that lpc devices running dma or bus master cycles will not need to assert clkrun #, since the pch asserts it on their behalf. the ldrq# inputs are ignored by the pch when the pci clock is stopped to the lpc devices to avoid misinterpreting the reques t. the pch assumes that only one more rising pci clock edge occurs at the lpc de vice after the assertion of stp_pci#. upon de-assertion of stp_pci#, the pch assumes that the lpc device receives its first clock rising edge corresponding to the pch?s se cond pci clock rising edge after the de- assertion. 5.13.7 sleep states 5.13.7.1 sleep state overview the pch directly supports different sleep states (s1?s5), which are entered by methods such as setting the slp_en bit or due to a power button press. the entry to the sleep states is based on several assumptions: ? the g3 state cannot be entered using any software mechanism. the g3 state indicates a complete loss of power. 5.13.7.2 initiating sleep state sleep states (s1?s5) are initiated by: ? masking interrupts, turning off all bus master enable bits, setting the desired type in the slp_typ field, and then setting the slp_en bit. the hardware then attempts to gracefully put the system into the corresponding sleep state. ? pressing the pwrbtn# signal for more than 4 seconds to cause a power button override event. in this case the transition to the s5 state is less graceful, since there are no dependencies on dmi messages from the processor or on clocks other than the rtc clock. ? assertion of the thrmtrip# signal will cause a transition to the s5 state. this can occur when system is in s0 or s1 state. ? shutdown by integrated mana geability functions (asf/intel ? amt). ? internal watchdog timer timeout events. table 5-26. sleep types sleep type comment s1 system lowers the processor?s power consum ption. no snooping is possible in this state. s3 the pch asserts slp_s3#. th e slp_s3# signal controls the power to non-critical circuits. power is only retained to devi ces needed to wake from this sleeping state, as well as to the memory. s4 the pch asserts slp_s3# and slp_s4#. th e slp_s4# signal shuts off the power to the memory subsystem. only devices needed to wake from this state should be powered. s5 the pch asserts slp_s3#, slp_s4# and slp_s5#.
datasheet 179 functional description 5.13.7.3 exiting sleep states sleep states (s1?s5) are exited based on wake events. the wake events forces the system to a full on state (s0), although some non-critical subsystems might still be shut off and have to be brought back manually . for example, the hard disk may be shut off during a sleep state and have to be enab led using a gpio pin before it can be used. upon exit from the pch-controlled sleep st ates, the wak_sts bit is set. the possible causes of wake events (and their restrictions) are shown in table 5-27 . note: (mobile only) if the batlow# signal is asserted, the pch does not attempt to wake from an s1?s5 state, even if the power butt on is pressed. this prevents the system from waking when the battery power is insu fficient to wake the system. wake events that occur while batlow# is asserted are latched by the pch, and the system wakes after batlow# is de-asserted. table 5-27 causes of wake events (sheet 1 of 2) cause how enabled wake from s1, sx wake from s1, sx after power loss (note 1) wake from ?reset? types (note 2) rtc alarm set rtc_en bit in pm1_en register. y y power button always enabled as wake event. y y y gpi[15:0] gpe0_en register note: gpis that are in the core well are not capable of waking the system from sleep states when the core well is not powered. y gpio27 set gp27_en in gpe0_en register. y y y lan will use pme#. wake enable set with lan logic. yy ri# set ri_en bit in gpe0_en register. y y intel ? high definition audio event sets pme_b0_sts bit; pm_b0_en must be enabled. can not wake from s5 state if it was entered due to power failure or power button override. yy primary pme# pme_b0_en bit in gpe0_en register. y y secondary pme# set pme_en bit in gpe0_en register. y y pci_exp_wa ke# pci_exp_wake bit. (note 3) y y sata set pme_en bit in gpe0_en register. (note 4) s1 s1 pci_exp pme message must use the pci express* wake# pin rather than messages for wake from s3, s4, or s5. s1 s1 smbalert# always enabled as wake event. y y y
functional description 180 datasheet notes: 1. this column represen ts what the pch would honor as wake events but there may be enabling dependencies on the device side which are not enabled after a power loss. 2. reset types include: power button override, in tel me initiated power button override, intel me initiated host partition reset with power down, intel me watchdog timer, smbus unconditional power down, processor thermal trip, pch catastrophic temperature event. 3. when the wake# pin is active and the pci ex press device is enable d to wake the system, the pch will wake the platform. 4. sata can only trigger a wake event in s1, bu t if pme is asserted prior to s3/s4/s5 entry and software does not clea r the pme_b0_sts, a wake event would still result. it is important to understand that the variou s gpis have different levels of functionality when used as wake events. the gpis that reside in the core power well can only generate wake events from sleep states where the core well is powered. also, only certain gpis are ?acpi compliant,? meaning that their status and enable bits reside in acpi i/o space. table 5-27 summarizes the use of gpis as wake events. the latency to exit the various sleep states varies greatly and is heavily dependent on power supply design, so much so that the exit latencies due to the pch are insignificant. smbus slave wake message (01h) wake/smi# command always enabled as a wake event. note: smbus slave message can wake the system from s1?s5, as well as from s5 due to power button override. yyy smbus host notify message received host_notify_wken bit smbus slave command register. reported in the smb_wak_sts bit in the gpeo_sts register. yyy intel ? me non-maskable wake always enabled as a wake event. y y y integrated wol enable override wol enable override bit (in configuration space). y y y table 5-27 causes of wake events (sheet 2 of 2) cause how enabled wake from s1, sx wake from s1, sx after power loss (note 1) wake from ?reset? types (note 2) table 5-27. gpi wake events gpi power well wake from notes gpi[7:0] core s1 acpi compliant gpi[15:8] suspend s1?s5 acpi compliant
datasheet 181 functional description 5.13.7.4 pci express* wake# signal and pme event message pci express ports can wake the platform from any sleep state (s1, s3, s4, or s5) using the wake# pin. wake# is treated as a wake event, but does not cause any bits to go active in the gpe_sts register. pci express ports and the processor (using dmi) have the ability to cause pme using messages. when a pme message is receiv ed, the pch will set the pci_exp_sts bit. 5.13.7.5 sx-g3-sx, ha ndling power failures depending on when the power failure occurs and how the system is designed, different transitions could occur due to a power failure. the afterg3_en bit provides the ability to program whether or not the system should boot once power returns after a power loss event. if the policy is to not boot, the system remains in an s5 state (unless previo usly in s4). there are only three possible events that will wake the system after a power failure. 1. pwrbtn#: pwrbtn# is always enabled as a wake event. when rsmrst# is low (g3 state), the pwrbtn_sts bit is rese t. when the pch exits g3 after power returns (rsmrst# goes high), the pwrbtn # signal is already high (because v cc - standby goes high before rsmrst# goes high) and the pwrbtn_sts bit is 0. 2. ri#: ri# does not have an internal pull-up. therefore, if this signal is enabled as a wake event, it is important to keep this signal powered during the power loss event. if this signal goes low (active), when power returns the ri_sts bit is set and the system interprets that as a wake event. 3. rtc alarm: the rtc_en bit is in the rtc well and is preserved after a power loss. like pwrbtn_sts the rtc_sts bit is cleared when rsmrst# goes low. the pch monitors both pch pwrok and rsmrst # to detect for power failures. if pch pwrok goes low, the pwrok_flr bit is set. if rsmrst# goes low, pwr_flr is set. note: although pme_en is in the rtc well, this signal cannot wake the system after a power loss. pme_en is cleared by rtcrst#, and pme_sts is cleared by rsmrst#. 5.13.8 event input signals and their usage the pch has various input signals that trigger specific events. this section describes those signals and how they should be used. table 5-28. transitions due to power failure state at power failure afterg3_en bit transition when power returns s0, s1, s3 1 0 s5 s0 s4 1 0 s4 s0 s5 1 0 s5 s0
functional description 182 datasheet 5.13.8.1 pwrbtn# (power button) the pch pwrbtn# signal operates as a ?f ixed power button? as described in the advanced configuration and power interface, version 2.0b. pwrbtn# signal has a 16 ms de-bounce on the input. the state tr ansition descriptions are included in table 5-29 . note that the transitions start as soon as the pwrbtn# is pressed (but after the debounce logic), and does not depend on when the power button is released. note: during the time that the slp_s4# signal is stretched for the minimum assertion width (if enabled), the power button is not a wake event. see power button override function section below for further detail. power button override function if pwrbtn# is observed active for at least four consecutive seconds, the state machine should unconditionally transition to the g2/s5 state, regardless of present state (s0?s4), even if the pch pwrok is not active. in this case, the transition to the g2/s5 state should not depend on any particular response from the processor (such as, a dmi messages), nor any similar dependency from any other subsystem. the pwrbtn# status is readable to check if the button is currently being pressed or has been released. the status is taken afte r the de-bounce, and is readable using the pwrbtn_lvl bit. note: the 4-second pwrbtn# assertion should only be used if a system lock-up has occurred. the 4-second timer starts counting when the pch is in a s0 state. if the pwrbtn# signal is asserted and held active when the system is in a suspend state (s1?s5), the assertion causes a wake event. once the system has resumed to the s0 state, the 4-second timer starts. note: during the time that the slp_s4# signal is stretched for the minimum assertion width (if enabled by d31:f0:a4h bit 3), the power button is not a wake event. as a result, it is conceivable that the user will press and continue to hold the power button waiting for the system to awake. since a 4-second press of the power button is already defined as an unconditional power down, the power button timer will be forced to inactive while the power-cycle timer is in progress. once the power-cycle timer has expired, the power button awakes the system. once the minimum slp_s4# power cycle expires, the power button must be pressed for another 4 to 5 seconds to create the override condition to s5. table 5-29. transitions due to power button present state event transition/action comment s0/cx pwrbtn# goes low smi or sci generated (depending on sci_en, pwrbtn_en and glb_smi_en) software typically initiates a sleep state s1?s5 pwrbtn# goes low wake event. transitions to s0 state standard wakeup g3 pwrbtn# pressed none no effect since no power not latched nor detected s0?s4 pwrbtn# held low for at least 4 consecutive seconds unconditional transition to s5 state no dependence on processor (dmi messages) or any other subsystem
datasheet 183 functional description sleep button the advanced configuration and power interface, version 2.0b defines an optional sleep button. it differs from the power button in that it only is a request to go from s0 to s1?s4 (not s5). also, in an s5 state, the power button can wake the system, but the sleep button cannot. although the pch does not include a specific signal designated as a sleep button, one of the gpio signals can be used to create a ?control method? sleep button. see the advanced configuration and power interface, version 2.0b for implementation details. 5.13.8.2 ri# (ring indicator) the ring indicator can cause a wake event (if enabled) from the s1?s5 states. table 5-30 shows when the wake event is generated or ignored in different states. if in the g0/s0/cx states, the pch generates an interrupt based on ri# active, and the interrupt will be set up as a break event. note: filtering/debounce on ri# will not be done in pch. can be in modem or external. 5.13.8.3 pme# (pci power management event) the pme# signal comes from a pci device to request that the system be restarted. the pme# signal can generate an smi#, sci, or optionally a wake event. the event occurs when the pme# signal goes from high to low. no event is caused when it goes from low to high. there is also an internal pme_b0 bit. this is separate from the external pme# signal and can cause the same effect. 5.13.8.4 sys_reset# signal when the sys_reset# pin is detected as active after the 16 ms debounce logic, the pch attempts to perform a ?gra ceful? reset, by waiting up to 25 ms for the smbus to go idle. if the smbus is idle when the pin is de tected active, the reset occurs immediately; otherwise, the counter starts. if at any point during the count the smbus goes idle the reset occurs. if, however, the counter expires and the smbus is still active, a reset is forced upon the system even th ough activity is still occurring. once the reset is asserted, it remains assert ed for 5 to 6 ms regardless of whether the sys_reset# input remains asserted or not. it cannot occur again until sys_reset# has been detected inactive after the debounce logic, and the system is back to a full s0 state with pltrst# inactive. note that if bit 3 of the cf9h i/o register is set then sys_reset# will result in a full power cycle reset. 5.13.8.5 thrmtrip# signal if thrmtrip# goes active, the processor is indicating an overheat condition, and the pch immediately transitions to an s5 state, driving slp_s3#, slp_s4#, slp_s5# low, and setting the cts bit. the transition looks like a power button override. table 5-30. transitions due to ri# signal present state event ri_en event s0 ri# active x ignored s1?s5 ri# active 0 1 ignored wake event
functional description 184 datasheet when a thrmtrip# event occurs, the pc h will power down immediately without following the normal s0 -> s5 path. the pch will immediately drive slp_s3#, slp_s4#, and slp_s5# low after sampling thrmtrip# active. if the processor is running extremely hot and is heating up, it is possible (although very unlikely) that components around it, such as the pch, are no longer executing cycles properly. therefore, if thrmtrip# goes acti ve, and the pch is rely ing on state machine logic to perform the power down, the stat e machine may not be working, and the system will not power down. the pch provides filtering for short low glit ches on the thrmtrip# signal to prevent erroneous system shut downs from noise. glitches shorter than 25 nsec are ignored. during boot, thrmtrip# is ignored until sl p_s3#, pwrok, and pltrst# are all ?1?. during entry into a powered-down state (due to s3, s4, s5 entry, power cycle reset, etc.) thrmtrip# is ignored until either slp_s3# = 0, or pch pwrok = 0, or sys_pwrok = 0. note: a thermal trip event will: ? clear the pwrbtn_sts bit ? clear all the gpe0_en register bits ? clear the smb_wak_sts bit only if smb_sak_sts was set due to smbus slave receiving message and not set due to smbalert 5.13.9 alt access mode before entering a low power state, several registers from powered down parts may need to be saved. in the majority of cases, this is not an issue, as registers have read and write paths. however, several of the isa compatible registers are either read only or write only. to get data out of write-only registers, and to restore data into read-only registers, the pch implements an alt access mode. if the alt access mode is entered and exit ed after reading the registers of the pch timer (8254), the timer starts counting fa ster (13.5 ms). the following steps listed below can cause problems: 1. bios enters alt access mode for reading the pch timer related registers. 2. bios exits alt access mode. 3. bios continues through the execution of other needed steps and passes control to the operating system. after getting control in step #3, if the oper ating system does not reprogram the system timer again, the timer ticks may be happening faster than expected. for example microsoft ms-dos* and its associated software assume that the system timer is running at 54.6 ms and as a result the ti me-outs in the software may be happening faster than expected. operating systems (such as, microsoft windows* 98 and windows* 2000) reprogram the system timer and therefore do not encounter this problem. for other operating systems (such as, microsoft ms-dos*) the bios should restore the timer back to 54.6 ms before passing control to the operating system. if the bios is entering alt access mode before entering the suspend state it is not necessary to restore the timer contents after the exit from alt access mode.
datasheet 185 functional description 5.13.9.1 write only registers with read paths in alt access mode the registers described in table 5-31 have read paths in alt access mode. the access number field in the table indicates which register will be returned per access to that port. table 5-31. write only registers with read paths in alt access mode (sheet 1 of 2) restore data restore data i/o addr # of rds access data i/o addr # of rds access data 00h 2 1 dma chan 0 base address low byte 40h 7 1 timer counter 0 status, bits [5:0] 2 dma chan 0 base address high byte 2 timer counter 0 base count low byte 01h 2 1 dma chan 0 base count low byte 3 timer counter 0 base count high byte 2 dma chan 0 base count high byte 4 timer counter 1 base count low byte 02h 2 1 dma chan 1 base address low byte 5 timer counter 1 base count high byte 2 dma chan 1 base address high byte 6 timer counter 2 base count low byte 03h 2 1 dma chan 1 base count low byte 7 timer counter 2 base count high byte 2 dma chan 1 base count high byte 41h 1 timer counter 1 status, bits [5:0] 04h 2 1 dma chan 2 base address low byte 42h 1 timer counter 2 status, bits [5:0] 2 dma chan 2 base address high byte 70h 1 bit 7 = nmi enable, bits [6:0] = rtc address 05h 2 1 dma chan 2 base count low byte c4h 2 1 dma chan 5 base address low byte 2 dma chan 2 base count high byte 2 dma chan 5 base address high byte 06h 2 1 dma chan 3 base address low byte c6h 2 1 dma chan 5 base count low byte 2 dma chan 3 base address high byte 2 dma chan 5 base count high byte 07h 2 1 dma chan 3 base count low byte c8h 2 1 dma chan 6 base address low byte 2 dma chan 3 base count high byte 2 dma chan 6 base address high byte
functional description 186 datasheet notes: 1. the ocw1 register must be read before entering alt access mode. 2. bits 5, 3, 1, and 0 return 0. 08h 6 1 dma chan 0?3 command 2 cah 2 1 dma chan 6 base count low byte 2 dma chan 0?3 request 2 dma chan 6 base count high byte 3 dma chan 0 mode: bits(1:0) = 00 cch 2 1 dma chan 7 base address low byte 4 dma chan 1 mode: bits(1:0) = 01 2 dma chan 7 base address high byte 5 dma chan 2 mode: bits(1:0) = 10 ceh 2 1 dma chan 7 base count low byte 6 dma chan 3 mode: bits(1:0) = 11. 2 dma chan 7 base count high byte 20h 12 1 pic icw2 of master controller d0h 6 1 dma chan 4?7 command 2 2 pic icw3 of master controller 2 dma chan 4?7 request 3 pic icw4 of master controller 3 dma chan 4 mode: bits(1:0) = 00 4 pic ocw1 of master controller 1 4 dma chan 5 mode: bits(1:0) = 01 5 pic ocw2 of master controller 5 dma chan 6 mode: bits(1:0) = 10 6 pic ocw3 of master controller 6 dma chan 7 mode: bits(1:0) = 11. 7 pic icw2 of slave controller 8 pic icw3 of slave controller 9 pic icw4 of slave controller 10 pic ocw1 of slave controller 1 11 pic ocw2 of slave controller 12 pic ocw3 of slave controller table 5-31. write only registers with read paths in alt access mode (sheet 2 of 2) restore data restore data i/o addr # of rds access data i/o addr # of rds access data
datasheet 187 functional description 5.13.9.2 pic reserved bits many bits within the pic are reserved, and mu st have certain values written for the pic to operate properly. therefore, there is no need to return these values in alt access mode. when reading pic registers from 20h an d a0h, the reserved bits shall return the values listed in table 5-32 . 5.13.9.3 read only registers with write paths in alt access mode the registers described in table 5-33 have write paths to them in alt access mode. software restores these values after returning from a powered down state. these registers must be handled special by softwa re. when in normal mode, writing to the base address/count register also writes to the current address/count register. therefore, the base address/count must be written first, then the part is put into alt access mode and the current address/count register is written. 5.13.10 system power supplies, planes, and signals 5.13.10.1 power plane control with slp_s3#, slp_s4#, slp_s5#, slp_m# and slp_lan# the slp_s3# output signal can be used to cut power to the system core supply, since it only goes active for the suspend-to-ram st ate (typically mapped to acpi s3). power must be maintained to the pch suspend well, and to any other circuits that need to generate wake signals from the suspend-to-ram state. during s3 (suspend-to-ram) all signals attached to powered down plans w ill be tri-stated or driven low, unless they are pulled using a pull-up resistor. cutting power to the core may be done using the power supply, or by external fets on the motherboard. the slp_s4# or slp_s5# output signal can be used to cut power to the system core supply, as well as power to the system memory, since the context of the system is saved on the disk. cutting power to the me mory may be done using the power supply, or by external fets on the motherboard. table 5-32. pic reserved bits return values pic reserved bits value returned icw2(2:0) 000 icw4(7:5) 000 icw4(3:2) 00 icw4(0) 0 ocw2(4:3) 00 ocw3(7) 0 ocw3(5) reflects bit 6 ocw3(4:3) 01 table 5-33. register write accesses in alt access mode i/o address register write value 08h dma status register for channels 0?3. d0h dma status register for channels 4?7.
functional description 188 datasheet the slp_s4# output signal is used to remove power to additional subsystems that are powered during slp_s3#. slp_s5# output signal can be used to cut power to the system core supply, as well as power to the system memory, since the context of the system is saved on the disk. cutting power to the memory may be done using the power supply, or by external fets on the motherboard. slp_m# output signal can be used to cut power to the management engine, clock chip and spi flash on a platform that supports intel ? amt. slp_lan# output signal can be used to cu t power to the extern al intel 82567 gbe phy device. depending on platform design slp_la n# may also be used to control power to vccme3_3 if it is desired to always powe r the lan and me subsystems up and down together. 5.13.10.2 slp_s4# and su spend-to-ram sequencing the system memory suspend voltage regulator is controlled by the glue logic. the slp_s4# signal should be used to remove power to system memory rather than the slp_s5# signal. the slp_s4# logic in the pc h provides a mechanism to fully cycle the power to the dram and/or detect if the power is not cycled for a minimum time. note: to use the minimum dram power-down feature that is enabled by the slp_s4# assertion stretch enable bit (d31:f0:a4h bi t 3), the dram power must be controlled by the slp_s4# signal. 5.13.10.3 pwrok signal when asserted, pwrok is an indication to the pch that its core well power rails are powered and stable. pwrok can be driven asynchronously. when pch pwrok is low, the pch asynchronously asserts pltrst#. pw rok must not glitch, even if rsmrst# is low. it is required that the power associated with pci/pcie have been valid for 99 ms prior to pwrok assertion to comply with the 100 ms pci 2.3 / pcie 2.0 specification on pltrst# de-assertion. note: sys_reset# is recommended for implementi ng the system reset button. this saves external logic that is needed if the pwrok input is used. additionally, it allows for better handling of the smbus and processor resets and avoids improperly reporting power failures. 5.13.10.4 batlow# (batte ry low) (mobile only) the batlow# input can inhibit waking from s3, s4, and s5 states if there is not sufficient power. it also causes an smi if the system is already in an s0 state.
datasheet 189 functional description 5.13.10.5 slp_lan# pin behavior table 5-34 summarizes slp_lan# pin behavior. 5.13.10.6 rtcrst# and srtcrst# rtcrst# is used to reset pch registers in the rtc well to their default value. if a jumper is used on this pin, it should only be pulled low when system is in the g3 state and then replaced to the default jumper posi tion. upon booting, bios should recognize that rtcrst# was asserted and clear internal pch registers accordingly. it is imperative that this signal not be pulled low in the s0 to s5 states. srtcrst# is used to reset portions of the intel manageability engine and should not be connected to a jumper or button on the platform. the only time this signal gets asserted (driven low in combination with rtcrst#) should be when the coin cell battery is removed or not installed and the platform is in the g3 state. pulling this signal low independently (without rtcrst# also being driven low) may cause the platform to enter an indeterminate state. si milar to rtcrst#, it is imperative that srtcrst# not be pulled low in the s0 to s5 states. see figure 2-2 which demonstrates the proper circuit connection of these pins. 5.13.11 clock generators the clock generator is expected to provide the frequencies shown in ta b l e 4 - 1 . table 5-34. slp_lan# pin behavior pin functionality (determined by soft strap) slp_lan default value bit gpio29 input / output (determined by gp_io_sel bit) pin value in s0 or m3 value in s3-s5/ moff slp_lan# 0 (default) in (default) 1 0 out 1 depends on gpio29 output data value 1 in (default) 1 1 out 1 depends on gpio29 output data value gpio29 0 (default) in z (tri-state) 0 1 in z (tri-state) 1 n/a out depends on gpio29 output data value depends on gpio29 output data value
functional description 190 datasheet 5.13.12 legacy power manageme nt theory of operation instead of relying on acpi software, legacy power management uses bios and various hardware mechanisms. the scheme relies on the concept of detecting when individual subsystems are idle, detecting when the whole system is idle, and detecting when accesses are attempted to idle subsystems. however, the operating system is assumed to be at least apm enabled. without apm calls, there is no quick way to know when the system is idle between keystrokes. the pch does not support burst modes. 5.13.12.1 apm power mana gement (desktop only) the pch has a timer that, when enabled by the 1min_en bit in the smi control and enable register, generates an smi once per minute. the smi handler can check for system activity by reading the devtrap_sts register. if none of the system bits are set, the smi handler can increment a software counter. when the counter reaches a sufficient number of consecutive minutes with no activity, the smi handler can then put the system into a lower power state. if there is activity, various bits in the devtrap_sts register will be set. software clears the bits by writing a 1 to the bit position. the devtrap_sts register allows for monitoring various internal devices, or super i/o devices (sp, pp, fdc) on lpc or pci, keyboard controller accesses, or audio functions on lpc or pci. other pci activity can be monitored by checking the pci interrupts. 5.13.12.2 mobile apm power management (mobile only) in mobile systems, there are additional requirements associated with device power management. to handle this, the pch has sp ecific smi traps available. the following algorithm is used: 1. the periodic smi timer checks if a device is idle for the require time. if so, it puts the device into a low-power state and sets the associated smi trap. 2. when software (not the smi handler) atte mpts to access the device, a trap occurs (the cycle doesn?t really go to the device and an smi is generated). 3. the smi handler turns on the device and turns off the trap. 4. the smi handler exits with an i/o restart. this allows the original software to continue. 5.13.13 reset behavior when a reset is triggered, the pch will send a warning message to the processor to allow the processor to attempt to complete any outstanding memory cycles and put memory into a safe state before the platform is reset. when the processor is ready, it will send an acknowledge message to the pc h. once the message is received the pch asserts pltrst#. the pch does not require an acknowledge message from the processor to trigger pltrst#. a global reset will occur after 4 seconds if an acknowledge from the processor is not received. when the pch causes a reset by asserting pltrst# its output signals will go to their reset states as defined in chapter 3.
datasheet 191 functional description a reset in which the host platform is rese t and pltrst# is asserted is called a host reset or host partition reset. depending on the trigger a host reset may also result in power cycling see table 5-37 for details. if a host reset is triggered and the pch times out before receiving an acknowledge message from the processor a global reset with power cycle will occur. a reset in which the host and intel me partitions of the platform are reset is called a global reset. during a global reset, all pch functionality is reset except rtc power well backed information and suspend well stat us, configuration, and functional logic for controlling and reporting the reset. intel me and host power back up after the power cycle period. straight to s5 is another reset type wher e all power wells that are controlled by the slp_s3#, slp_s4#, and slp_a# pins, as well as slp_s5# and slp_lan# (if pins are not configured as gpios), are turned off. all pch functionality is reset except rtc power well backed information and suspend we ll status, configuration, and functional logic for controlling and reporting the reset. the host stays there until a valid wake event occurs. table 5-35 shows the various reset triggers. table 5-35. causes of host and global resets (sheet 1 of 2) trigger host reset without power cycle 1 host reset with power cycle 2 global reset with power cycle 3 straight to s5 (host stays there) write of 0eh to cf9h register when global reset bit=0b no yes no (note 4) write of 06h to cf9h register when global reset bit=0b yes no no (note 4) write of 06h or 0eh to cf9h register when global reset bit=1b no no yes sys_reset# asserted and cf9h bit 3 = 0 yes no no (note 4) sys_reset# asserted and cf9h bit 3 = 1 no yes no (note 4) smbus slave message received for reset with power cycle no yes no (note 4) smbus slave message received for reset without power cycle yes no no (note 4) tco watchdog timer reaches zero two times yes no no (note 4) power failure: pwrok signal goes inactive in s0/s1 or rsmrst# asserts no no yes sys_pwrok failure: sys_pwrok signal goes inactive in s0/s1 no no yes processor thermal trip (thrmtrip#) causes transition to s5 and reset asserts no no no yes power button 4 second override causes transition to s5 and reset asserts no no no yes special shutdown cycle from processor causes cf9h-like pltrst# and cf9h global reset bit = 1 no no yes special shutdown cycle from processor causes cf9h-like pltrst# and cf9h global reset bit = 0 and bit 3 = 1 no yes no (note 4) special shutdown cycle from processor causes cf9h-like pltrst# and cf9h global reset bit = 0 and bit 3 = 0 yes no no (note 4) intel ? management engine triggered host reset without power cycle yes no no (note 4) intel management engine triggered host reset with power cycle no yes no (note 4) intel management engine watchdog timer timeout no no no yes intel management engine triggered global reset no no yes
functional description 192 datasheet notes: 1. the pch drops this type of reset request if received while the sy stem is in s3/s4/s5. 2. pch does not drop this type of reset reques t if received while system is in a software- entered s3/s4/s5 state. howe ver, the pch will perform the reset without executing the reset_warn protocol in these states. 3. the pch does not send warning message to processor, reset oc curs without delay. 4. trigger will result in global reset with power cycle if the acknowledge message is not received by the pch. 5. the pch waits for enabled wa ke event to complete reset. 5.14 system management (d31:f0) the pch provides various functions to make a system easier to manage and to lower the total cost of ownership (tco) of the system. features and functions can be augmented using external a/d converters and gpio, as well as an external microcontroller. the following features and func tions are supported by the pch: ? processor present detection ? detects if processor fails to fetch the first instruction after reset ? various error detection (such as ecc errors) indicated by host controller ? can generate smi#, sci, serr, nmi, or tco interrupt ? intruder detect input ? can generate tco interrupt or smi# when the system cover is removed ? intruder# allowed to go active in any power state, including g3 ? detection of bad bios flash (fwh or flash on spi) programming ? detects if data on first read is ffh (indicates that bios flash is not programmed) ? ability to hide a pci device ? allows software to hide a pci device in terms of configuration space through the use of a device hide register (see section 10.1.65 ) note: voltage id from the processor can be read using gpi signals. intel management engine triggered host reset with power down (host stays there) no yes (note 5) no (note 4) pltrst# entry time-out no no yes s3/4/5 entry timeout no no no yes procpwrgd stuck low no no yes power management watchdog timer no no no yes intel management engine hardware uncorrectable error no no no yes table 5-35. causes of host and global resets (sheet 2 of 2) trigger host reset without power cycle 1 host reset with power cycle 2 global reset with power cycle 3 straight to s5 (host stays there)
datasheet 193 functional description 5.14.1 theory of operation the system management functions are designed to allow the system to diagnose failing subsystems. the intent of this logic is that some of the system management functionality can be provided without th e aid of an external microcontroller. 5.14.1.1 detecting a system lockup when the processor is reset, it is expected to fetch its first instruction. if the processor fails to fetch the first instruction after reset, the tco timer times out twice and the pch asserts pltrst#. 5.14.1.2 handling an intruder the pch has an input signal, intruder#, that can be attached to a switch that is activated by the system?s case being open. this input has a two rtc clock debounce. if intruder# goes active (after the debouncer), this will set the intrd_det bit in the tco2_sts register. the intrd_sel bits in th e tco_cnt register can enable the pch to cause an smi# or interrupt. the bios or in terrupt handler can then cause a transition to the s5 state by writing to the slp_en bit. the software can also directly read the status of the intruder# signal (high or low) by clearing and then reading the intrd_det bit. th is allows the signal to be used as a gpi if the intruder function is not required. if the intruder# signal goes inactive some point after the intrd_det bit is written as a 1, then the intrd_det signal will go to a 0 when intruder# input signal goes inactive. note that this is slightly different than a classic sticky bit, since most sticky bits would remain active indefinitely when the signal goes active and would immediately go inactive when a 1 is written to the bit. note: the intrd_det bit resides in the pch?s rtc well, and is set and cleared synchronously with the rtc clock. thus, when software a ttempts to clear intrd_det (by writing a 1 to the bit location) there may be as much as two rtc clocks (about 65 s) delay before the bit is actually cleared. also, the intruder# signal should be asserted for a minimum of 1 ms to ensure that the intrd_det bit will be set. note: if the intruder# signal is still active when software attempts to clear the intrd_det bit, the bit remains set and the smi is ge nerated again immediately. the smi handler can clear the intrd_sel bits to avoid furthe r smis. however, if the intruder# signal goes inactive and then active again, there will not be further smis, since the intrd_sel bits would select that no smi# be generated. 5.14.1.3 detecting improper flash programming the pch can detect the case where the bios flash is not programmed. this results in the first instruction fetched to have a valu e of ffh. if this occurs, the pch sets the bad_bios bit. the bios flash may reside in fwh or flash on the spi bus. 5.14.1.4 heartbeat and event reporting using smlink/smbus heartbeat and event reporting using smlink/smbus is no longer supported. the amt logic in pch can be programmed to generate an interrupt to the management engine when an event occurs. the management engi ne will poll the tco registers to gather appropriate bits to send the event message to the gigabit ethernet controller, if management engine is programmed to do so.
functional description 194 datasheet 5.14.2 tco modes 5.14.2.1 tco legacy/compatible mode in tco legacy/compatible mode, only the host smbus is used. tco slave can be connected to the host smbus internally by se tting the soft trap tco slave select in the flash descriptor. if a device has a single smbus interface and needs access to the tco slave and be visible to the host smbus controller, tco slave needs to be configured to be connected to the smbus pins by the soft strap. in this mode, the management engine smbus controllers are not used an d should be disabled by soft strap. in tco legacy/compatible mode the pch can function directly with an external lan controller or equivalent external lan co ntroller to report messages to a network management console without the aid of the system processor. this is crucial in cases where the processor is malfunctioning or cannot function due to being in a low-power state. table 5-36 includes a list of events that will report messages to the network management console. figure 5-5. tco legacy/compati ble mode smbus configuration host smbus tco slave spd (slave) uctrl legacy sensors (master or slave with alert) tco legacy/compatible mode smbus x intel me smbus controller 3 x x pci/pcie* device 3 rd party nic pch intel me smbus controller 1 intel me smbus controller 2
datasheet 195 functional description note: the gpio11/smbalert# pin will trigger an event message (when enabled by the gpio11_alert_disable bit) regardless of wh ether it is configured as a gpi or not. 5.14.2.2 advanced tco mode the pch supports the advanced tco mode in which smlink0 and smlink1 are used in addition to the host smbus. see figure 5-6 for more details. in this mode, the intel me smbus controllers must be enabled by soft strap in the flash descriptor. the smlink0 is dedicated to integrated lan use and when an intel phy 82579 is connected to smlink0, a soft strap must be set to indicate that the phy is connected to smlink0. the interface will be running at the frequency of 300 khz - 400 khz depending on different factors such as board routing or bus loading when the fast mode is enabled via a soft strap (see spi flash programming guide application note for more detail). when an intel phy 82577 or 82578 is connected to smlink0, a soft strap must be set to indicate that the phy is connected to smlink0. in the case where a bmc is connected to smlink1, the bmc communicates with management engine through intel me smbus connected to smlink1. the host and tco slave communicated with bmc through smbus. table 5-36. event transiti ons that cause messages event assertion? de-assertion? comments intruder# pin yes no must be in ?s1 or hung s0? state thrm# pin yes yes must be in ?s1 or hung s0? state. note that the thrm# pin is isolated when the core power is off, thus preventing this event in s3?s5. watchdog timer expired yes no (na) ?s1 or hung s0? state entered gpio[11]/ smbalert# pin yes yes must be in ?s1 or hung s0? state batlow# yes yes must be in ?s1 or hung s0? state cpu_pwr_flr yes no ?s1 or hung s0? state entered
functional description 196 datasheet figure 5-6. advanced tco mode host smbus tco slave spd (slave) legacy sensors (master or slave with alert) advanced tco mode smbus smlink0 intel me smbus controller 3 ec or bmc intel 82577 or 82578 smlink1 pch intel me smbus controller 2 intel me smbus controller 1 pci/pcie* device
datasheet 197 functional description 5.15 general purpose i/o (d31:f0) the pch contains up to 72 general purpose input/output (gpio) signals. each gpio can be configured as an input or output signal. the number of inputs and outputs varies depending on the configuration. belo w is a brief summary of new gpio features. ? capability to mask suspend well gpios from cf9h events configured using gp_rst_sel registers) ? added capability to program gpio prior to switching to output 5.15.1 power wells some gpios exist in the suspend power plane. care must be taken to make sure gpio signals are not driven high into powere d-down planes. some pch gpios may be connected to pins on devices that exist in the core well. if these gpios are outputs, there is a danger that a loss of core power (pwrok low) or a power button override event results in the pch driving a pin to a logic 1 to another device that is powered down. 5.15.2 smi# sci and nmi routing the routing bits for gpio[15:0] allow an input to be routed to smi#, sci, nmi or neither. note that a bit can be routed to either an smi# or an sci, but not both. 5.15.3 triggering gpio[15:0] have ?sticky? bits on the input. see the gpe0_sts register and the alt_gpi_smi_sts register. as long as the signal goes active for at least 2 clock cycles, the pch keeps the sticky status bit active. the active level can be selected in the gp_inv register. this does not apply to gpi_nmi_sts residing in gpio io space. if the system is in an s0 or an s1 state, the gpi inputs are sampled at 33 mhz, so the signal only needs to be active for about 60 ns to be latched. in the s3?s5 states, the gpi inputs are sampled at 32.768 khz, and thus must be active for at least 61 microseconds to be latched. note: gpis that are in the core well are not capable of waking the system from sleep states where the core well is not powered. if the input signal is still active when the la tch is cleared, it will again be set. another edge trigger is not required. this makes these signals ?level? triggered inputs. 5.15.4 gpio registers lockdown the following gpio registers are locked do wn when the gpio lockdown enable (gle) bit is set. the gle bit resides in d31:f0:gpio control (gc) register. ? offset 00h: gpio_use_sel[31:0] ? offset 04h: gp_io_sel[31:0] ? offset 0ch: gp_lvl[31:0] ? offset 28h: gpi_nmi_en[15:0] ? offset 2ch: gpi_inv[31:0] ? offset 30h: gpio_use_sel2[63:32] ? offset 34h: gpi_io_sel2[63:32] ? offset 38h: gp_lvl2[63:32] ? offset 40h: gpio_use_sel3[95:64] ? offset 44h: gpi_io_sel3[95:64] ? offset 48h: gp_lvl3[95:64] ? offset 60h: gp_rst_sel[31:0] ? offset 64h: gp_rst_sel2[63:32] ? offset 68h: gp_rst_sel3[95:64]
functional description 198 datasheet once these registers are locked down, they become read-only registers and any software writes to these registers will have no effect. to unlock the registers, the gpio lockdown enable (gle) bit is required to be cleared to ?0?. when the gle bit changes from a ?1? to a ?0? a system management interrupt (smi#) is generated if enabled. once the gpio_unlock_smi bit is set, it can not be changed until a pltrst# occurs. this ensures that only bios can change th e gpio configuration. if the gle bit is cleared by unauthorized software, bios will set the gle bit again when the smi# is triggered and these registers will continue to be locked down. 5.15.5 serial post codes over gpio the pch adds the extended capability allowing system software to serialize post or other messages on gpio. this capability negates the requirement for dedicated diagnostic leds on the platform. additionally , based on the newer btx form factors, the pci bus as a target for post codes is increasingly difficult to support as the total number of pci devices supported are decreasing. 5.15.5.1 theory of operation for the pch generation post code serializat ion logic will be shared with gpio. these gpios will likely be shared with led control offered by the super i/o (sio) component. figure 5-7 shows a likely configuration. the anticipated usage model is that either the pch or the sio can drive a pin low to turn off an led. in the case of the power led, the sio would normally leave its corresponding pin in a high-z state to allow the led to turn on. in this state, the pch can blink the led by driving its corresponding pin low and subsequently tri-stating the buffer. the i/o buffer should not drive a ?1? when configured for this functionality and should be capable of sinking 24 ma of current. an external optical sensing device can detect the on/off state of the led. by externally post-processing the information from the optical device, the serial bit stream can be recovered. the hardware will supply a ?sync? byte before the actual data transmission to allow external detection of the transmit frequency. the frequency of transmission should be limited to 1 transition every 1 s to ensure the detector can reliably sample figure 5-7. serial post over gpio reference circuit sio v_3p3_stby led r note: the pull-up value is based on the brightness required. pch
datasheet 199 functional description the on/off state of the led. to allow flexibility in pull-up resistor values for power optimization, the frequency of the transmissi on is programmable using the drs field in the gp_gb_cmdsts register. the serial bit stream is manchester encoded. this choice of transmission ensures that a transition will be seen on every clock. the 1 or 0 data is based on the transmission happening during the high or low phase of the clock. as the clock will be encoded within the data stream, hardware must ensure that the z-0 and 0-z transitions are glitch-free. drivin g the pin directly from a flop or through glitch-free logic are possible methods to meet the glitch-free requirement. a simplified hardware/software register interface provides control and status information to track the activity of this block. software enabling the serial blink capability should implement an algorithm re ferenced below to send the serialized message on the enabled gpio. 1. read the go/busy status bit in the gp_gb_cmdsts register and verify it is cleared. this will ensure that the gpio is idled and a previously requested message is still not in progress. 2. write the data to serialize into the gp_gb_data register. 3. write the dls and drs values into the gp _gb_cmdsts register and set the go bit. this may be accomplished using a single write. the reference diagram shows the leds being powered from the suspend supply. by providing a generic capability that can be us ed both in the main and the suspend power planes maximum flexibility can be achieved. a key point to make is that the pch will not unintentionally drive the led control pin low unless a serialization is in progress. system board connections utilizing this serialization capability are required to use the same power plane controlling the led as the pch gpio pin. otherwise, the pch gpio may float low during the message and prevent the led from being controlled from the sio. the hardware will only be serializ ing messages when the core power well is powered and the processor is operational. care should be taken to prevent the pch from driving an active ?1? on a pin sharing the serial led capability. since the sio could be driving the line to 0, having the pch drive a 1 would create a high current path. a recommendation to avoid this condition involves choosing a gpio defaulting to an in put. the gp_ser_blink register should be set first before changing the direction of the pin to an output. this sequence ensures the open-drain capability of th e buffer is properly configured before enabling the pin as an output. 5.15.5.2 serial message format to serialize the data onto the gpio, an init ial state of high-z is assumed. the sio is required to have its led control pin in a high-z state as well to allow the pch to blink the led (see the reference diagram). the three components of the serial message include the sync, data, and idle fields. the sync field is 7 bits of ?1? data followed by 1 bit of ?0? data. starting from the high-z state (led on) provides external hardware a known initial condition and a known pattern. in case one or more of the leading 1 sync bi ts are lost, the 1s followed by 0 provide a clear indication of ?end of sync?. this patte rn will be used to ?lock? external sampling logic to the encoded clock. the data field is shifted out with the highes t byte first (msb). within each byte, the most significant bit is shifted first (msb).
functional description 200 datasheet the idle field is enforced by the hardware and is at least 2 bit times long. the hardware will not clear the busy and go bits until this id le time is met. supporting the idle time in hardware prevents time-based counting in bios as the hardware is immediately ready for the next serial code when the go bit is cleared. note that the idle state is represented as a high-z condition on the pin. if the last transmitted bit is a 1, returning to the idle state will result in a final 0-1 transition on the output manchester data. two full bit times of idle correspond to a count of 4 time intervals (the width of the time interval is controlled by the drs field). the following waveform shows a 1-byte serial write with a data byte of 5ah. the internal clock and bit position are for refere nce purposes only. the manchester d is the resultant data generated and serialized onto the gpio. since the buffer is operating in open-drain mode the transitions are from high-z to 0 and back. 5.16 sata host controller (d31:f2, f5) the sata function in the pch has three modes of operation to support different operating system conditions. in the case of native ide enabled operating systems, the pch uses two controllers to enable all six po rts of the bus. the first controller (device 31: function 2) supports ports 0 ? 3 and the second controller (device 31: function 5) supports ports 4 and 5. when using a lega cy operating system, only one controller (device 31: function 2) is available that supports ports 0 ? 3. in ahci or raid mode, only one controller (device 31: function 2) is used enabling all six ports and the second controller (device 31: function 5) shall be disabled. the map register, section 15.1.28 , provides the ability to share pci functions. when sharing is enabled, all decode of i/o is done through the sata registers. device 31, function 1 (ide controller) is hidden by software writing to the function disable register (d31, f0, offset f2h, bit 1), and its configuration registers are not used. the pch sata controllers feature six sets of interface signals (ports) that can be independently enabled or disabled (they ca nnot be tri-stated or driven low). each interface is supported by an independent dma controller. note: sata port 2 and 3 are not available for the hm55 and intel 3400 chipsets. the pch sata controllers interact with an attached mass storage device through a register interface that is equivalent to that presented by a traditional ide host adapter. the host software follows existing standards and conventions when accessing the register interface and follows standard command protocol conventions. note: sata interface transfer rates are independen t of udma mode settings. sata interface transfer rates will operate at the bus?s ma ximum speed, regardless of the udma mode reported by the sata device or the system bios. internal clock manchester d 8-bit sync field (1111_1110) bit 7 0 1 2 3 4 5 6 5a data byte 2 clk idle
datasheet 201 functional description 5.16.1 sata feature support feature pch (ahci/raid disabled) pch (ahci/raid enabled) native command queuing (ncq) n/a supported auto activate for dma n/a supported hot plug support n/a supported asynchronous signal recovery n/a supported 3 gb/s transfer rate supported supported atapi asynchronous notification n/a supported host & link initiated powe r management n/a supported staggered spin-up supported supported command completion coalescing n/a n/a external sata n/a supported feature description native command queuing (ncq) allows the device to reorder co mmands for more efficient data transfers auto activate for dma collapses a dma setup then dma activate sequence into a dma setup only hot plug support allows for device detection wi thout power being applied and ability to connect and discon nect devices without prior notification to the system asynchronous signal recovery provides a recovery from a loss of signal or establishing communication after hot plug 3 gb/s transfer rate capable of data transfers up to 3gb/s atapi asynchronous notification a mechanism for a device to send a notification to the host that the device requires attention host & link initiated power management capability for the host controller or device to re quest partial and slumber interface power states staggered spin-up enables the host the ability to spin up hard drives sequentially to prevent power load problems on boot command completion coalescing reduces interrupt and completi on overhead by allowing a specified number of commands to complete and then generating an interrupt to process the commands external sata technology that allows for an outside the box connection of up to 2 meters (when using the cable defined in sata-io)
functional description 202 datasheet 5.16.2 theory of operation 5.16.2.1 standard ata emulation the pch contains a set of registers that shadow the contents of the legacy ide registers. the behavior of the command and control block registers, pio, and dma data transfers, resets, and interrupts are all emulated. note: the pch will assert intr when the master device completes the edd command regardless of the command completion status of the slave device. if the master completes edd first, an intr is generated and bsy will remain '1' until the slave completes the command. if the slave comple tes edd first, bsy will be '0' when the master completes the edd command and asserts intr. software must wait for busy to clear (0) before completing an edd command, as required by the ata5 through ata7 (t13) industry standards. 5.16.2.2 48-bit lba operation the sata host controller supports 48-bit lba through the host-to-device register fis when accesses are performed using writes to the task file. the sata host controller will ensure that the correct data is put into the correct byte of the host-to-device fis. there are special considerations when reading from the task file to support 48-bit lba operation. software may need to read all 16 -bits. since the registers are only 8-bits wide and act as a fifo, a bit must be set in the device/control register, which is at offset 3f6h for primary and 376h for secondary (or their native counterparts). if software clears bit 7 of the control regist er before performing a read, the last item written will be returned from the fifo. if software sets bi t 7 of the control register before performing a read, the first item written will be returned from the fifo. 5.16.3 sata swap bay support the pch provides for basic sata swap bay support using the psc register configuration bits and power management flows. a device can be powered down by software and the port can then be disabled, allowing removal and insertion of a new device. note: this sata swap bay operation requires bo ard hardware (implementation specific), bios, and operating system support. 5.16.4 hot plug operation the pch supports hot plug surprise removal and insertion notification in the partial, slumber and listen mode states when used with low power device presence detection. software can take advantage of power savings in the low power states while enabling hot plug operation. see chapter 7 of the ahci specification for details. 5.16.4.1 low power device presence detection low power device presence detection enables sata link power management to co- exist with hot plug (insertion and removal) without interlock switch or cold presence detect. the detection mechanism allows hot pl ug events to be detectable by hardware across all link power states (active, partial, slumber) as well as ahci listen mode. if the low power device presence detection circuit is disabled the pch reverts to hot plug surprise removal notification (without an interlock switch) mode that is mutually exclusive of the partial and slumber power management states.
datasheet 203 functional description 5.16.5 function level reset support (flr) the sata host controller supports the function level reset (flr) capability. the flr capability can be used in conjunction with intel ? virtualization technology. flr allows an operating system in a virtual machine to have complete control over a device, including its initialization, wi thout interfering with the rest of the platform. the device provides a software interface that enable s the operating system to reset the whole device as if a pci reset was asserted. 5.16.5.1 flr steps 5.16.5.1.1 flr initialization 1. a flr is initiated by software writing a ?1? to the initiate flr bit. 2. all subsequent requests targeting the function will not be claimed and will be master abort immediate on the bus. this includes any configuration, i/o or memory cycles, however, the function shall continue to accept completions targeting the function. 5.16.5.1.2 flr operation the function will reset all configuration, i/o and memory registers of the function except those indicated otherwise and reset all internal states of the function to the default or initial condition. 5.16.5.1.3 flr completion the initiate flr bit is reset (cleared) when the flr reset is completed. this bit can be used to indicate to the software that the flr reset is completed. note: from the time initiate flr bit is written to 1 software must wait at least 100 ms before accessing the function. 5.16.6 intel ? rapid storage tec hnology configuration the intel ? rapid storage technology offers several diverse options for raid (redundant array of independent disks) to meet the needs of the end user. ahci support provides higher performance and alleviates disk bottlenecks by taking advantage of the independent dma engines that each sata port offers in the pch. ? raid level 0 performance scaling up to 4 drives, enabling higher throughput for data intensive applications such as video editing. ? data security is offered through raid level 1, which performs mirroring. ? raid level 10 provides high levels of storage performance with data protection, combining the fault-tolerance of raid leve l 1 with the performance of raid level 0. by striping raid level 1 segments, high i/o rates can be achieved on systems that require both performance and fault-tolerance. raid level 10 requires 4 hard drives, and provides the capacity of two drives. ? raid level 5 provides highly efficient storage while maintaining fault-tolerance on 3 or more drives. by striping parity, and rotating it across all disks, fault tolerance of any single drive is achieved while only consuming 1 drive worth of capacity. that is, a 3 drive raid 5 has the capacity of 2 drives, or a 4 drive raid 5 has the capacity of 3 drives. raid 5 has high read transaction rates, with a medium write rate. raid 5 is well suited for applicatio ns that require high amounts of storage while maintaining fault tolerance.
functional description 204 datasheet by using the pch?s built-in intel ? rapid storage technology, there is no loss of pci resources (request/grant pair) or add-in card slot. intel ? rapid storage technology functionality requires the following items: 1. the pch sku enabled for intel ? rapid storage technology (see section 1.3 ) 2. intel ? rapid storage manager raid option rom must be on the platform 3. intel ? rapid storage manager drivers, most recent revision. 4. at least two sata hard disk drives (minimum depends on raid configuration). intel ? rapid storage technology is not available in the following configurations: 1. the sata controller is in compatible mode. 5.16.6.1 intel ? rapid storage manager raid option rom the intel ? rapid storage manager raid option rom is a standard pnp option rom that is easily integrated into any system bi os. when in place, it provides the following three primary functions: ? provides a text mode user interface that allows the user to manage the raid configuration on the system in a pre-operating system environment. its feature set is kept simple to keep size to a minimum, but allows the user to create & delete raid volumes and select recovery options when problems occur. ? provides boot support when using a raid vo lume as a boot disk. it does this by providing int13 services when a raid volume needs to be accessed by dos applications (such as ntldr) and by ex porting the raid volumes to the system bios for selection in the boot order. ? at each boot up, provides the user with a status of the raid volumes and the option to enter the user interface by pressing ctrl-i. 5.16.7 power management operation power management of the pch sata controller and ports will cover operations of the host controller and the sata wire. 5.16.7.1 power state mappings the d0 pci power management state for device is supported by the pch sata controller. sata devices may also have multiple power states. from parallel ata, three device states are supported through acpi. they are: ? d0 ? device is working and instantly available. ? d1 ? device enters when it receives a standby immediate command. exit latency from this state is in seconds. ? d3 ? from the sata device?s perspective, no different than a d1 state, in that it is entered using the standby immediate command. however, an acpi method is also called which will reset the device and then cut its power. each of these device states are subsets of the host controller?s d0 state.
datasheet 205 functional description finally, sata defines three phy layer power states, which have no equivalent mappings to parallel ata. they are: ? phy ready ? phy logic and pll are both on and active. ? partial ? phy logic is powered, but in a reduced state. exit latency is no longer than 10 ns. ? slumber ? phy logic is powered, but in a reduced state. exit latency can be up to 10 ms. since these states have much lower exit latency than the acpi d1 and d3 states, the sata controller defines these states as sub-states of the device d0 state. 5.16.7.2 power state transitions 5.16.7.2.1 partial and slumber state entry/exit the partial and slumber states save interface power when the interface is idle. it would be most analogous to pci clkrun# (in power savings, not in mechanism), where the interface can have power saved while no commands are pending. the sata controller defines phy layer power management (as pe rformed using primitives) as a driver operation from the host side, and a device proprietary mechanism on the device side. the sata controller accepts device transition types, but does not issue any transitions as a host. all received requests from a sata device will be acked. when an operation is performed to the sata controller such that it needs to use the sata cable, the controller must check whether the link is in the partial or slumber states, and if so, must issue a com_wake to bring the link back on line. similarly, the sata device must perform the same action. 5.16.7.2.2 device d1, d3 states these states are entered after some period of time when software has determined that no commands will be sent to this device for some time. the mechanism for putting a device in these states does not involve any work on the host controller, other then sending commands over the interface to the device. the command most likely to be used in ata/atapi is the ?standby immediate? command. 5.16.7.2.3 host controller d3 hot state after the interface and device have been pu t into a low power state, the sata host controller may be put into a low power state. this is performed using the pci power management registers in configuration space. there are two very important aspects to note when using pci power management. 1. when the power state is d3, only accesses to configuration space are allowed. any attempt to access the memory or i/o spaces will result in master abort. 2. when the power state is d3, no interrupts may be generated, even if they are enabled. if an interrupt status bit is pe nding when the controller transitions to d0, an interrupt may be generated. when the controller is put into d3, it is a ssumed that software has properly shut down the device and disabled the ports. therefore, there is no need to sustain any values on the port wires. the interface will be treated as if no device is present on the cable, and power will be minimized. when returning from a d3 state, an internal reset will not be performed.
functional description 206 datasheet 5.16.7.2.4 non-ahci mode pme# generation when in non-ahci mode (legacy mode) of operation, the sata controller does not generate pme#. this includes attach events (since the port must be disabled), or interlock switch events (using the satagp pins). 5.16.7.3 smi trapping (apm) device 31:function2:offset c0h (see section 14.1.42 ) contain control for generating smi# on accesses to the ide i/o spaces. these bits map to the legacy ranges (1f0?1f7h, 3f6h, 170?177h, and 376h) and native ide ranges defined by pcmdba, pctlba, scmdba an sctlba. if the sata co ntroller is in legacy mode and is using these addresses, accesses to one of these ranges with the appropriate bit set causes the cycle to not be forwarded to the sata co ntroller, and for an smi# to be generated. if an access to the bus-master ide registers occurs while trapping is enabled for the device being accessed, then the register is updated, an smi# is generated, and the device activity status bits ( section 14.1.43 ) are updated indicating that a trap occurred. 5.16.8 sata device presence in legacy mode, the sata controller does not generate interrupts based on hot plug/ unplug events. however, the sata phy does kn ow when a device is connected (if not in a partial or slumber state), and it s benefici al to communicate this information to host software as this will greatly reduce boot times and resume times. the flow used to indicate sata device presence is shown in figure 5-8 . the ?pxe? bit refers to pcs.p[3:0]e bits, depending on the port being checked and the ?pxp? bits refer to the pcs.p[3:0]p bits, depending on the port being checked. if the pcs/pxp bit is set a device is present, if the bit is cleared a device is not present. if a port is disabled, software can check to see if a new device is connected by periodically re-enabling the port and observing if a device is present, if a device is not present it can disable the port and check again later. if a port rema ins enabled, software can periodically poll pcs.pxp to see if a new device is connected. figure 5-8. flow for port enable / device present bits
datasheet 207 functional description 5.16.9 sata led the sataled# output is driven whenever the bsy bit is set in any sata port. the sataled# is an active-low open-drain outp ut. when sataled# is low, the led should be active. when sataled# is high, the led should be inactive. 5.16.10 ahci operation the pch provides hardware support for adva nced host controller interface (ahci), a programming interface for sata host controllers developed through a joint industry effort. ahci defines transactions between the sata controller and software and enables advanced performance and usability with sata. platforms supporting ahci may take advantage of performance features such as no master/slave designation for sata devices?each device is treated as a master?and hardware assisted native command queuing. ahci also provides usability enhanc ements such as hot-plug. ahci requires appropriate software support (such as, an ahci driver) and for some features, hardware support in the sata device or additional platform hardware. the pch supports all of the mandatory features of the serial ata advanced host controller interface specification , revision 1.2 and many optional features, such as hardware assisted native command queuing, aggressive power management, led indicator support, and hot-plug through the use of interlock switch support (additional platform hardware and software may be re quired depending upon the implementation). note: for reliable device removal notification wh ile in ahci operation without the use of interlock switches (surprise removal), interf ace power management should be disabled for the associated port. see section 7.3.1 of the ahci specification for more information. 5.16.11 sgpio signals the sgpio signals, in accordance to the s ff-8485 specification, support per-port led signaling. these signals are not related to sataled#, which allows for simplified indication of sata command activity. the sgpio group interfaces with an external controller chip that fetches and serializes the data for driving across the sgpio bus. the output signals then control the leds. this feature is only valid in ahci/raid mode. note: intel does not validate all possible usage cases of this feature. customers should validate their specific design implementation on their own platforms. 5.16.11.1 mechanism the enclosure management for sata controller 1 (device 31: function 2) involves sending messages that control leds in the enclosure. the messages for this function are stored after the normal registers in the ahci bar, at offset 580h bytes for the pch from the beginning of the ahci bar as specified by the em_loc global register ( section 14.4.1.8 ). software creates messages for transmission in the enclosure management message buffer. the data in the message buffer should not be changed if ctl.tm bit is set by software to transmit an update message. software should only update the message buffer when ctl.tm bit is cleared by hard ware otherwise the message transmitted will be indeterminate. software then writes a register to cause hardware to transmit the message or take appropriate action based on the message content. the software should only create message types supported by the controller, which is led messages for the pch. if the software creates other non led message types (such as, saf-te, ses-2), the sgpio interface may hang and the result is indeterminate.
functional description 208 datasheet during reset all sgpio pins will be in tri-stat e. the interface will continue to be in tri- state after reset until the first transmission occurs when software programs the message buffer and sets the transmit bit ctl.tm. the sata host controller will initiate the transmission by driving sclock and at the same time drive the sload to ?0? prior to the actual bit stream transmission. the host will drive sload low for at least 5 sclock then only start the bit stream by driving the sload to high. sload will be driven high for 1 sclock follow by vendor specific pattern that is default to ?0000? if software has yet to program the value. a total of 21-bit stream from 7 ports (port0, port1, port2, port3, port4 port5 and port6) of 3-bit per port led message will be transmitted on sdataout0 pin after the sload is driven high for 1 sclock. only 3 ports (port4, port5 and port6) of 9 bit total led message follow by 12 bits of tri-state value will be transmitted out on sdataout1 pin. all the default led message values will be high prior to software setting them, except the activity led message that is configured to be hardware driven that will be generated based on the activity from the re spective port. all the led message values will be driven to ?1? for the port that is unimplemented as indicated in the port implemented register regardless of the software programmed value through the message buffer. there are 2 different ways of resetting the pch?s sgpio interface, asynchronous reset and synchronous reset. asynchronous reset is caused by platform reset to cause the sgpio interface to be tri-state asynchronously. synchronous reset is caused by setting the ctl.reset bit, clearing the ghc.ae bi t or hba reset, where host controller will complete the existing full bit stream transmi ssion then only tri-state all the sgpio pins. after the reset, both synchronous and as ynchronous, the sgpio pins will stay tri- stated. note: the pch host controller does not ensure that it will cause the target sgpio device or controller to be reset. software is responsi ble to keep the pch sgpio interface in tri- state for 2 second to cause a reset on the target of the sgpio interface. 5.16.11.2 message format messages shall be constructed with a one dword header that describes the message to be sent followed by the actual message cont ents. the first dword shall be constructed as follows : bit description 31:28 reserved 27:24 message type (mtype): specifies the type of the message. the message types are: 0h = led 1h = saf-te 2h = ses-2 3h = sgpio (register based interface) all other values reserved 23:16 data size (dsize): specifies the data size in bytes. if the message (enclosure services command) has a data buffer that is associated with it that is transferred, the size of that data buffer is specified in this fi eld. if there is no separate data buffer, this field shall have a value of ?0?. the data directly follows the message in the message buffer. for the pch, this va lue should always be ?0?. 15:8 message size (msize): specifies the size of the message in bytes. the message size does not include the one dword header. a value of ?0? is invalid. for the pch, the message size is always 4 bytes. 7:0 reserved
datasheet 209 functional description the saf-te, ses-2, and sgpio message fo rmats are defined in the corresponding specifications, respectively. the led message type is defined in section 5.16.11.3 . it is the responsibility of software to ensure the content of the message format is correct. if the message type is not programmed as 'led' for this controller, the controller shall not take any action to update its leds. note that for led message type, the message size is always consisted of 4 bytes. 5.16.11.3 led message type the led message type specifies the status of up to three leds. typically, the usage for these leds is activity, fault, and locate. not all implementations necessarily contain all leds (for example, some implementations may not have a locate led). the message identifies the hba port number and the port multiplier port number that the slot status applies to. if a port multiplier is not in use with a particular device, the port multiplier port number shall be ?0?. the format of the led message type is defined in table 5-37 . the leds shall retain their values until there is a following update for that particular slot. table 5-37. multi-acti vity led message type byte description 3-2 value (val): this field describes the state of each led for a particular location. there are three leds that may be supported by th e hba. each led has 3 bits of control. led values are: 000b ? led shall be off 001b ? led shall be solid on as perceived by human eye all other values reserved the led bit locations are: bits 2:0 ? activity led (may be driven by hardware) bits 5:3 ? vendor specific led (such as, locate) bits 8:6 - vendor specific led (such as, fault) bits 15:9 ? reserved vendor specific message is: bit 3:0 ? vendor specific pattern bit 15:4 ? reserved note: if activity led hardware driven (attr.al hd) bit is set, host will output the hardware led value sampled internally and will ignore software written activity value on bit [2:0]. since the pch enclos ure management does not support port multiplier based led message, th e led message will be generated independently based on respective port?s operation activity. vendor specific led values locate (bits 5:3) and fault (bit s 8:6) always are driven by software. 1 port multiplier information: specifies slot specific in formation related to port multiplier. bits 3:0 specify the port mult iplier port number for the sl ot that requires the status update. if a port multiplier is not attached to the device in the affected slot, the port multiplier port number shall be '0'. bits 7:4 are reserved. the pch does not support led messages for device s behind a port multiplier . this byte should be 0. 0 hba information: specifies slot specific information related to the hba. bits 4:0 ? hba port number for the sl ot that requires the status update. bit 5 ? if set to '1', value is a vendor specific message that applies to the entire enclosure. if cleared to '0 ', value applies to the po rt specified in bits 4:0. bits 7:6 ? reserved
functional description 210 datasheet 5.16.11.4 sgpio waveform figure 5-9. serial data transm itted over the sgpio interface
datasheet 211 functional description 5.16.12 external sata the pch supports external sata. external sata uses the sata interface outside of the system box. the usage model for this feature must comply with the serial ata ii cables and connectors volume 2 gold specific ation at www.sata-io.org. intel validates two configurations: 1. the cable-up solution involves an internal sata cable that connects to the sata motherboard connector and spans to a back panel pci bracket with an esata connector. a separate esata cable is required to connect an esata device. 2. the back-panel solution involves running a trace to the i/o back panel and connecting a device using an external sata connector on the board. 5.17 high precision event timers this function provides a set of timers that can be used by the operating system. the timers are defined such that in the future, the operating system may be able to assign specific timers to used directly by specific applications. each timer can be configured to cause a separate interrupt. the pch provides eight timers. the timers are implemented as a single counter, each with its own comparator and value register. this counter increases monotonically. each individual timer can generate an interrupt wh en the value in its value register matches the value in the main counter. the registers associated with these timers are mapped to a memory space (much like the i/o apic). however, it is not implemen ted as a standard pci function. the bios reports to the operating system the location of the register space. the hardware can support an assignable decode space; however, the bios sets this space prior to handing it over to the operating system. it is not expected that the operating system will move the location of these timers once it is set by the bios. 5.17.1 timer accuracy 1. the timers are accurate over any 1 ms peri od to within 0.05% of the time specified in the timer resolution fields. 2. within any 100 microsecond period, the timer reports a time that is up to two ticks too early or too late. each tick is less than or equal to 100 ns, so this represents an error of less than 0.2%. 3. the timer is monotonic. it does not return the same value on two consecutive reads (unless the counter has rolled over and reached the same value). the main counter is clocked by the 14.3 1818 mhz clock, synchronized into the 66.666 mhz domain. this results in a non-uni form duty cycle on the synchronized clock, but does have the correct average period. the accuracy of the main counter is as accurate as the 14.31818 mhz clock.
functional description 212 datasheet 5.17.2 interrupt mapping mapping option #1 (legacy replacement option) in this case, the legacy replacement rout bit (leg_rt_cnf) is set. this forces the mapping found in table 5-38 . note: the legacy option does not pr eclude delivery of irq0/irq 8 using direct fsb interrupt messages. mapping option #2 (standard option) in this case, the legacy replacement rout bit (leg_rt_cnf) is 0. each timer has its own routing control. the interrupts can be routed to various interrupts in the 8259 or i/o apic. a capabilities field indicates which in terrupts are valid options for routing. if a timer is set for edge-triggered mode, the timers should not be share with any pci interrupts. for the pch, the only supported interrupt values are as follows: timer 0 and 1: irq20, 21, 22 & 23 (i/o apic only). timer 2: irq11 (8259 or i/o apic) and irq20, 21, 22 & 23 (i/o apic only). timer 3: irq12 (8259 or i/o apic) and irq 20, 21, 22 & 23 (i/o apic only). interrupts from timer 4, 5, 6, 7 can only be delivered using direct fsb interrupt messages. 5.17.3 periodic vs. no n-periodic modes non-periodic mode timer 0 is configurable to 32 (default) or 64-bit mode, whereas timers 1, 2 and 3 only support 32-bit mode (see section 20.1.5 ). all of the timers support non-periodic mode. see section 2.3.9.2.1 of the ia-pc hpet spec ification for a description of this mode. table 5-38. legacy replacement routing timer 8259 mapping apic mapping comment 0 irq0 irq2 in this case, the 8254 timer will not cause any interrupts 1 irq8 irq8 in this case, the rtc will not cause any interrupts. 2 & 3 per irq routing field. per irq routing field 4, 5, 6, 7 not available not available
datasheet 213 functional description periodic mode timer 0 is the only timer that supports pe riodic mode. see section 2.3.9.2.2 of the ia- pc hpet specification for a description of this mode. the following usage model is expected: 1. software clears the enable_cnf bit to prevent any interrupts. 2. software clears the main counter by writing a value of 00h to it. 3. software sets the timer0_val_set_cnf bit. 4. software writes the new value in the timer0_comparator_val register. 5. software sets the enable_cnf bit to enable interrupts. the timer 0 comparator value register cannot be programmed reliably by a single 64-bit write in a 32-bit environment except if only the periodic rate is being changed during run-time. if the actual timer 0 comparator value needs to be reinitialized, then the following software solution will always work regardless of the environment: 1. set timer0_val_set_cnf bit. 2. set the lower 32 bits of the timer0 comparator value register. 3. set timer0_val_set_cnf bit. 4. set the upper 32 bits of the timer0 comparator value register. 5.17.4 enabling the timers the bios or operating system pnp code shou ld route the interrupts. this includes the legacy rout bit, interrupt rout bit (for each timer), interrupt type (to select the edge or level type for each timer) the device driver code should do the following for an available timer: 1. set the overall enable bit (offset 10h, bit 0). 2. set the timer type field (selects one-shot or periodic). 3. set the interrupt enable. 4. set the comparator value. 5.17.5 interrupt levels interrupts directed to the internal 8259s are active high. see section 5.9 for information regarding the polarity programmin g of the i/o apic for detecting internal interrupts. if the interrupts are mapped to the 8259 or i/o apic and set for level-triggered mode, they can be shared with pci interrupts. they may be shared although it?s unlikely for the operating system to attempt to do this. if more than one timer is configured to share the same irq (using the timern_int_rout_cnf fields), then the software must configure the timers to level- triggered mode. edge-triggered interrupts cannot be shared.
functional description 214 datasheet 5.17.6 handling interrupts if each timer has a unique interrupt and the timer has been configured for edge- triggered mode, then there are no specific steps required. no read is required to process the interrupt. if a timer has been configured to level-tr iggered mode, then its interrupt must be cleared by the software. this is done by reading the interrupt status register and writing a 1 back to the bit position for the interrupt to be cleared. independent of the mode, software can read the value in the main counter to see how time has passed between when the interrupt was generated and when it was first serviced. if timer 0 is set up to generate a periodic interrupt, the software can check to see how much time remains until the next interrupt by checking the timer value register. 5.17.7 issues related to 64-bit timers with 32-bit processors a 32-bit timer can be read directly using processors that are capable of 32-bit or 64-bit instructions. however, a 32-bit processor may not be able to directly read 64-bit timer. a race condition comes up if a 32-bit proc essor reads the 64-bit register using two separate 32-bit reads. the danger is that ju st after reading one half, the other half rolls over and changes the first half. if a 32-bit processor needs to access a 64-bit timer, it must first halt the timer before reading both the upper and lower 32-bits of the timer. if a 32-bit processor does not want to halt the timer, it can use the 64-bit timer as a 32-bit timer by setting the timern_32mode_cnf bit. this causes the time r to behave as a 32-bit timer. the upper 32-bits are always 0. alternatively, software may do a multiple read of the counter while it is running. software can read the high 32 bits, then the low 32 bits, the high 32 bits again. if the high 32 bits have not changed between the two reads, then a rollover has not happened and the low 32 bits are valid. if the high 32 bits have changed between reads, then the multiple reads are re peated until a valid read is performed. note: on a 64-bit platform, if software attempts a 64 bit read of the 64-bit counter, software must be aware that some platforms may split the 64 bit read into two 32 bit reads. the read maybe inaccurate if the low 32 bits roll over between the high and low reads.
datasheet 215 functional description 5.18 usb ehci host contro llers (d29:f0 and d26:f0) the pch contains two enhanced host controller interface (ehci) host controllers which support up to fourteen usb 2.0 high-speed root ports. usb 2.0 allows data transfers up to 480 mb/s. usb 2.0 based debug port is also implemented in the pch. 5.18.1 ehc initialization the following descriptions step through th e expected pch enhanced host controller (ehc) initialization sequence in chronologica l order, beginning with a complete power cycle in which the suspend well and core well have been off. 5.18.1.1 bios initialization bios performs a number of platform customization steps after the core well has powered up. contact your intel field representative for additional pch bios information. 5.18.1.2 driver initialization see chapter 4 of the enhanced host controller interface specification for universal serial bus, revision 1.0. 5.18.1.3 ehc resets in addition to the standard pch hardware re sets, portions of the ehc are reset by the hcreset bit and the transition from the d3 hot device power management state to the d0 state. the effects of each of these resets are: if the detailed register descriptions give exceptions to these rules, those exceptions override these rules. this summary is provid ed to help explain the reasons for the reset policies. 5.18.2 data structur es in main memory see section 3 and appendix b of the enhanced host controller interface specification for universal serial bus, revision 1.0 for details. reset does reset does not reset comments hcreset bit set. memory space registers except structural parameters (which is written by bios). configuration registers. the hcreset must only affect registers that the ehci driver controls. pci configuration space and bios-programmed parameters can not be reset. software writes the device power state from d3 hot (11b) to d0 (00b). core well registers (except bios- programmed registers). suspend well registers; bios- programmed core well registers. the d3-to-d0 transition must not cause wake information (suspend well) to be lost. it also must not clear bios- programmed registers because bios may not be invoked following the d3-to-d0 transition.
functional description 216 datasheet 5.18.3 usb 2.0 enhanced host controller dma the pch usb 2.0 ehc implements three sources of usb packets. they are, in order of priority on usb during each microframe: 1. the usb 2.0 debug port (see section usb 2.0 based debug port ), 2. the periodic dma engine, and 3. the asynchronous dma engine. the pch always performs any currently-pending debug port transaction at the beginning of a microframe, followed by any pending periodic traffic for the current microframe. if there is time left in the mi croframe, then the ehc performs any pending asynchronous traffic until the end of the microframe (eof1). note that the debug port traffic is only presented on port #1 and port #9, while the other ports are idle during this time. 5.18.4 data encoding and bit stuffing see chapter 8 of the universal serial bus specification, revision 2.0. 5.18.5 packet formats see chapter 8 of the universal serial bus specification, revision 2.0 . the pch ehci allows entrance to usb test modes, as defined in the usb 2.0 specification, including test j, test packet, etc. however note that the pch test packet test mode interpacket gap timing ma y not meet the usb 2.0 specification. 5.18.6 usb 2.0 interrupts and error conditions section 4 of the enhanced host controller interface specification for universal serial bus, revision 1.0 goes into detail on the ehc interru pts and the error conditions that cause them. all error conditions that the eh c detects can be reported through the ehci interrupt status bits. only pch-specific interrupt and error-reporting behavior is documented in this section. the ehci interru pts section must be read first, followed by this section of the datasheet to fully comp rehend the ehc interrupt and error-reporting functionality. ? based on the ehc buffer sizes and buffe r management policies, the data buffer error can never occur on the pch. ? master abort and target abort responses fr om hub interface on ehc-initiated read packets will be treated as fatal host errors. the ehc halts when these conditions are encountered. ? the pch may assert the interrupts which are based on the interrupt threshold as soon as the status for the last complete transaction in the interrupt interval has been posted in the internal writ e buffers. the requirement in the enhanced host controller interface specification for universal serial bus, revision 1.0 (that the status is written to memory) is met internally, even though the write may not be seen on dmi before the interrupt is asserted. ? since the pch supports the 1024-element frame list size, the frame list rollover interrupt occurs every 1024 milliseconds. ? the pch delivers interrupts using pirqh#. ? the pch does not modify the cerr count on an interrupt in when the ?do complete-split? execution criteria are not met. ? for complete-split transactions in the peri odic list, the ?missed microframe? bit does not get set on a control-structure-fetch that fails the late-start test. if subsequent accesses to that control structure do not fail the late-start test, then the ?missed microframe? bit will get set and written back.
datasheet 217 functional description 5.18.6.1 aborts on usb 2. 0-initiated memory reads if a read initiated by the ehc is aborted, th e ehc treats it as a fatal host error. the following actions are taken when this occurs: ? the host system error status bit is set. ? the dma engines are halted after completi ng up to one more transaction on the usb interface. ? if enabled (by the host system error enable), then an interrupt is generated. ? if the status is master abort, then the received master abort bit in configuration space is set. ? if the status is target abort, then the received target abort bit in configuration space is set. ? if enabled (by the serr enable bit in the function?s configuration space), then the signaled system error bit in configuration bit is set. 5.18.7 usb 2.0 power management 5.18.7.1 pause feature this feature allows platforms to dynamically enter low-power states during brief periods when the system is idle (that is, between keystrokes). this is useful for enabling power management features in the pc h. the policies for entering these states typically are based on the recent history of system bus activity to incrementally enter deeper power management states. normally, when the ehc is enabled, it regularly accesses main memory while traversing the dm a schedules looking for work to do; this activity is viewed by the power management software as a non-idle system, thus preventing the power managed states to be entered. suspending all of the enabled ports can prevent the memory accesses from occurring, but there is an inherent latency overhead with entering and exiting the suspended state on the usb ports that makes this unacceptable for the purpose of dynamic power management. as a result, the ehci software drivers are allowed to pause the ehc dma engines when it knows that the traffic patterns of the attached devices can afford the delay. the pause only prevents the ehc from generating memory accesses; the sof packets continue to be generated on the usb ports (unlike the suspended state). 5.18.7.2 suspend feature the enhanced host controller interface (ehci) for universal serial bus specification , section 4.3 describes the details of port suspend and resume.
functional description 218 datasheet 5.18.7.3 acpi device states the usb 2.0 function only supports the d0 and d3 pci power management states. notes regarding the pch implementation of the device states: 1. the ehc hardware does not inherently consume any more power when it is in the d0 state than it does in the d3 state. however, software is required to suspend or disable all ports prior to entering the d3 state such that the maximum power consumption is reduced. 2. in the d0 state, all implemented ehc features are enabled. 3. in the d3 state, accesses to the ehc me mory-mapped i/o range will master abort. note that, since the debug port uses the same memory range, the debug port is only operational when the ehc is in the d0 state. 4. in the d3 state, the ehc interrupt must never assert for any reason. the internal pme# signal is used to signal wake events, etc. 5. when the device power state field is wri tten to d0 from d3, an internal reset is generated. see section ehc resets for gene ral rules on the effects of this reset. 6. attempts to write any other value into the device power state field other than 00b (d0 state) and 11b (d3 state) will complete normally without changing the current value in this field. 5.18.7.4 acpi system states the ehc behavior as it relates to other power management states in the system is summarized in the following list: ? the system is always in the s0 state when the ehc is in the d0 state. however, when the ehc is in the d3 state, the system may be in any power management state (including s0). ? when in d0, the pause feature (see section 5.18.7.1 ) enables dynamic processor low-power states to be entered. ? the pll in the ehc is disabled when entering the s3/s4/s5 states (core power turns off). ? all core well logic is reset in the s3/s4/s5 states. 5.18.8 usb 2.0 legacy keyboard operation the pch must support the possibility of a keyboard downstream from either a full- speed/low-speed or a high-speed port. the description of the legacy keyboard support is unchanged from usb 1.1. the ehc provides the basic ability to generate smis on an interrupt event, along with more sophisticated control of the generation of smis.
datasheet 219 functional description 5.18.9 usb 2.0 based debug port the pch supports the elimination of the lega cy com ports by providing the ability for new debugger software to interact with devices on a usb 2.0 port. high-level restrictions and features are: ? operational before usb 2.0 drivers are loaded. ? functions even when the port is disabled. ? allows normal system usb 2.0 traffic in a system that may only have one usb port. ? debug port device (dpd) must be high-speed capable and connect directly to port 1 and port 9 on pch-based systems (such as, the dpd cannot be connected to port 1/port 9 through a hub. when a dpd is detected the pch ehci will bypass the integrated rate matching hub and connect directly to the port and the dpd.). ? debug port fifo always makes forward progress (a bad status on usb is simply presented back to software). ? the debug port fifo is only given one usb access per microframe. the debug port facilitates operating system and device driver debug. it allows the software to communicate with an external console using a usb 2.0 connection. because the interface to this link does not go through the normal usb 2.0 stack, it allows communication with the external console during cases where the operating system is not loaded, the usb 2.0 software is broken, or where the usb 2.0 software is being debugged. specific features of th is implementation of a debug port are: ? only works with an external usb 2.0 debug device (console). ? implemented for a specific port on the host controller. ? operational anytime the port is not susp ended and the host controller is in d0 power state. ? capability is interrupted when port is driving usb reset. 5.18.9.1 theory of operation there are two operational modes for the usb debug port: 1. mode 1 is when the usb port is in a disa bled state from the viewpoint of a standard host controller driver. in mode 1, the debug port controller is required to generate a ?keepalive? packets less than 2 ms apart to keep the attached debug device from suspending. the keepalive packet should be a standalone 32-bit sync field. 2. mode 2 is when the host controller is running (that is, host controller?s run/stop# bit is 1). in mode 2, the normal transm ission of sof packets will keep the debug device from suspending. behavioral rules 1. in both modes 1 and 2, the debug port controller must check for software requested debug transactions at least every 125 microseconds. 2. if the debug port is enabled by the debug driver, and the standard host controller driver resets the usb port, usb debug transactions are held off for the duration of the reset and until after the first sof is sent. 3. if the standard host controller driver suspends the usb port, then usb debug transactions are held off for the duration of the suspend/resume sequence and until after the first sof is sent. 4. the enabled_cnt bit in the debug register space is independent of the similar port control bit in the associated port status and control register.
functional description 220 datasheet table 5-39 shows the debug port behavior relate d to the state of bits in the debug registers as well as bits in the associated port status and control register. table 5-39. debug port behavior owner_cnt enabled_ct port enable run / stop suspend debug port behavior 0xxxx debug port is not being used. normal operation. 10xxx debug port is not being used. normal operation. 1100x debug port in mode 1. sync keepalives sent plus debug traffic 1101x debug port in mode 2. sof (and only sof) is sent as keepalive. debug traffic is also sent. note that no other normal traffic is sent out this port, because the port is not enabled. 11100 invalid. host controller driver should never put controller into this state (enabled, not running and not suspended). 11101 port is suspended. no debug traffic sent. 11110 debug port in mode 2. debug traffic is interspersed with normal traffic. 11111 port is suspended. no debug traffic sent.
datasheet 221 functional description 5.18.9.1.1 out transactions an out transaction sends data to the debug device. it can occur only when the following are true: ? the debug port is enabled ? the debug software sets the go_cnt bit ? the write_read#_cnt bit is set the sequence of the transaction is: 1. software sets the appropriate values in the following bits: ?usb_address_cnf ?usb_endpoint_cnf ? data_buffer[63:0] ? token_pid_cnt[7:0] ? send_pid_cnt[15:8] ?data_len_cnt ? write_read#_cnt: (note: this will always be 1 for out transactions) ? go_cnt: (note: this will always be 1 to initiate the transaction) 2. the debug port controller sends a token packet consisting of: ?sync ? token_pid_cnt field ? usb_address_cnt field ?usb_endpoint_cnt field ? 5-bit crc field 3. after sending the token packet, the debug port controller sends a data packet consisting of: ?sync ? send_pid_cnt field ? the number of data bytes indicated in data_len_cnt from the data_buffer ? 16-bit crc note: a data_len_cnt value of 0 is valid in which case no data bytes would be included in the packet. 4. after sending the data packet, the controller waits for a handshake response from the debug device: ? if a handshake is received, the debug port controller: a. places the received pid in the received_pid_sts field b. resets the error_good#_sts bit c. sets the done_sts bit ? if no handshake pid is received, the debug port controller: a. sets the exception_sts field to 001b b. sets the error_good#_sts bit c. sets the done_sts bit
functional description 222 datasheet 5.18.9.1.2 in transactions an in transaction receives data from the debug device. it can occur only when the following are true: ? the debug port is enabled ? the debug software sets the go_cnt bit ? the write_read#_cnt bit is reset the sequence of the transaction is: 1. software sets the appropriate values in the following bits: ? usb_address_cnf ?usb_endpoint_cnf ? token_pid_cnt[7:0] ?data_len_cnt ? write_read#_cnt: (note: this will always be 0 for in transactions) ? go_cnt: (note: this will always be 1 to initiate the transaction) 2. the debug port controller sends a token packet consisting of: ?sync ? token_pid_cnt field ? usb_address_cnt field ? usb_endpoint_cnt field ? 5-bit crc field. 3. after sending the token packet, the debug port controller waits for a response from the debug device. if a response is received: ? the received pid is placed into the received_pid_sts field ? any subsequent bytes are placed into the data_buffer ? the data_len_cnt field is updated to show the number of bytes that were received after the pid. 4. if a valid packet was received from th e device that was on e byte in length (indicating it was a handshake packet), then the debug port controller: ? resets the error_good#_sts bit ? sets the done_sts bit 5. if a valid packet was received from the device that was more than one byte in length (indicating it was a data pack et), then the debug port controller: ? transmits an ack handshake packet ? resets the error_good#_sts bit ? sets the done_sts bit 6. if no valid packet is received, then the debug port controller: ? sets the exception_sts field to 001b ? sets the error_good#_sts bit ? sets the done_sts bit.
datasheet 223 functional description 5.18.9.1.3 debug software enabling the debug port there are two mutually exclusive conditions that debug software must address as part of its startup processing: ? the ehci has been initialized by system software ? the ehci has not been initialized by system software debug software can determine the current ?ini tialized? state of the ehci by examining the configure flag in the ehci usb 2.0 command register. if this flag is set, then system software has initialized the ehci. othe rwise, the ehci should not be considered initialized. debug software will initialize th e debug port registers depending on the state of the ehci. however, before this can be accomplished, debug software must determine which root usb port is designated as the debug port. determining the debug port debug software can easily determine which us b root port has been designated as the debug port by examining bits 20:23 of the ehci host controller structural parameters register. this 4-bit field represents the numeric value assigned to the debug port (that is, 0001=port 1). debug software startup with non-initialized ehci debug software can attempt to use the debug port if after setting the owner_cnt bit, the current connect status bit in the appropriate (see determining the debug port presence ) portsc register is set. if the current connect status bit is not set, then debug software may choose to terminate or it may choose to wait until a device is connected. if a device is connected to the port, then debug software must reset/enable the port. debug software does this by setting and then clearing the port reset bit the portsc register. to ensure a successful reset, debug software should wait at least 50 ms before clearing the port reset bit. due to possible delays, this bit may not change to 0 immediately; reset is complete when this bi t reads as 0. software must not continue until this bit reads 0. if a high-speed device is attached, the eh ci will automatically set the port enabled/ disabled bit in the portsc register and the debug software can proceed. debug software should set the enabled_cnt bit in the debug port control/status register, and then reset (clear) the port enabled/disabl ed bit in the portsc register (so that the system host controller driver does not see an enabled port when it is first loaded). debug software startup with initialized ehci debug software can attempt to use the debug port if the current connect status bit in the appropriate (see determining the debug port) portsc register is set. if the current connect status bit is not set, then debug software may choose to terminate or it may choose to wait until a device is connected. if a device is connected, then debug software must set the owner_cnt bit and then the enabled_cnt bit in the debug port control/status register. determining debug peripheral presence after enabling the debug port functionality, debug software can determine if a debug peripheral is attached by attempting to send data to the debug peripheral. if all attempts result in an error (exception bits in the debug port control/status register indicates a transaction error), then the attached device is not a debug peripheral. if the debug port peripheral is not present, then debug software may choose to terminate or it may choose to wait until a debug peripheral is connected.
functional description 224 datasheet 5.18.10 ehci caching ehci caching is a power management feature in the usb (ehci) host controllers which enables the controller to execute the schedul es entirely in cache and eliminates the need for the dma engine to access memory when the schedule is idle. ehci caching allows the processor to maintain longer c-state residency times and provides substantial system power savings. 5.18.11 usb pre-fetch based pause the pre-fetch based pause is a power management feature in usb (ehci) host controllers to ensure maximum c3/c4 processor power state time with c2 popup. this feature applies to the period schedule, and works by allowing the dma engine to identify periods of idleness and preventing the dma engine from accessing memory when the periodic schedule is idle. typically in the presence of periodic devices with multiple millisecond poll periods, the periodic schedule will be idle for several frames between polls. the usb pre-fetch based pause feature is disabled by setting bit 4 of ehci configuration register section 16.2.1 . 5.18.12 function level reset support (flr) the usb ehci controllers support the functi on level reset (flr) capability. the flr capability can be used in conjunction with intel ? virtualization technology. flr allows an operating system in a virtual machine to have complete control over a device, including its initialization, without interferin g with the rest of the platform. the device provides a software interface that enables the operating system to reset the whole device as if a pci reset was asserted. 5.18.12.1 flr steps 5.18.12.1.1 flr initialization 1. a flr is initiated by software writing a ?1? to the initiate flr bit. 2. all subsequent requests targeting the function will not be claimed and will be master abort immediate on the bus. this includes any configuration, i/o or memory cycles, however, the function shall continue to accept completions targeting the function. 5.18.12.1.2 flr operation the function will reset all configuration, i/o and memory registers of the function except those indicated otherwise and reset a ll internal states of the function to the default or initial condition. 5.18.12.1.3 flr completion the initiate flr bit is reset (cleared) when the flr reset is comple ted. this bit can be used to indicate to the software that the flr reset is completed. note: from the time initiate flr bit is written to 1, software must wait at least 100 ms before accessing the function.
datasheet 225 functional description 5.18.13 usb overcurrent protection the pch has implemented programmable usb overcurrent signals. the pch provides a total of 8 overcurrent pins to be shared across the 14 ports. four overcurrent signals have been allocated to the ports in each usb device: ? oc[3:0]# for device 29 (ports 0-7) ? oc[7:4]# for device 26 (ports 8-13) each pin is mapped to one or more ports by setting bits in the usbocm1 and usbocm2 registers.see section 10.1.68 and section 10.1.69 . it is system bios? responsibility to ensure that each port is mapped to only one over current pin. operation with more than one overcurrent pin mapped to a port is undefined. it is expected that multiple ports are mapped to a single overcurrent pin, however they should be connected at the port and not at the pch pin. shorting thes e pins together may lead to reduced test capabilities. by default, two ports are routed to each of the oc[6:0]# pins. oc7# is not used by default. notes: 1. all usb ports routed out of the package must have overcurrent protection. it is system bios responsibility to ensure all used ports have oc protection. 2. usb ports that are unused on the system (not routed out from the package) should not have oc pins assigned to them.
functional description 226 datasheet 5.19 integrated usb 2.0 rate matching hub 5.19.1 overview the pch has integrated two usb 2.0 rate ma tching hubs (rmh). one hub is connected to each of the ehci controllers as shown in the figure below. the hubs convert low and full-speed traffic into high-speed traffic. wh en the rmhs are enabled, they will appear to software like an external hub is connected to port 0 of each ehci controller. in addition, port 1 of each of the rmhs is muxed with port 1 of the ehci controllers and is able to bypass the rmh for use as the debug port. the hub operates like any usb 2.0 discret e hub and will consume one tier of hubs allowed by the usb 2.0 spec. section 4.1.1. a maximum of four additional non-root hubs can be supported on any of the pch us b ports. the rmh will report the following vendor id = 8087h and product id = 0020h. 5.19.2 architecture a hub consists of three components: the hub repeater, the hub controller, and the transaction translator. 1. the hub repeater is responsible for connectivity setup and tear-down. it also supports exception handling, such as bus fault detection and recovery and connect/ disconnect detect. 2. the hub controller provides the mechanism for host-to-hub communication. hub- specific status and control commands perm it the host to configure a hub and to monitor and control its individual downstream facing ports. 3. the transaction translator (tt) responds to high-speed split transactions and translates them to full-/low-speed tran sactions with full-/low-speed devices attached on downstream facing ports. there is 1 tt per rmh in the pch. see chapter 11 of the usb 2.0 specification for more details on the architecture of the hubs. figure 5-10. ehci with usb 2.0 with rate matching hub
datasheet 227 functional description 5.20 smbus controller (d31:f3) the pch provides an system management bu s (smbus) 2.0 host controller as well as an smbus slave interface. the host controller provides a mechanism for the processor to initiate communications with smbus peripherals (slaves). the pch is also capable of operating in a mode in which it can communicate with i 2 c compatible devices. the pch can perform smbus messages with either packet error checking (pec) enabled or disabled. the actual pec calculation and checking is performed in hardware by the pch. the slave interface allows an external master to read from or write to the pch. write cycles can be used to cause certain events or pass messages, and the read cycles can be used to determine the state of various status bits. the pch?s internal host controller cannot access the pch?s internal slave interface. the pch smbus logic exists in device 31:func tion 3 configuration space, and consists of a transmit data path, and host controller. the transmit data path provides the data flow logic needed to implement the seven different smbus command protocols and is controlled by the host controller. the pch?s smbus controller logic is clocked by rtc clock. the smbus address resolution protocol (arp) is supported by using the existing host controller commands through software, except for the new host notify command (which is actually a received message). the programming model of the host controlle r is combined into two portions: a pci configuration portion, and a system i/o mapped portion. all static configuration, such as the i/o base address, is done usin g the pci configuration space. real-time programming of the host interface is done in system i/o space. the pch smbus host controller checks for parity errors as a target. if an error is detected, the detected parity error bit in the pci status register (device 31:function 3:offset 06h:bit 15) is set. if bit 6 and bit 8 of the pci command register (device 31:function 3:offset 04h) are set, an serr# is generated and the signaled serr# bit in the pci status register (bit 14) is set. 5.20.1 host controller the smbus host controller is used to send commands to other smbus slave devices. software sets up the host controller with an address, command, and, for writes, data and optional pec; and then tells the controlle r to start. when the controller has finished transmitting data on writes, or receiving data on reads, it generates an smi# or interrupt, if enabled. the host controller supports 8 command protocols of the smbus interface (see system management bus (smbus) specification, version 2.0 ): quick command, send byte, receive byte, write byte/word, read byte/word, process call, block read/write, block write?block read process call, and host notify. the smbus host controller requires that the various data and command fields be setup for the type of command to be sent. when so ftware sets the start bit, the smbus host controller performs the requested transa ction, and interrupts the processor (or generates an smi#) when the transaction is completed. once a start command has been issued, the values of the ?active re gisters? (host control, host command, transmit slave address, data 0, data 1) should not be changed or read until the interrupt status message (intr) has been set (indicating the completion of the command). any register values needed for co mputation purposes should be saved prior to issuing of a new command, as the smbus host controller updates all registers while completing the new command.
functional description 228 datasheet the pch supports the system management bus (smbus) specification, version 2.0 . slave functionality, including the host notify protocol, is available on the smbus pins. the smlink and smbus signals can be tied to gether externally depending on tco mode used. see section 5.14.2 for more details. using the smb host controller to send commands to the pch smb slave port is not supported. 5.20.1.1 command protocols in all of the following commands, the host status register (offset 00h) is used to determine the progress of the command. wh ile the command is in operation, the host_busy bit is set. if the command completes successfully, the intr bit will be set in the host status register. if the device does not respond with an acknowledge, and the transaction times out, the dev_err bit is set. if software sets the kill bit in the host control register while the command is running, the transaction will stop and the failed bit will be set. quick command when programmed for a quick command, the transmit slave address register is sent. the pec byte is never append ed to the quick protocol. software should force the pec_en bit to 0 when performing the quick command. software must force the i2c_en bit to 0 when running this command. see section 5.5.1 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. send byte / receive byte for the send byte command, the transmit slave address and device command registers are sent. for the receive byte command, the transmit slave address register is sent. the data received is stored in the data0 register. software must force the i2c_en bit to 0 when running this command. the receive byte is similar to a send byte, the only difference is the direction of data transfer. see sections 5.5.2 and 5.5.3 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. write byte/word the first byte of a write byte/word access is the command code. the next 1 or 2 bytes are the data to be written. when programmed for a write byte/word command, the transmit slave address, device command, and data0 registers are sent. in addition, the data1 register is sent on a write word command. software must force the i2c_en bit to 0 when running this comm and. see section 5.5.4 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. read byte/word reading data is slightly more complicated th an writing data. first the pch must write a command to the slave device. then it must follow that command with a repeated start condition to denote a read from that device 's address. the slave then returns 1 or 2 bytes of data. software must force the i2c_en bit to 0 when running this command. when programmed for the read byte/word command, the transmit slave address and device command registers are sent. data is received into the data0 on the read byte, and the dat0 and data1 registers on th e read word. see section 5.5.5 of the system management bus (smbus) specification, version 2.0 for the format of the protocol.
datasheet 229 functional description process call the process call is so named because a command sends data and waits for the slave to return a value dependent on that data. the pr otocol is simply a write word followed by a read word, but without a second command or stop condition. when programmed for the process call command, the pch transmits the transmit slave address, host command, data0 and data1 registers. data received from the device is stored in the data0 and data1 registers. the process call command with i2c_en set and the pec_en bit set produces undefined results. software must force either i2c_en or pec_en to 0 when runnin g this command. see section 5.5.6 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. note: for process call command, the value written into bit 0 of the transmit slave address register (smb i/o register, offset 04h) needs to be 0. note: if the i2c_en bit is set, the protocol sequence changes slightly: the command code (bits 18:11 in the bit sequence) are not sent - as a result, the slave will not acknowledge (bit 19 in the sequence). block read/write the pch contains a 32-byte buffer for read and write data which can be enabled by setting bit 1 of the auxiliary control register at offset 0dh in i/o space, as opposed to a single byte of buffering. this 32-byte buffer is filled with write data before transmission, and filled with read data on reception. in the pch, the interrupt is generated only after a transmission or recept ion of 32 bytes, or when the entire byte count has been transmitted/received. note: when operating in i 2 c mode (i2c_en bit is set), the pch will never use the 32-byte buffer for any block commands. the byte count field is transmitted but ignored by the pch as software will end the transfer after all bytes it cares about have been sent or received. for a block write, software must either force the i2c_en bit or both the pec_en and aac bits to 0 when running this command. the block write begins with a slave addre ss and a write condition. after the command code the pch issues a byte count describin g how many more bytes will follow in the message. if a slave had 20 bytes to send, th e first byte would be the number 20 (14h), followed by 20 bytes of data. the byte count may not be 0. a block read or write is allowed to transfer a maximum of 32 data bytes. when programmed for a block write command, the transmit slave address, device command, and data0 (count) registers are sent. data is then sent from the block data byte register; the total data sent being the value stored in the data0 register. on block read commands, the first byte received is stored in the data0 register, and the remaining bytes are stored in the block data byte register. see section 5.5.7 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. note: for block write, if the i2c_en bit is set, the format of the command changes slightly. the pch will still send the number of bytes (o n writes) or receive the number of bytes (on reads) indicated in the data0 register. however, it will not send the contents of the data0 register as part of the message. also, the block write protocol sequence changes slightly: the byte count (bits 27:20 in the bit sequence) are not sent - as a result, the slave will not acknowledge (bit 28 in the sequence).
functional description 230 datasheet i 2 c read this command allows the pch to perform block reads to certain i 2 c devices, such as serial e 2 proms. the smbus block read supports the 7-bit addressing mode only. however, this does not allow access to devices using the i 2 c ?combined format? that has data bytes after the address. typically these data bytes correspond to an offset (address) within the serial memory chips. note: this command is supported independent of the setting of the i2c_en bit. the i 2 c read command with the pec_en bit set produces undefined results. software must force both the pec_en and aac bit to 0 when running this command. for i 2 c read command, the value written into bit 0 of the transmit slave address register (smb i/o register, offset 04h) needs to be 0. the format that is used for the command is shown in table 5-40 . the pch will continue reading data from the peripheral until the nak is received. table 5-40. i 2 c block read bit description 1start 8:2 slave address?7 bits 9write 10 acknowledge from slave 18:11 send data1 register 19 acknowledge from slave 20 repeated start 27:21 slave address?7 bits 28 read 29 acknowledge from slave 37:30 data byte 1 from slave?8 bits 38 acknowledge 46:39 data byte 2 from slave?8 bits 47 acknowledge ? data bytes from slave / acknowledge ? data byte n from slave?8 bits ? not acknowledge ?stop
datasheet 231 functional description block write?block read process call the block write-block read process call is a two-part message. the call begins with a slave address and a write condition. after the command code the host issues a write byte count (m) that describes how many more bytes will be written in the first part of the message. if a master has 6 bytes to send, the byte count field will have the value 6 (0000 0110b), followed by the 6 bytes of data. the write byte count (m) cannot be 0. the second part of the message is a block of read data beginning with a repeated start condition followed by the slave address and a re ad bit. the next byte is the read byte count (n), which may differ from the write byte count (m). the read byte count (n) cannot be 0. the combined data payload must not exceed 32 bytes. the byte leng th restrictions of this process call are summarized as follows: ?m 1 byte ?n 1 byte ?m + n 32 bytes the read byte count does not include the pe c byte. the pec is computed on the total message beginning with the first slav e address and using the normal pec computational rules. it is highly recommende d that a pec byte be used with the block write-block read process call. software mu st do a read to the command register (offset 2h) to reset the 32 byte buffer pointe r prior to reading the block data register. note that there is no stop condition before the repeated start condition, and that a nack signifies the end of the read transfer. note: e32b bit in the auxiliary control register must be set when using this protocol. see section 5.5.8 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. 5.20.2 bus arbitration several masters may attempt to get on the bus at the same time by driving the smbdata line low to signal a start condit ion. the pch continuously monitors the smbdata line. when the pch is attempting to drive the bus to a 1 by letting go of the smbdata line, and it samples smbdata low, th en some other master is driving the bus and the pch will stop transferring data. if the pch sees that it has lost arbitration, the condition is called a collision. the pch will set the bus_err bit in the host status register, and if enabled, generate an interrupt or smi#. the processor is responsible for restarting the transaction. when the pch is a smbus master, it drives the clock. when the pch is sending address or command as an smbus master, or data bytes as a master on writes, it drives data relative to the clock it is also driving. it will not start toggling the clock until the start or stop condition meets proper setup and hold time. the pch will also ensure minimum time between smbus transactions as a master. note: the pch supports the same arbitration prot ocol for both the smbus and the system management (smlink) interfaces.
functional description 232 datasheet 5.20.3 bus timing 5.20.3.1 clock stretching some devices may not be able to handle thei r clock toggling at the rate that the pch as an smbus master would like. they have the ca pability of stretching the low time of the clock. when the pch attempts to release the clock (allowing the clock to go high), the clock will remain low for an extended period of time. the pch monitors the smbus clock line after it releases the bus to determine whether to enable the counter for the high time of the clock. while the bus is still low, the high time counter must not be enabled. simila rly, the low period of the clock can be stretched by an smbus master if it is not ready to send or receive data. 5.20.3.2 bus time out (the pch as smbus master) if there is an error in the transaction, such that an smbus device does not signal an acknowledge, or holds the clock lower than the allowed time-out time, the transaction will time out. the pch will discard the cycl e and set the dev_err bit. the time out minimum is 25 ms (800 rtc clocks). the time-out counter inside the pch will start after the last bit of data is transferred by the pch and it is waiting for a response. the 25 ms timeout counter will not co unt under the following conditions: 1. byte_done_status bit (smbus i/o offset 00h, bit 7) is set 2. the second_to_sts bit (tco i/o offset 06h, bit 1) is not set (this indicates that the system has not locked up). 5.20.4 interrupts / smi# the pch smbus controller uses pirqb# as its interrupt pin. however, the system can alternatively be set up to generate smi# instead of an interrupt, by setting the smbus_smi_en bit (device 31:function 0:offset 40h:bit 1). table 5-42 and table 5-43 specify how the various enable bits in the smbus function control the generation of the interrupt, host and slave smi, and wake internal signals. the rows in the tables are additive, which means that if more than one row is true for a particular scenario then the results for all of the activated rows will occur. table 5-41. enable for smbalert# event intren (host control i/o register, offset 02h, bit 0) smb_smi_en (host configuration register, d31:f3:offset 40h, bit 1) smbalert_dis (slave command i/o register, offset 11h, bit 2) result smbalert# asserted low (always reported in host status register, bit 5) xx xwake generated x1 0 slave smi# generated (smbus_smi_sts) 10 0 interrupt generated
datasheet 233 functional description 5.20.5 smbalert# smbalert# is multiplexed with gpio[11]. when enable and the signal is asserted, the pch can generate an interrupt, an smi#, or a wake event from s1?s5. 5.20.6 smbus crc generation and checking if the aac bit is set in the auxiliary contro l register, the pch automatically calculates and drives crc at the end of the transmitted packet for write cycles, and will check the crc for read cycles. it will not transmit the contents of the pec register for crc. the pec bit must not be set in the host control register if this bit is set, or unspecified behavior will result. if the read cycle results in a crc error, the dev_err bit and the crce bit in the auxiliary status register at offset 0ch will be set. table 5-42. enables for smbus slave write and smbus host events event intren (host control i/o register, offset 02h, bit 0) smb_smi_en (host configuration register, d31:f3:offset 40h, bit1) event slave write to wake/ smi# command xx wake generated when asleep. slave smi# generated when awake (smbus_smi_sts). slave write to smlink_slave_smi command xx slave smi# generated when in the s0 state (smbus_smi_sts) any combination of host status register [4:1] asserted 0xnone 1 0 interrupt generated 11host smi# generated table 5-43. enables for the host notify command host_notify_intren (slave control i/o register, offset 11h, bit 0) smb_smi_en (host config register, d31:f3:off40h, bit 1) host_notify_wken (slave control i/o register, offset 11h, bit 1) result 0x0none xx1wake generated 1 0 x interrupt generated 11x slave smi# generated (smbus_smi_sts)
functional description 234 datasheet 5.20.7 smbus slave interface the pch smbus slave interface is accessed us ing the smbus. the smbus slave logic will not generate or handle receiving the pec by te and will only act as a legacy alerting protocol device. the slave interface allows the pch to decode cycles, and allows an external microcontroller to perform specif ic actions. key features and capabilities include: ? supports decode of three types of messages: byte write, byte read, and host notify. ? receive slave address register: this is th e address that the pch decodes. a default value is provided so that the slave interface can be used without the processor having to program this register. ? receive slave data register in the smbus i/o space that includes the data written by the external microcontroller. ? registers that the external microcontroller can read to get the state of the pch. ? status bits to indicate that the smbus sl ave logic caused an interrupt or smi# due to the reception of a message that matched the slave address. ? bit 0 of the slave status register for the host notify command ? bit 16 of the smi status register ( section 13.8.3.9 ) for all others note: the external microcontroller should not a ttempt to access the pch smbus slave logic until either: ? 800 milliseconds after both: rtcrst# is high and rsmrst# is high, or ? the pltrst# de-asserts if a master leaves the clock and data bits of the smbus interface at 1 for 50 s or more in the middle of a cycle, the pch slave logic' s behavior is undefined. this is interpreted as an unexpected idle and should be avoided when performing management activities to the slave logic. note: when an external microcontroller accesses the smbus slave interface over the smbus a translation in the address is needed to accommodate the least significant bit used for read/write control. for example, if the pc h slave address (rcv_slva) is left at 44h (default), the external micro controller woul d use an address of 88h/89h (write/read). 5.20.7.1 format of slave write cycle the external master performs byte write commands to the pch smbus slave i/f. the ?command? field (bits 11:18) indicate which register is being accessed. the data field (bits 20:27) indicate the value that should be written to that register. table 5-44 has the values associated with the registers. table 5-44. slave write registers (sheet 1 of 2) register function 0 command register. see table 5-45 below for legal values written to this register. 1?3 reserved 4 data message byte 0 5 data message byte 1
datasheet 235 functional description note: the external microcontroller is responsible to make sure th at it does not update the contents of the data byte registers until they have been read by the system processor. the pch overwrites the old value with any new value received. a race condition is possible where the new value is being writ ten to the register just at th e time it is being read. the pch will not attempt to cover this race condition (that is, unpredictable results in this case). . 6?7 reserved 8 reserved 9?ffh reserved table 5-44. slave write registers (sheet 2 of 2) register function table 5-45. command types command type description 0 reserved 1 wake/smi#. this command wakes the system if it is not already awake. if system is already awake, an smi# is generated. note: the smb_wak_sts bit will be set by th is command, even if the system is already awake. the smi handler should then clear this bit. 2 unconditional powerdown. this command sets the pwrbtnor_sts bit, and has the same effect as the po werbutton override occurring. 3 hard reset without cycling: this command causes a hard reset of the system (does not include cycling of the powe r supply). this is equivalent to a write to the cf9h register with bits 2:1 set to 1, but bit 3 set to 0. 4 hard reset system. this command causes a ha rd reset of the system (including cycling of the power supply). this is equivalent to a write to the cf9h register with bits 3:1 set to 1. 5 disable the tco messages. this command will disable the pch from sending heartbeat and event messages (as described in section 5.14 ). once this command has been executed, heartbeat and event message reporting can only be re- enabled by assertion and de-ass ertion of the rsmrst# signal. 6 wd reload: reload watchdog timer. 7 reserved 8 smlink_slv_smi. when the pch detects this command type while in the s0 state, it sets the smlink_slv_smi_sts bit (see section 13.9.5 ). this command should only be used if the system is in an s0 state. if the message is received during s1?s5 states, the pch acknowledges it, but the smlink_slv_smi_sts bit does not get set. note: it is possible that the system transitions out of the s0 state at the same time that the smlink_slv_smi command is received. in this case, the smlink_slv_smi_sts bit may get set bu t not serviced before the system goes to sleep. once the system returns to s0, the smi associated with this bit would then be generated. software must be able to handle this scenario. 9?ffh reserved
functional description 236 datasheet 5.20.7.2 format of read command the external master performs byte read co mmands to the pch smbus slave interface. the ?command? field (bits 18:11) indicate which register is being accessed. the data field (bits 30:37) contain the value that should be read from that register. table 5-46. slave read cycle format bit description driven by comment 1 start external microcontroller 2-8 slave address - 7 bits external microcontroller must match value in receive slave address register 9 write external microcontroller always 0 10 ack pch 11-18 command code ? 8 bits external microcontroller indicates which register is being accessed. see ta b l e 5 - 4 7 below for list of impl emented registers. 19 ack pch 20 repeated start external microcontroller 21-27 slave address - 7 bits external microcontroller must match value in receive slave address register 28 read external microcontroller always 1 29 ack pch 30-37 data byte pch value depends on register being accessed. table 5-47 below for list of implemented registers. 38 not ack external microcontroller 39 stop external microcontroller table 5-47. data values for slave read registers (sheet 1 of 2) register bits description 07:0 reserved for capabilities indication . should always return 00h. future chips may return another value to indicate different capabilities. 12:0 system power state 000 = s0 001 = s1 010 = reserved 011 = s3 100 = s4 101 = s5 110 = reserved 111 = reserved 7:3 reserved 23:0 reserved 7:4 reserved 35:0 watchdog timer current value note that watchdog timer has 10 bits, but this field is only 6 bits. if the current value is greater than 3fh, the pch will always report 3fh in this field. 7:6 reserved 40 1 = the intruder detect (intrd_det) bit is set. this indicates that the system cover has probably been opened. 1 1 = bti temperature event occurred. this bit will be set if the pch?s thrm# input signal is active. el se this beat will read ?0.?
datasheet 237 functional description 2 doa processor status . this bit will be 1 to indicate that the processor is dead 3 1 = second_to_sts bit set. this bit will be set after the second time- out (second_to_sts bit) of the watchdog timer occurs. 6:4 reserved. will always be 0, but software should ignore. 7 reflects the value of the gpio[11]/smbalert# pin (and is dependent upon the value of the gpi_inv[11] bit. if the gpi_inv[11] bit is 1, then the value in this bit equals the level of the gpi[11]/smbalert# pin (high = 1, low = 0). if the gpi_inv[11] bit is 0, then the value of this bit will equal the inverse of the level of the gpio[11]/smbalert# pin (high = 0, low = 1). 5 0 fwh bad bit. this bit will be 1 to indica te that the fwh read returned ffh, which indicates that it is probably blank. 1 reserved 2 cpu power failure status: ?1? if the cpupwr_flr bit in the gen_pmcon_2 register is set. 3 init3_3v# due to receiving shutdown message: this event is visible from the reception of the shutdown message until a platform reset is done if the shutdown policy sele ct bit (sps) is configured to drive init3_3v#. when the sps bit is configured to generate pltrst# based on shutdown, this register bit will always return 0. events on signal will not create a event message 4 reserved 5 power_ok_bad: indicates the failure core power well ramp during boot/resume. this bit will be active if the slp_s3# pin is de-asserted and pwrok pin is not asserted. 6 thermal trip: this bit will shadow the state of processor thermal trip status bit (cts) (16.2.1.2, gen_pmcon_2, bit 3). events on signal will not create a event message 7 reserved: default value is ?x? note: software should not expect a consistent value when this bit is read through smbus/smlink 67:0 contents of the message 1 register. see section 13.9.8 for the description of this register. 77:0 contents of the message 2 register. see section 13.9.8 for the description of this register. 87:0 contents of the tco_ wdcnt register. see section 13.9.9 for the description of this register. 97:0seconds of the rtc a 7:0 minutes of the rtc b7:0hours of the rtc c 7:0 ?day of week? of the rtc d 7:0 ?day of month? of the rtc e 7:0 month of the rtc f 7:0 year of the rtc 10h?ffh 7:0 reserved table 5-47. data values for slave read registers (sheet 2 of 2) register bits description
functional description 238 datasheet 5.20.7.2.1 behavioral notes according to smbus protocol, read and write messages always begin with a start bit ? address? write bit sequence. when the pch detects that the address matches the value in the receive slave address register, it will assume that the protocol is always followed and ignore the write bit (bit 9) and signal an acknowledge during bit 10. in other words, if a start ?address?read occurs (which is illegal for smbus read or write protocol), and the address matches the pch? s slave address, the pch will still grab the cycle. also according to smbus protocol, a read cycle contains a repeated start?address?read sequence beginning at bi t 20. once again, if the address matches the pch?s receive slave address, it will assume that the protocol is followed, ignore bit 28, and proceed with the slave read cycle. note: an external microcontroller must not attempt to access the pch?s smbus slave logic until at least 1 second after both rtcr st# and rsmrst# are de-asserted (high). 5.20.7.3 slave read of rtc time bytes the pch smbus slave interface allows external smbus master to read the internal rtc?s time byte registers. the rtc time bytes are internally latched by the pch?s hardware whenever rtc time is not changing and smbus is idle. this ensures that the time byte delivered to the slave read is always valid and it does not change when the read is still in progress on the bus. the rtc time will change whenever hardware update is in progress, or there is a software write to the rtc time bytes. the pch smbus slave interface only supports byte read operation. the external smbus master will read the rtc time bytes one after another. it is software?s responsibility to check and manage the possible time rollover when subsequent time bytes are read. for example, assuming the rtc time is 11 hours: 59 minutes: 59 seconds. when the external smbus master reads the hour as 11, then proceeds to read the minute, it is possible that the rollover happens between th e reads and the minute is read as 0. this results in 11 hours: 0 minute instead of the correct time of 12 hours: 0 minutes. unless it is certain that rollover will not occur, software is required to detect the possible time rollover by reading multiple times such th at the read time bytes can be adjusted accordingly if needed. 5.20.7.4 format of host notify command the pch tracks and responds to the standard host notify command as specified in the system management bus (smbus) specification, version 2.0. the host address for this command is fixed to 0001000b. if the pch already has data for a previously-received host notify command which has not been serviced yet by the host software (as indicated by the host_notify_sts bit), then it will nack following the host address byte of the protocol. this allows the host to communicate non-acceptance to the master and retain the host notify address and data values for the previous cycle until host software completely services the interrupt. note: host software must always clear the ho st_notify_sts bit after completing any necessary reads of the address and data registers. table 5-48 shows the host notify format.
datasheet 239 functional description table 5-48. host notify format bit description driven by comment 1 start external master 8:2 smb host address?7 bits external master always 0001_000 9 write external master always 0 10 ack (or nack) pch pch nacks if host_notify_sts is 1 17:11 device address ? 7 bits external master indicates the address of the master; loaded into the notify device address register 18 unused?always 0 external master 7-bit-only address; th is bit is inserted to complete the byte 19 ack pch 27:20 data byte low?8 bits external master loaded into the notify data low byte register 28 ack pch 36:29 data byte high?8 bits external master loaded into the notify data high byte register 37 ack pch 38 stop external master
functional description 240 datasheet 5.21 thermal management 5.21.1 thermal sensor the pch incorporates one on-die digital thermal sensor (dts) for thermal management. the thermal sensor is used for intel quiet system technology (intel qst). the qst firmware can internally access the temperature measured by the sensors and use the data as a factor to determine how to control the fans. this thermal sensor is located near the dm i interface. the on-die thermal sensor is placed as close as possible to the hottest on-die location to reduce thermal gradients and to reduce the error on the sensor trip thresholds. the thermal sensor trip points may be programmed to generate various inte rrupts including sci, smi, pci and other general purpose events. 5.21.1.1 internal ther mal sensor operation the internal thermal sensor reports four trip points: aux2, aux, hot and catastrophic trip points in the order of increasing temperature. aux, aux2 temperature trip points these trip points may be set dynamically if desired and provides an interrupt to acpi (or other software) when it is crossed in ei ther direction. these auxiliary temperature trip points do not automatically cause any hardware throttling but may be used by software to trigger interrupts. this trip poin t is set below the hot temperature trip point and responses are separately programmable from the hot temperature settings, to provide incrementally more aggressive acti ons. aux and aux2 trip points are fully software programmable during system run-ti me. aux2 trip point is set below the aux temperature trip point. hot temperature trip point this trip point may be set dynamically if de sired and provides an interrupt to acpi (or other software) when it is crossed in either direction. software could optionally set this as an interrupt when the temperature exceeds this level setting. hot trip does not provide any default hardware based thermal throttling, and is available only as a customer configurable interrupt when t j,max has been reached. catastrophic trip point this trip point is set at the temperature at which the pch must be shut down immediately without any software support. the catastrophic trip point must correspond to a temperature ensured to be functional for the interrupt generation and hardware response. hardware response using thermtri p# would be an unconditional transition to s5. the catastrophic transition to the s5 state does not enforce a minimum time in the s5 state. it is assumed that the s5 residence and the reboot sequence cools down the system. if the catastrophic condition remains when the catastrophic power down enable bit is set by bios, then the system will re-enter s5. thermometer mode the thermometer is implemented using a counter that starts at 0 and increments during each sample point until the comparator indicates the temperature is above the current value. the value of the counter is loaded into a read-only register (thermal sensor thermometer read) when the comparator first trips.
datasheet 241 functional description 5.21.1.1.1 recommended programm ing for available trip points there may be a 2 c offset due to thermal gradient between the hot-spot and the location of the thermal sensor. trip points should be programmed to account for this temperature offset between the hot-spot t j,max and the thermal sensor. aux trip points should be programmed for software and firmware control using interrupts. hot trip point should be set to throttle at 108 c (t j,max ) due to dts trim accuracy adjustments. hot trip points should also be programmed for a software response. catastrophic trip point should be set to halt operation to avoid maximum t j of about 120 c. note: crossing a trip point in either direction may generate several types of interrupts. each trip point has a register that can be programm ed to select the type of interrupt to be generated. crossing a trip point is implemented as edge detection on each trip point to generate the interrupts. 5.21.1.1.2 thermal sensor accuracy (t accuracy ) t accuracy for the pch is 5 c in the temperature range 90 c to 120 c. t accuracy is 10 c for temperatures from 45 c ? 90 c. the pch may not operate above +108 c. this value is based on product characteriza tion and is not ensured by manufacturing test. software has the ability to program the tcat, thot, and taux trip points, but these trip points should be selected with considerat ion for the thermal sensor accuracy and the quality of the platform thermal solution. overly conservative (unnecessarily low) temperature settings may unnecessarily degrade performance due to frequent throttling, while overly aggressive (dangerous ly high) temperature settings may fail to protect the part against permanent thermal damage. 5.21.2 thermal reporting over system management link 1 interface (smlink1) smlink1 interface in the pch is the smbus li nk to an optional external controller. a smbus protocol is defined on the pch to a llow compatible devices such as embedded controller (ec) or sio to obtain system thermal data from sensors integrated into components on the system using the smlink1 interface. the sensors that can be monitored using the smlink1 include those in the processor, the pch, and dimms with sensors implemented. this solution allows an external device or controller to use the system thermal data for system thermal management. note: to enable thermal reporting, the thermal data reporting enable and processor/pch/ dimm temperature read enables have to be set in the thermal reporting control (trc) register (see section 22.2 for details on the register) there are 2 uses for the pch's thermal reporting capability: 1. to provide system thermal data to an external controller. the controller can manage the fans and other cooling elements based on this data. in addition, the pch can be programmed by setting approp riate bits in the alert enable (ae) register (see section 22.2 for details on this register) to alert the controller when a device has gone outside of its temperature limits. the alert causes the assertion of the pch temp_alert# (sata5gp/gpio49/temp_alert#) signal. see section 5.21.2.6 for more details. 2. to provide an interface between the external controller and host software. this software interface has no direct affect on the pch's thermal collection. it is strictly a software interface to pass information or data.
functional description 242 datasheet the pch responds to thermal requests only wh en the system is in s0 or s1. once the pch has been programmed, it will start respon ding to a request while the system is in s0 or s1. to implement this thermal reporting capability, the platform is required to have appropriate intel ? me firmware, bios support, and co mpatible devices that support the smbus protocol. 5.21.2.1 supported addresses the pch supports 2 addresses: i 2 c address for writes and block read address for reads. these addresses need to be distinct. the two addresses may be fixed by the extern al controller, or programmable within the controller. the addresses used by th e pch are completely programmable. 5.21.2.1.1 i 2 c address this address is used for writes to the pch. ? the address is set by soft straps which are values stored in spi flash and are defined by the oem. the address can be set to any value the platform requires. ? this address supports all the writes listed in ta b l e 5-49 . ? smbus reads by the external controller to this address are not allowed and result in indeterminate behavior. 5.21.2.1.2 block read address this address is used for reads from the pch. ? the address is set by soft straps or bios. it can be set to any value the platform requires. ? this address only supports smbus bloc k read command and not byte or word read. ? the block read command is supported as defined in the smbus 2.0 specification, with the command being 40h, and the by te count being provided by the pch following the block read format in the smbus specification. ? writes are not allowed to this address, and result in indeterminate behavior. ? packet error code (pec) may be enabled or not, which is set up by bios.
datasheet 243 functional description 5.21.2.2 i 2 c write commands to the intel ? me table 5-49 lists the write commands supported by the intel ? me. all bits in the write commands must be written to the pch or the operation will be aborted. for example, for 6-bytes write comma nds, all 48 bits must be written or the operation will be aborted. the command format follows the block write format of the smbus specification. note: the status register (sts register) is only writable by an external controller and readable by host sw. whenever the controller writes to this register, an interrupt, if enabled by bios/os, is sent to the host. the controller must always write a full 48 bits to update this register. writes of anything other than 6 by tes result in indeterm inate behavior. for bit definition of this register, see section 22.2.26 and section 22.2.29 . 5.21.2.3 block read command the external controller may read thermal information from the pch using the smbus block read command. byte-read and word-r ead smbus commands are not supported. note that the reads use a different address than the writes. the command format follows the block read format of the smbus spec. the pch and external controller are set up by bios with the length of the read that is supported by the platform. the device must always do reads of the lengths set up by bios. the pch supports any one of the following length s: 1, 2, 4, 5, 9, 10, 14 or 20 bytes. the data always comes in the order described in table 5-50 , where 0 is the first byte received in time on the smbus. table 5-49. i 2 c write commands to the me transaction slave addr data byte0 (commd) data byte 1 (byte count) data byte 2 data byte 3 data byte 4 data byte 5 data byte 6 data byte 7 write sts register (see note below) i 2 c 41h 6h sts [47:40] sts [39:32] sts [31:24] sts [23:16] sts [15:8] sts [7:0] write processor core temp limits i 2 c 42h 4h lower limit [15:8] lower limit [7:0] upper limit [15:8] upper limit [7:0] write memory controller/ graphics temp limits i 2 c 43h 2h lower limit [7:0] upper limit [7:0] write pch temp limits i 2 c 44h 2h lower limit [7:0] upper limit [7:0] write dimm temp limits i 2 c 45h 2h lower limit [7:0] upper limit [7:0] write processor core power clamp i 2 c 50h 2h power clamp [15:8] power clamp [7:0]
functional description 244 datasheet table 5-50. block read command ? byte definition (sheet 1 of 2) byte definition byte 0 maximum temperature, in absolute degrees celsius (c), of the processor core and graphics. note that the pch is not included in this field. it is a single byte for the highest temperature between the 2 components. this is not relative to some max or limit, but is the maximum in absolute degrees. if both the processor core and memory controller/graphics ha ve errors on the temperature collection, this field will be ffh. if either the processor core or memory controller/graph ics reports a good temper- ature, that good temperature is reported in this field. read value represents bits [7:0] of ptv (processor temperature value) register described in section 22.2 . note: requires trc (thermal reporting control) register bit [12] to be enabled. see section 22.2 . byte 1 the pch temp in degrees c. ffh indicates error condition. read value represents bits [7:0] of itv (internal temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [5] to be enabled. see section 22.2 . byte 3:2 the processor core temp in degrees c. see ta b l e 5 - 5 5 for the bit definitions. byte 3 has bits [15:8] and byte 2 has bits[7:0]. see table 5-54 for read data format and definitions. smbus byte read value [15:0] represents bits [13:0, 14,15] of ctv1 (core temperature value1) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [7] to be enabled. see section 22.2 . byte 4 the memory controller/graphics temp in degrees c. ffh indicates error condition read value represents bits[15:8] of itv (internal temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [4] to be enabled. see section 22.2 . byte 5 thermal sensor (ts) on dimm 0 if dimm not populated, or if there is no ts on dimm, value will be 0h read value represents bits[7:0] of dtv (dimm temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [0] to be enabled. see section 22.2 . byte 6 thermal sensor (ts) on dimm 1 if dimm not populated, or if there is no ts on dimm, value will be 0h read value represents bits[15:8] of dtv (dimm temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [1] to be enabled. see section 22.2 . byte 7 thermal sensor (ts) on dimm 2 if dimm not populated, or if there is no ts on dimm, value will be 0h. read value represents bits[23:16] of dtv (dimm temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [2] to be enabled. see section 22.2 .
datasheet 245 functional description a controller that only wants the single highest temperature from the processor core and memory controller/graphics could read one by te. a 2-byte read would provide both the pch and processor temperature. a device that wants each components temperature would do a 5-byte read and ignore the first byte. a device that also wants dimm information would read 9 bytes. if an exte rnal controller wanted to read the host status, it must read 20 bytes and ignore the first 14. a device can also read the energy data provided by the processor core by reading 14 bytes. 5.21.2.4 read data format for each of the data fields an error code is listed below. this code indicates that the pch failed in its access to the device. this would be for the case where the read returned no data, or some illegal value. in general that would mean the device is broken. the ec can treat the device that failed the read as broken or with some fail- safe mechanism. byte 8 thermal sensor (ts) on dimm 3 if dimm not populated, or if there is no ts on dimm, value will be 0h. read value represents bits[31:24] of dtv (dimm temperature values) register described in section 22.2 . note: requires trc (thermal reporting contro l) register bit [3] to be enabled. byte 9 sequence number. can be used to check if the pc h's fw or hw is hung. see section 5.21.2.9 for usage. this byte is updated every time the collected data is updated read value represents bits[23:16] of itv (internal temperature values) register described in section 22.2 . byte 10 bits [7:0] of the latest read of the processor core?s energy register note: requires trc (thermal reporting cont rol tbarb+1ah) register bit [6] to be enabled. byte 11 bits [15:8] of the latest read of the processor core's energy register note: requires trc (thermal reporting contro l) register bit [6] to be enabled. byte 12 bits [23:16] of the latest read of the processor core's energy register note: requires trc (thermal reporting contro l) register bit [6] to be enabled. byte 13 bits [31:24] of the latest read of the processor core's energy register note: requires trc (thermal reporting contro l) register bit [6] to be enabled. byte 19:14 host status - this re flects what the host is presently executing. byte 14 has bits [7:0], and byte 19 has bits [47:40] of hts register. for bit definition, see section 22.2.22 . table 5-50. block read command ? byte definition (sheet 2 of 2) byte definition
functional description 246 datasheet 5.21.2.4.1 processor core temperature the processor core temperature reading on smlink1 is 16 bits as described in table 5-51 . the granularity is 1/64 th degree. the top byte of the smlink1 reported processor temperature (byte 3 in table 5-53) represents the integer component of the data, while top 6 bits of byte 2 represents the fraction portion of the reported temperature. bit[1] is unused and bit[0] is used as an error flag. this interpretation of the smli nk1 reported temperature differs from the temperature stored in core temperature value 1 (ctv1) register. see the ctv1 register in section 22.2.17 for the interpretation of the fields. if the processor core polling has been disabl ed, then the value returned is 0000h. if there is an error when the pch reads the data from the processor core, then bit 0 is set to 1. the data provided on the smbus read and the write processor core temp limits command use the format above for their data. 5.21.2.4.2 pch, memory controlle r/graphics, and dimm temperature the temperature readings for bytes 0?1 and 4?8, which are the pch, dimm, and memory controller/graphics temperatures, are 8-bit unsigned values from 0?255. the minimum granularity supported by the internal thermal sensor is 1 c. thus, there are no fractional values for the pch, memory controller/graphics, or dimm temperatures. note the sensors used within the components do not support values below 0 degrees, so this field is treated as 8 bits (0?255) absolute and not 2's complement (-128 to 127). devices that are not present or that are disabled will be set to 0h. devices that have a failed reading (that is, the read from the device did not return any legal value) will be set to ffh. a failed reading means that the attempt to read that device returned a failure. the failure could have been from a bu s failure or that the device itself had an internal failure. for instance, a system may only have one dimm and it would report only that one value, and the values for the other dimms would all be 00h. 5.21.2.5 thermal data update rate the temperature values are updated every 200 ms in the pch, so reading more often than that simply returns the same data mult iple times. also, the data may be up to 200 ms old if the external controller read s the data right before the next update window. table 5-51. processor core read data definition bit description 15:8 integer component (0 to 255) of the processor core temperature. note the processor core temp erature can never be below 0 degrees, so this field is treated as 8 bits (0-255) absolute and not 2's complement (-128 to 127). 7:2 fraction value (in 1/64th). 1reserved 0 illegal value or error in reading the processor core. 0 = reads successful 1 = failure on getting the da ta from the processor core.
datasheet 247 functional description 5.21.2.6 temperature comparator and alert the pch has the ability to alert the external controller when temperatures are out of range. this is done using the pch temp_alert# signal. the alert is a simple comparator. if any device's temperature is outside the limit range for that device, then the signal is asserted (electrical low). note that this alert does not use the sml1alert#. the pch supports 4 ranges: 1. processor core range - upper and lower limit (8 bits each, 6 bits for fraction, in degrees c). 2. memory controller/graphics range - upper and lower limit (8 bits each, in degrees c) for memory controller/graphics temperature. 3. pch range - upper and lower limit (8 bits each, in degrees c) for the pch temperature. 4. dimm range - upper and lowe r limit (8 bits each, in degrees c), applies to all dimms (up to 4 supported) that are enabled. disabled (unpopulated) dimms do not participate in the thermal compares. the comparator checks if the device is with in the specified range, including the limits. for example, a device that is at 100 degrees when the upper limit is 100 will not trigger the alert. likewise, a device that is at 70 degrees when the lower limit is 70 will not trigger the alert. the compares are done only on devices that have been enabled by bios for checking. since bios knows how many dimms and processors are in the system, it enables the checking only for those devices that are physically present. the compares are done in firmware, so all the compares are executed in one software loop and at the end, if there is any out of bound temperature, the pch?s temp_alert# signal is asserted. when the external controller sees the temp_alert# signal low, it knows some device is out of range. it can read the temperatures and then change the limits for the devices. note that it may take up to 250 ms before the actual writes cause the signal to change state. for instance if the processor core is at 105 degrees and the limit is 100, the alert is triggered. if the controller changes the limits to 110, the temp_alert# signal may remain low until the next therma l sampling window (every 200 ms) occurs and only then go high, assuming the pr ocessor core was still within its limits. at boot, the controller can monitor the temp_alert# signal state. when bios has finished all the initialization and enab led the temperature comparators, the temp_alert# signal will be asserted since the default state of the limit registers is 0h; hence, when the pch first reads temperatures, they will be out of range. this is the positive indication that the external cont roller may now read thermal information and get valid data. if the temp_alert# signal is enabled and not asserted within 30 seconds after pltrst#, the external controlle r should assume there is a fatal error and handle accordingly. in general the temp _alert# signal will assert within a 1?4 seconds, depending on the actual bios implementation and flow. note: the temp_alert# assertion is only valid wh en pltrst# is de-asserted. the controller should mask the state of this signal when pltrst# is asserted. since the controller may be powered even when the pch and the re st of the platform are not, the signal may glitch as power is being asserted; thus, the controller should wait until pltrst# has de-asserted before monitoring the signal.
functional description 248 datasheet 5.21.2.6.1 special conditions the external controller should have a gr aceful means of handling the following: 1. temp_alert# asserts, and the controller reads pch, but all temperature values are within limits. in this case, the controller should assume that by the time the controller could read the data, it had changed and moved back within the limits. 2. external controller writes new values to temperature limits, but temp_alert# is still asserted after several hundred msecs. when read, the values are back within limits. in this case, the controller should treat this as case where the temperature changed and caused temp_alert# assertion, and then changed again to be back within limits. 3. there is the case where the external co ntroller writes an update to the limit register, while the pch is collecting th e thermal information and updating the thermal registers. the limit change will on ly take affect when the write completes and the intel ? me can process this change. if the intel ? me is already in the process of collecting data and doing the compares, then it will continue to use the old limits during this round of compares, and then use the new limits in the next compare window. 4. each smbus write to change the limits is an atomic operation, but is distinct in itself. therefore the external controlle r could write pch limit, and then write memory controller/graphics limit. in the middle of those 2 writes, the thermal collecting procedure could be called by the intel ? me, so that the comparisons for the limits are done with the new pch limit s but the old memory controller/graphics limits. note: the limit writes are done when the smbus wr ite is complete; therefore, the limits are updated atomically with respect to the ther mal updates and compares. there is never a case where the compares and the thermal up date are interrupted in the middle by the write of new limits. the thermal updates and compares are done as one non- interruptible routine, and then the limit writ es would change the limit value outside of that routine. 5.21.2.7 bios set up for the pch to properly report temperature and enable alerts, the bios must configure the pch at boot or from suspend/resume state by writing the following information to the pch mmio space. this information is not configurable using the external controller. ? enables for each of the 4 possible thermal alerts (processor core, memory controller/graphics, pch and dimm). note th at each dimm is enabled individually. ? enables for reading dimm, processor co re, memory controller/graphics, and pch temperatures. note that each can be enabled individually. ? smbus address to use for each dimm. setting up the temperature calculation equations.
datasheet 249 functional description 5.21.2.8 smbus rules the pch may nack an incoming smbus transaction. in certain cases the pch will nack the address, and in other cases it will nack the command depending on internal conditions (such as, errors, busy conditions). given that most of the cases are due to internal conditions, the external controller must alias a nack of the command and a nack of the address to the same behavior. the controller must not try to make any determination of the reason for the nack, based on the type of nack (command vs. address). the pch will nack when it is enabled but bu sy. the external controller is required to retry up to 3 times when they are nack'ed to determine if the fw is busy with a data update. when the data values are being updated by the intel ? me, it will force this nack to occur so that the data is atomically updated to the external controller. in reality if there is a nack because of the pch being busy, in almost all cases the next read will succeed since the update internally takes very little time. the only long delay where there can be a nack is if the internal intel ? me engine is reset. this is due to some extreme error co ndition and is therefore rare. in this case the nack may occur for up to 30 seconds. after that, the external controller must assume that the pch will never return good data. even in the best of cases, when this internal reset occurs, it will always be a second or 2 to re-enable responding. 5.21.2.8.1 during block read on the block read, the pch will respect th e nack and stop indications from the external controller, but will consider this an error case. it will recover from this case and correctly handle the next smbus request. the pch will honor stop during the block read command and cease providing data. on the next block read, the data will start with byte 0 again. however, this is not a recommended usage except for 'emergency cases'. in general the external controller should read the entire length of data that was originally programmed. 5.21.2.8.2 power on on the block read, the pch will respect th e nack and stop indications from the external controller, but will consider this an error case. it will recover from this case and correctly handle the next smbus request. the pch will honor stop during the block read command and cease providing data. on the next block read, the data will start with byte 0 again. however, this is not a recommended usage except for 'emergency cases'. in general the external controller should read the entire length of data that was originally programmed.
functional description 250 datasheet 5.21.2.9 case for considerations below are some corner cases and some possible actions that the external controller could take. note that a 1-byte sequence number is available to the data read by the external controller. each time the pch updates the thermal information it will increment the sequence number. the external controller can use this value as an indication that the thermal fw is actually operating. note that the sequence number will roll over to 00h when it reaches ffh. 1. power on: the pch will not respond to any smbus ac tivity (on smlink1 interface) until it has loaded the thermal firmware (fw), which in general would take 1?4 seconds. during this period, the pch w ill nack any smbus transaction from the external controller. the load should take 1-4 seconds, but th e external controller should design for 30 seconds based on long delays for s4 resume which takes longer than normal power up. this would be an extreme case , but for larger memory footprints and non-optimized recovery times, 30 seconds is a safe number to use for the timeout. recover/failsafe: if the pch has not responded within 30 seconds, the external controller can assume that the system has had a major error and the external controller should ramp the fans to some reasonably high value. the only recover from this is an internal reset on the pch, which is not visible to the external controller. therefore the external controller might choose to poll every 10-60 seconds (some fairly long period) hereafter to see if the pch's thermal reporting has come alive. 2. the pch thermal fw hangs and requires an internal reset which is not visible to the external controller. the pch will nack any smbus transaction from the external controller. the pch may not be able to respond for up to 30 seconds while the fw is being reset and reconfigured. the external controller could choose to poll every 1-10 seconds to see if the thermal fw has been successfully reset and is now providing data. general recovery for this case is about 1 second, but 30 seconds should be used by the external controller at the timeout. recovery/failsafe: same as in case #1. 3. fatal pch error, causes a global reset of all components. when there is a fatal pch error, a global reset may occur, and then case #1 applies. the external controller can observe, if desired, pltrst# assertion as an indication of this event. 4. the pch thermal fw fails or is hung, but no reset occurs. the sequence number will not be updated, so the external controller knows to go to failsafe after some number of read s (8 or so) return the same sequence number. the external controller could choose to poll every 1-10 seconds to see if the thermal fw has been successfully reset and working again. in the absence of other errors, the updates for the sequence number should never be longer than 400 ms, so the number of reads needed to indicate that there is a hang should be at around 2 seconds. but when there is an error, the sequence number may not get updated for seconds. in the case that the
datasheet 251 functional description external controller sees a nack from the pch, then it should restart its sequence counter, or otherwise be aware that the nack condition needs to be factored into the sequence number usage. the use of sequence numbers is not requ ired, but is provided as a means to ensure correct pch fw operation. 5. when the pch updates the block read data structure, the external controller gets a nack during this period. to ensure atomicity of the smbus data read with respect to the data itself, when the data buffer is being updated, the pch will nack the block read transaction. the update is only a few micro-seconds, so very short in terms of smbus polling time; therefore, the next read should be successful. the external controller should attempt 3 reads to handle this condition before moving on. if the block read has started (that is, the address is ack'ed) then the entire read will complete successfully, and the pch will update the data on ly after the smbus read has completed. 6. system is going from s0 to s3/4/5. note that the thermal monitoring fw is fully operational if the system is in s0/s1, so the following only applies to s3/4/5. when the pch detects the os request to go to s3/4/5, it will take the smlink1 controller offline as part of the system preparation. the external controller will see a period where its transactions are getting nack'ed, and then see slp_s3# assert. this period is relatively short (a couple of seconds depending on how long all the devices take to place themselves into th e d3 state), and would be far less than the 30 second limit mentioned above. 7. temp_alert#?since there can be an in ternal reset, the temp_alert# may get asserted after the reset. the external co ntroller must accept this assertion and handle it. 5.21.2.9.1 example algorithm for handling transaction one algorithm for the transaction handling coul d be summarized as fo llows. this is just an example to illustrate the above rules. there could be other algorithms that can achieve the same results. 1. perform smbus transaction. 2. if ack, then continue. 3. if nack: a. try again for 2 more times, in case the pch is busy updating data. b. if 3 successive transactions receive nack, then: - ramp fans, assuming some general long reset or failure - try every 1-10 seconds to see if smbus transactions are now working - if they start then return to step 1 - if they continue to fail, then stay in this step and poll, but keep the fans ramped up or implement some other failure recovery mechanism
functional description 252 datasheet 5.22 intel ? high definition audio overview (d27:f0) the pch high definition audio (hda) controller communicates with the external codec(s) over the intel ? high definition audio serial link. the controller consists of a set of dma engines that are used to move samples of digitally encoded data between system memory and an external codec(s) . the pch implements four output dma engines and 4 input dma engines. the output dma engines move digital data from system memory to a d-a converter in a codec. the pch implements a single serial data output signal (hda_sdout) that is connected to all external codecs. the input dma engines move digital data from the a-d converter in the codec to system memory. the pch implements four serial digital inpu t signals (hda_sdi[3:0]) supporting up to four codecs. audio software renders outbound and processes inbound data to/from buffers in system memory. the location of individual buffers is described by a buffer descriptor list (bdl) that is fetched and processed by the controller. the data in the buffers is arranged in a predefined format. the output dma engines fetch the digital data from memory and reformat it based on the programmed sample rate, bit/sample and number of channels. the data from the ou tput dma engines is then combined and serially sent to the external codecs over the intel ? high definition audio link. the input dma engines receive data from the codecs over the intel ? high definition audio link and format the data based on the programmable attributes for that stream. the data is then written to memory in the predefined format for software to process. each dma engine moves one stream of data. a single codec can accept or generate multiple streams of data, one for each a-d or d-a converter in the codec. multiple codecs can accept the same output stream processed by a single dma engine. codec commands and responses are also transported to and from the codecs using dma engines. the pch hd audio controller supports the function level reset (flr). 5.22.1 intel ? high definition audio docking (mobile only) 5.22.1.1 dock sequence note that this sequence is followed when the system is running and a docking event occurs. 1. since the pch supports docking, the dock ing supported (dcksts. ds) bit defaults to a 1. post bios and acpi bios software uses this bit to determine if the hd audio controller supports docking. bios may write a 0 to this rwo bit during post to effectively turn off the docking feature. 2. after reset in the undocked quiescent stat e, the dock attach (dckctl.da) bit and the dock mate (dcksts.dm) bit are both de-asserted. the hda_dock_en# signal is de-asserted and hda_dock_rst# is asse rted. bit clock, sync and sdo signals may or may no be running at the point in time that the docking event occurs. 3. the physical docking event is signaled to acpi bios software using acpi control methods. this is normally done through a gpio signal on the pch and is outside the scope of this section of the spec. 4. acpi bios software first checks that the docking is supported using dcksts.ds=1 and that the dcksts.dm=0 and then initia tes the docking sequence by writing a 1 to the dckctl.da bit. 5. the hd audio controller then asserts the hda_dock_en# signal so that the bit clock signal begins toggling to the dock codec. hda_dock_en# shall be asserted synchronously to bit clock and timed such that bit clock is low, sync is low, and sdo is low. pull-down resistors on these signals in the docking station discharge
datasheet 253 functional description the signals low so that when the state of the signal on both sides of the switch is the same when the switch is turned on. this reduces the potential for charge coupling glitches on these signals. note that in the pch the first 8 bits of the command field are ?reserved? and always driven to 0's. this creates a predictable point in time to always assert hda_dock _en#. note that the hd audio link reset exit specification that requires that sync and sdo be driven low during bit clock startup is not ensured. note also that the sdo and bit clock signals may not be low while hda_dock_rst# is asserted which also violates the spec. 6. after the controller asserts hda_dock_en# it waits for a minimum of 2400 bit clocks (100us) and then de-asserts hda_dock_rst#. this is done in such a way to meet the hd audio link reset exit sp ecification. hda_dock_rst# de-assertion should be synchronous to bit clock and timed such that there are least 4 full bit clocks from the de-assertion of hda_dock_rst# to the first frame sync assertion. 7. the connect/turnaround/address frame hard ware initialization sequence will now occur on the dock codecs' sdi signals. a dock codec is detected when sdi is high on the last bit clock cycle of the frame sync of a connect frame. the appropriate bit(s) in the state change status (statest s) register will be set. the turnaround and address frame initialization sequence th en occurs on the dock codecs' sdi(s). 8. after this hardware initialization sequence is complete (approximately 32 frames), the controller hardware sets the dcksts.dm bi t to 1 indicating that the dock is now mated. acpi bios polls the dcksts.dm bit and when it detects it is set to 1, conveys this to the os through a plug-n-play irp. this eventually invokes the hd audio bus driver, which then begins it's codec discovery, enumeration, and configuration process. 9. alternatively to step #8, the hd audi o bus driver may choose to enable an interrupt by setting the wakeen bits for sdins that didn't originally have codecs attached to them. when a corresponding st atests bit gets set an interrupt will be generated. in this case the hd audio bus dr iver is called directly by this interrupt instead of being notified by the plug-n-play irp. 10. hd audio bus driver software ?discovers? the dock codecs by comparing the bits now set in the statests register with the bits that were set prior to the docking event. 5.22.1.2 exiting d3/crst# when docked 1. in d3/crst#, crst# is asserted by the hd audio bus driver. crst# asserted resets the dock state machines, but does not reset the dckctl.da bit. because the dock state machines are reset, the dock is electrically isolated (hda_dock_en# de-asserted) and dock_rst# is asserted. 2. the bus driver clears the statests bits, then de-asserts crst#, waits approximately 7ms, then checks the statests bits to see which codecs are present. 3. when crst# is de-asserted, the dock st ate machine detects that dckctl.da is still set and the controller hardware sequences through steps to electrically connect the dock by asserting hda_dock_en# and then eventually de-asserts dock_rst#. this completes within the 7ms mentioned in step 2). 4. the bus driver enumerates the codecs pr esent as indicated using the statests bits. 5. note that this process did not require bi os or acpi bios to set the dckctl.da bit.
functional description 254 datasheet 5.22.1.3 cold boot/resume from s3 when docked 1. when booting and resuming from s3, pltrst# switches from asserted to de- asserted. this clears the dckctl.da bit and the dock state machines. because the dock state machines are reset, the dock is electrically isolated (hda_dock_en# de-asserted) and dock_rst# is asserted. 2. post bios detects that the dock is attach ed and sets the dckctl.da bit to 1. note that at this point crst# is still asserted so the dock state machine will remain in it's reset state. 3. the bus driver clears the statests bits, then de-asserts crst#, waits approximately 7ms, then checks the statests bits to see which codecs are present. 4. when crst# is de-asserted, the dock st ate machine detects that dckctl.da is still set and the controller hardware sequences through steps to electrically connect the dock by asserting hda_dock_en# and then eventually de-asserts dock_rst#. this completes within the 7ms mentioned in step 3). 5. the bus driver enumerates the codecs present as indicated using the statests bits. 5.22.1.4 undock sequence there are two possible undocking scenarios. the first is the one that is initiated by the user that invokes software and gracefully shuts down the dock codecs before they are undocked. the second is referred to as th e ?surprise undock? where the user undocks while the dock codec is running. both of these situations appear the same to the controller as it is not cognizant of the ?surprise removal?. but both sequences will be discussed here. 5.22.1.5 normal undock 1. in the docked quiescent state, the dock attach (dckctl.da) bit and the dock mate (dcksts.dm) bit are both asserted. the hda_dock_en# signal is asserted and hda_dock_rst# is de-asserted. 2. the user initiates an undock event th rough the gui interface or by pushing a button. this mechanism is outside the scope of this section of the document. either way acpi bios software will be invoked to manage the undock process. 3. acpi bios will call the hd audio bus driver software to halt the stream to the dock codec(s) prior to electrical undocking. if the hd audio bus driver is not capable of halting the stream to the docked codec, acpi bios will initiate the hardware undocking sequence as described in the next step while the dock stream is still running. from this standpoint, the result is similar to the ?surprise undock? scenario where an audio glitch may occur to the docked codec(s) during the undock process. 4. the acpi bios initiates the hardware und ocking sequence by writing a 0 to the dckctl.da bit. 5. the hd audio controller asserts hda_dock_rst#. hda_dock_rst# assertion shall be synchronous to bit clock. there are no other timing requirements for hda_dock_rst# assertion. note that the hd audio link reset specification requirement that the last frame sync be skipped will not be met. 6. a minimum of 4 bit clocks after hda_dock_rst# the controller will de-assert hda_dock_en# to isolate the dock code c signals from the pch hd audio link signals. hda_dock_en# is de-asserted synchronously to bit clock and timed such that bit clock, sync, and sdo are low. 7. after this hardware undocking sequence is complete the controller hardware clears the dcksts.dm bit to 0 indicating that the dock is now un-mated. acpi bios software polls dcksts.dm and when it sees dm set, conveys to the end user that physical undocking can proceed. the controller is now ready for a subsequent docking event.
datasheet 255 functional description 5.22.1.6 surprise undock 1. in the surprise undock case the user undocks before software has had the opportunity to gracefully halt the stream to the dock codec and initiate the hardware undock sequence. 2. a signal on the docking connector is connec ted to the switch that isolates the dock codec signals from the pch hd audio link signals (dock_det# in the conceptual diagram). when the undock event begins to occur the switch will be put into isolate mode. 3. the undock event is communicated to th e acpi bios using acpi control methods that are outside the scope of this section of the document. 4. acpi bios software writes a 0 to the dckctl.da bit. acpi bios then calls the hd audio bus driver using plug-n-play irp. the bus driver then posthumously cleans up the dock codec stream. 5. the hd audio controller hardware is obliv ious to the fact that a surprise undock occurred. the flow from this point on is identical to the normal undocking sequence described in section 0 starting at step 3). it finishes with the hardware clearing the dcksts.dm bit set to 0 indicating that the dock is now un-mated. the controller is now ready for a subsequent docking event. 5.22.1.7 interaction between dock /undock and power management states when exiting from s3, pltrst# will be asse rted. the post bios is responsible for initiating the docking sequence if the dock is already attached when pltrst# is de- asserted. post bios writes a 1 to the dckctl.da bit prior to the hd audio driver de- asserting crts# and detecting and enum erating the codecs attached to the hda_dock_rst# signal. the hd audio controlle r does not directly monitor a hardware signal indicating that a dock is attached. therefore a method outside the scope of this document must be used to cause the post bios to initiate the docking sequence. when exiting from d3, crst# will be assert ed. when crst# bit is ?0? (asserted), the dckctl.da bit is not cleared. the dock state machine will be reset such that hda_dock_en# will be de-asserted, hda_ dock_rst# will be asserted and the dcksts.dm bit will be cleared to reflect this state. when the crst# bit is de-asserted, the dock state machine will detect that dckctl.da is set to ?1? and will begin sequencing through the dock process. note that this does not require any software intervention. 5.22.1.8 relationship between hda_dock_rst# and hda_rst# hda_rst# will be asserted when a pltrst# occurs or when the crst# bit is 0. as long as hda_rst# is asserted, the do ck_rst# signal will also be asserted. when pltrst# is asserted, the dckctl.da and dcksts.dm bits will be get cleared to their default state (0's), and the dock state machine will be reset such that hda_dock_en# will be de-ass erted, and hda_dock_rst# w ill be asserted. after any pltrst#, post bios software is responsible for detecting that a dock is attached and then writing a ?1? to the dckctl.da bit prior to the hd audio bus driver de-asserting crst#. when crst# bit is ?0? (asserted), the dckc tl.da bit is not cleared. the dock state machine will be reset such that hd a_dock_en# will be de-asserted, hda_dock_rst# will be asserted and the dcks ts.dm bit will be cleared to reflect this state. when the crst# bit is de-asserted, the dock state machine will detect that dckctl.da is set to ?1? and will begin sequen cing through the dock process. note that this does not require any software intervention
functional description 256 datasheet 5.23 intel ? active management technology 6.0 (intel ? amt) intel ? active management technology is a set of advanced manageability features developed to meet the evolving demands placed on it to manage a network infrastructure. intel ? amt reduces the total cost of ownership (tco) for it management through features such as asset tracking, remote manageability, and robust policy-based security, resulting in fewer desk-side visits and reduced incident support durations. intel ? amt extends the manageability capability for it through out of band (oob), allowing asset information, remote diagnostics, recovery, and contain capabilities to be available on client systems even when they are in a low power, or ?off? state, or in situations when the operating system is hung. figure 5-11. pch intel ? management engine hi gh-level block diagram
datasheet 257 functional description 5.23.1 intel ? amt6.x and asf 2.0 features ? e-asset tag and oob hardware and software inventory logs ? oob alerts that may trigger one or more aspects of intel ? am's management and security features over ipv4, ipv6, an d kvm. available only over wired lan. ? ide redirect and serial over lan for remote control ? remote diagnostics, remote bios recovery and update ? os lock-up alert and operating system repair ? wake capability from lower system power state, including wake on lan* (wol), wake on manageability packet (wome), wake on voip (wov), and wake on event (wox) ? dash 1.0/1.1 profile compatibility and microsoft* nap* posturing ? client initiated remote access (cira)?allows a client on the internet to, at its request, make itself discoverable on an amt infrastructure behind a firewall for remote manageability. available both over wired and wireless lan. ?intel ? anti-theft technology oob key recovery 5.23.2 intel ? amt requirements intel ? amt is a platform-level solution that uses multiple system components including: ?intel ? amt-ready pch sku ?intel ? gigabit ethernet phy (intel ? 82577/82578 gigabit platform lan connect device) with intel ? amt for remote access ? spi flash memory that meets requirements set in section 5.24.4 (64 mb minimum for intel ? amt 6.0) to store asset information, management software code, and logs ? bios to provide asset detection and post diagnostics (bios and intel ? amt can optionally share same flash memory device) ? an isv software package - such as landesk* , altiris*, or microsoft* sms* - to take advantage of intel ? amt?s platform manageability capabilities
functional description 258 datasheet 5.24 serial peripheral interface (spi) the serial peripheral interface (spi) is a 4-pin interface that provides a lower-cost alternative for system flash versus the firmware hub on the lpc bus. the 4-pin spi interface consists of clock (c lk), master data out (master out slave in (mosi)), master data in (master in slave out (miso)) and an active low chip select (spi_cs[1:0]#). the pch supports up to two spi flash devices using two separate chip select pins. each spi flash device can be up to 16 mbytes . the pch spi interface supports 20 mhz, 33mhz, and 50 mhz spi devices. a spi flash de vice on with chip select 0 with a valid descriptor must be attach ed directly to the pch. communication on the spi bus is done with a master ? slave protocol. the slave is connected to the pch and is implemented as a tri-state bus. note: if boot bios strap =?00? lpc is selected as the location for bios. bios may still be placed on lpc, but all platforms with the pch requires spi flash connected directly to the pch's spi bus with a valid descriptor connected to chip select 0 to boot. note: when spi is selected by the boot bios dest ination strap and a spi device is detected by the pch, lpc based bios flash is disabled. 5.24.1 spi supported feature overview spi flash on the pch has two operational modes, descriptor and non-descriptor. 5.24.1.1 non-descriptor mode non-descriptor mode is not supported as a va lid flash descriptor is required for all pch platforms. 5.24.1.2 descriptor mode descriptor mode is required for all skus of the pch. it enables many new features of the chipset: ? integrated gigabit ethernet and host processor for gigabit ethernet software ?intel ? active management technology ?intel ? quiet system technology ?intel ? management engine firmware ? pci express* root port configuration ? supports up to two spi components using two separate chip select pins ? hardware enforced security restricting master accesses to different regions ? chipset soft strap regions provides the ability to use flash nvm as an alternative to hardware pull-up/pull-down resistors for the pch and processor ? supports the spi fast read instruction and frequencies of up to 33 mhz ? uses standardized flash instruction set
datasheet 259 functional description 5.24.1.2.1 spi flash regions in descriptor mode the flash is divided into five separate regions: only three masters can access the four regions: host processor running bios code, integrated gigabit ethernet and host processor running gigabit ethernet software, and management engine. the only required region is region 0, the flash descriptor. region 0 must be located in the first sector of device 0 (offset 0). flash region sizes spi flash space requirements differ by plat form and configuration. the flash descriptor requires one 4 kb or larger block. gbe requires two 4 kb or larger blocks. the amount of flash space consumed is dependent on the erase granularity of the flash part and the platform requirements for the me and bios regions. the intel me region contains firmware to support intel active management technology and other intel me capabilities. region content 0 flash descriptor 1bios 2 management engine 3 gigabit ethernet 4platform data table 5-52. region size versus er ase granularity of flash components region size with 4 kb blocks size with 8 kb blocks size with 64 kb blocks descriptor 4 kb 8 kb 64 kb gbe 8 kb 16 kb 128 kb bios varies by platform varies by platform varies by platform me varies by platform varies by platform varies by platform
functional description 260 datasheet 5.24.1.3 device partitioning the pch spi flash controller supports two sets of attributes in spi flash space. this allows for supporting an asymmetric flash component that has two separate sets of attributes in the upper and lower part of th e memory array. an example of this is a flash part that has different erase granularities in two different parts of the memory array. this allows for the usage of two separate flash vendors if using two different flash parts. 5.24.2 flash descriptor the maximum size of the flash descriptor is 4 kb. if the block/sector size of the spi flash device is greater than 4 kb, the flash descriptor will only use the first 4 kb of the first block. the flash descriptor requires it s own block at the bottom of memory (00h). the information stored in the flash descr iptor can only be written during the manufacturing process as its read/write permi ssions must be set to read only when the computer leaves the manufacturing floor. the flash descriptor is made up of eleven sections (see figure 5-13 ). figure 5-12. flash partition boundary lower flash partition upper flash partition ? ? flash partition boundary
datasheet 261 functional description 1. the flash signature selects descriptor mode as well as verifies if the flash is programmed and functioning. the data at th e bottom of the flash (offset 0) must be 0ff0a55ah to be in descriptor mode. 2. the descriptor map has pointers to the other five descriptor sections as well as the size of each. figure 5-13. flash descriptor sections descriptor map component signature region master pch soft straps 0 4kb management engine vscc table descriptor upper map oem section reserved
functional description 262 datasheet 3. the component section has information about the spi flash in the system including: the number of components, density of ea ch, illegal instructions (such as chip erase), and frequencies for read, fast read and write/erase instructions. 4. the region section points to the three other regions as well as the size of each region. 5. the master region contains the security settings for the flash, granting read/write permissions for each region and identifying each master by a requestor id. see section 5.24.2.1 for more information. 6 & 7. the processor and pch chipset soft strap sections contain processor and pch configurable parameters. 8. the reserved region between the top of the processor strap section and the bottom of the oem section is reserved for future chipset usages. 9. the descriptor upper map determines the length and base address of the management engine vscc table. 10. the management engine vscc table holds the jedec id and the vscc information of the entire spi flash su pported by the nvm image. 11. oem section is 256 bytes reserved at th e top of the flash descriptor for use by oem. 5.24.2.1 descriptor master region the master region defines read and write access setting for each region of the spi device. the master region recognizes three masters: bios, gigabit ethernet, and management engine. each master is only a llowed to do direct reads of its primary regions. table 5-53. region access control table master read/write access region processor and bios me gbe controller descriptor n/a n/a n/a bios cpu and bios can always read from and write to bios region read / write read / write management engine read / write me can always read from and write to me region read / write gigabit ethernet read / write read / write gbe software can always read from and write to gbe region platform data region n/a n/a n/a
datasheet 263 functional description 5.24.3 flash access there are two types of flash accesses: direct access: ? masters are allowed to do direct read only of their primary region ? gigabit ethernet region can only be directly accessed by the gigabit ethernet controller. gigabit ethernet software must use program registers to access the gigabit ethernet region. ? master's host or management engine virtual read address is converted into the spi flash linear address (fla) using the flash descriptor region base/limit registers program register access: ? program register accesses are not allowed to cross a 4 kb boundary and can not issue a command that might extend across two components ? software programs the fla corresponding to the region desired ? software must read the devices primary region base/limit address to create a fla. 5.24.3.1 direct access security ? requester id of the device must match that of the primary requester id in the master section ? calculated flash linear address must fall between primary region base/limit ? direct write not allowed ? direct read cache contents are reset to 0's on a read from a different master ? supports the same cache flush mechanism in ich7 which includes program register writes 5.24.3.2 register access security ? only primary region masters can access the registers note: processor running gigabit ethernet software can access gigabit ethernet registers ? masters are only allowed to read or wr ite those regions they have read/write permission ? using the flash region access permissions, one master can give another master read/write permissions to their area ? using the five protected range registers, each master can add separate read/write protection above that granted in the flash descriptor for their own accesses ? example: bios may want to protect different regions of bios from being erased ? ranges can extend across region boundaries
functional description 264 datasheet 5.24.4 serial flash device compatibility requirements a variety of serial flash devices exist in th e market. for a serial flash device to be compatible with the pch spi bus, it must meet the minimum requirements detailed in the following sections. note: all pch platforms have require intel ? management engine firmware. 5.24.4.1 pch spi based bios requirements a serial flash device must meet the following minimum requirements when used explicitly for system bios storage. ? erase size capability of at least one of the following: 64 kbytes, 8 kbytes, 4 kbytes, or 256 bytes. ? device must support multiple writes to a page without requiring a preceding erase cycle (see section 5.24.5 ). ? serial flash device must ignore the upper address bits such that an address of ffffffh aliases to the top of the flash memory. ? spi compatible mode 0 support (clock phase is 0 and data is latched on the rising edge of the clock). ? if the device receives a command that is not supported or incomplete (less than 8 bits), the device must complete the cycle gracefully without any impact on the flash content. ? an erase command (page, sector, block, chip, etc.) must set all bits inside the designated area (page, sector, block, chip, etc.) to 1 (fh). ? status register bit 0 must be set to 1 when a write, erase or write to status register is in progress and cleared to 0 when a write or erase is not in progress. ? devices requiring the write enable co mmand mst automatically clear the write enable latch at the end of data program instructions. ? byte write must be supported. the flexibili ty to perform a write between 1 byte to 64 bytes is recommended. ? hardware sequencing requirements are optional in bios only platforms. ? spi flash parts that do not meet hardware sequencing command set requirements may work in bios only platforms using software sequencing. 5.24.4.2 integrated lan firm ware spi flash requirements a serial flash device that will be used for system bios and integrated lan or integrated lan only must meet all the spi based bios requirements plus: ? hardware sequencing. ? 4, 8, or 64 kb erase capability must be supported. 5.24.4.2.1 spi flash unlocking re quirements for integrated lan bios must ensure there is no spi flash ba sed read/write/erase protection on the gbe region. gbe firmware and drivers for the integr ated lan need to be able to read, write and erase the gbe region at all times.
datasheet 265 functional description 5.24.4.3 intel ? management engine firmware spi flash requirements intel ? management engine firmware must meet the spi flash based bios requirements plus: ? hardware sequencing. ? flash part must be uniform 4 kb erasable block throughout the entire device or have 64 kb blocks with the first block (lowest address) divided into 4 kb or 8 kb blocks. ? write protection scheme must meet spi flash unlocking requirements for management engine. 5.24.4.3.1 spi flash unlocking requ irements for management engine flash devices must be globally unlocked (read, write and erase access on the me region) from power on by writing 00h to th e flash?s status register to disable write protection. if the status register must be unprotected, it must use the enable write status register command 50h or write enable 06h. opcode 01h (write to status register) must th en be used to write a single byte of 00h into the status register. this must unlock the entire part. if the spi flash?s status register has non-volatile bits that must be written to, bits [5:2] of the flash?s status register must be all 0h to indicate that the flash is unlocked. if bits [5:2] return a non zero values, the intel ? me firmware will send a write of 00h to the status register. this must keep the flash part unlocked. if there is no need to execute a write enab le on the status register, then opcodes 06h and 50h must be ignored. after global unlock, bios has the ability to lock down small sections of the flash as long as they do not involve the me or gbe region. 5.24.4.4 hardware sequencing requirements table 5-54 contains a list of commands and th e associated opcodes that a spi-based serial flash device must support to be compatible with hardware sequencing. table 5-54. hardware sequencing commands and opcode requiremen ts (sheet 1 of 2) commands opcode notes write to status register 01h writes a byte to spi flash?s status register. enable write to status register command must be run prior to this command. program data 02h single byte or 64 byte write as determined by flash part capabilities and software. read data 03h write disable 04h read status 05h outputs contents of spi flash?s status register write enable 06h fast read 0bh enable write to status register 50h or 60h enables a bit in the status regi ster to allow an update to the status register
functional description 266 datasheet 5.24.4.4.1 jedec id since each serial flash device may have unique capabilities and commands, the jedec id is the necessary mechanism for identify ing the device so the uniqueness of the device can be comprehended by the controlle r (master). the jedec id uses the opcode 9fh and a specified implementation an d usage model. this jedec standard manufacturer and device id read method is defined in standard jesd21-c, prn03-nv. 5.24.5 multiple page write usage model the system bios and intel ? management engine firmware usage models require that the serial flash device support multiple writes to a page (minimum of 512 writes) without requiring a preceding erase command. bios commonly uses capabilities such as counters that are used for error logging and system boot progress logging. these counters are typically implemented by using byte-writes to ?increment? the bits within a page that have been designated as the counter. the intel ? me firmware usage model requires the capability for multiple data updates within any given page. these data updates occur using byte-writes without executing a preceding erase to the given page. both the bios and intel ? me firmware multiple page write usage models apply to sequential and non-sequential data writes. note: this usage model requirement is based on any given bit only being written once from a ?1? to a ?0?without requiring the preceding er ase. an erase would be required to change bits back to the 1 state. 5.24.5.1 soft flash protection there are two types of flash protection th at are not defined in the flash descriptor supported by pch: 1. bios range write protection 2. smi#-based global write protection both mechanisms are logically or?d together such that if any of the mechanisms indicate that the access should be blocked, then it is blocked. table 5-55 provides a summary of the mechanisms. a blocked command will appear to software to finish, except that the blocked access status bit is set in this case. erase program mable 256b, 4 kbyte, 8 kbyte or 64 kbyte full chip erase c7h jedec id 9fh see section 5.24.4.4.1 . table 5-54. hardware sequencing commands and opcode requirements (sheet 2 of 2) commands opcode notes table 5-55. flash protec tion mechanism summary mechanism accesses blocked range specific? reset-override or smi#- override? equivalent function on fwh bios range write protection writes yes reset override fwh sector protection write protect writes no smi# override same as write protect in intel ? ichs for fwh
datasheet 267 functional description 5.24.5.2 bios range write protection the pch provides a method for blocking writes to specific ranges in the spi flash when the protected bios ranges are enabled. this is achieved by checking the opcode type information (which can be locked down by th e initial boot bios) and the address of the requested command against the base and limit fields of a write protected bios range. note: once bios has locked down the protected bios range registers, this mechanism remains in place until the next system reset. 5.24.5.3 smi# based global write protection the pch provides a method for blocking writes to the spi flash when the write protected bit is cleared (that is, protected). this is achieved by checking the opcode type information (which can be locked down by the initial boot bios) of the requested command. the write protect and lock enable bits inte ract in the same manner for spi bios as they do for the fwh bios. 5.24.6 flash device configurations the pch-based platform must have a spi flash connected directly to the pch with a valid descriptor and intel ? management engine firmware. bios may be stored in other locations such as firmware hub and spi fl ash hooked up directly to an embedded controller for mobile platforms. note this w ill not avoid the direct spi flash connected to pch requirement. 5.24.7 spi flash device recommended pinout the table below contains the recommended se rial flash device pin-out for an 8-pin device. use of the recommended pin-out on an 8-pin device reduces complexities involved with designing the serial flash device onto a motherboard and allows for support of a common footprint usage model (see section 5.24.8.1 ). although an 8-pin device is preferred over a 16-pin device due to footprint compatibility, the following table contains the recommended serial flash device pin-out for a 16-pin soic. table 5-56. recommended pinout for 8-pin serial flash device pin # signal 1chips select 2 data output 3 write protect 4 ground 5 data input 6serial clock 7hold / reset 8 supply voltage
functional description 268 datasheet 5.24.8 serial flash device package 5.24.8.1 common footprint usage model to minimize platform motherboard redesign and to enable platform bill of material (bom) selectability, many pc system oem?s design their motherboard with a single common footprint. this common footprint allo ws population of a soldered down device or a socket that accepts a leadless device. this enables the board manufacturer to support, using selection of the appropriate bo m, either of these solutions on the same system without requiring any board redesign. the common footprint usage model is desirable during system debug and by flash content developers since the leadless device can be easily removed and reprogrammed without damage to device leads. when the board and flash content is mature for high- volume production, both the socketed leadle ss solution and the soldered down leaded solution are available through bom selection. 5.24.8.2 serial flash device package recommendations it is highly recommended that the common footprint usage model be supported. an example of how this can be accomplished is as follows: ? the recommended pinout for 8-pin serial flash devices is used (see section 5.24.7 ). ? the 8-pin device is supported in either an 8-contact vdfpn (6x5 mm mlp) package or an 8-contact wson (5x6 mm) package. these packages can fit into a socket that is land pattern compatible with the wide body so8 package. ? the 8-pin device is supported in the so8 (150 mil) and in the wide-body so8 (200 mil) packages. the 16-pin device is supported in the so16 (300 mil) package. table 5-57. recommended pinout for 16-pin serial flash device pin # signal pin # signal 1 hold / reset 9 write protect 2 supply voltage 10 ground 3 no connect 11 no connect 4 no connect 12 no connect 5 no connect 13 no connect 6 no connect 14 no connect 7 chip select 15 serial data in 8 serial data out 16 serial clock
datasheet 269 functional description 5.25 intel ? quiet system technology (intel ? qst) (desktop only) the pch implements 4 pwm and 4 tach signals for intel ? quiet system technology (qst). note: intel ? quiet system technology functionality requires a correctly configured system, including an appropriate processor, pch with intel ? me, intel ? me firmware, and system bios support. 5.25.1 pwm outputs this signal is driven as open-drain. an external pull-up resistor is integrated into the fan to provide the rising edge of the pwm output signal. the pwm output is driven low during reset, which represents 0% duty cycl e to the fans. after reset de-assertion, the pwm output will continue to be driven low until one of the following occurs: ? the internal pwm control register is programmed to a non-zero value by the intel ? qst firmware. ? the watchdog timer expires (enabled and set at 4 seconds by default). ? the polarity of the signal is inverted by the intel ? qst firmware. note that if a pwm output will be programmed to inverted polarity for a particular fan, then the low voltage driven during rese t represents 100% duty cycle to the fan. 5.25.2 tach inputs this signal is driven as an open-collector or open-drain output from the fan. an external pull-up is expected to be impl emented on the motherboard to provide the rising edge of the tach input. this signal has analog hysteresis and digital filtering due to the potentially slow rise and fall times. this signal has a weak internal pull-up resistor to keep the input buffer from floating if the tach input is not connected to a fan. 5.26 feature capability mechanism a set of registers is included in the pch lpc interface (device 31, function 0, offset e0h?ebh) that allows the system software or bios to easily determine the features supported by the pch. these registers can be accessed through lpc pci configuration space, thus allowing for convenient single point access mechanism for chipset feature detection. this set of registers consists of: ? capability id (fdcap) ? capability length (fdlen) ? capability version and vendor-s pecific capability id (fdver) ? feature vector (fvect)
functional description 270 datasheet 5.27 pch display interfaces and intel ? flexible display interconnect display is divided between processor and pch. the processor houses memory interface, display planes, and pipes while pch has transcoder and display interface or ports. intel ? fdi connects the processor and pc h display engine. the number of planes, pipes, and transcoders decide the number of simultaneous and concurrent display devices that can be driven on a platform. the pch integrates one analog, lvds (mobile only) and three digital ports b, c, and d. each digital port can transmit data according to one or more protocols. digital port b, c and d can be configured to drive natively hdmi, displayport or dvi. digital port b also supports serial digital video out (sdvo) that converts one protocol to another. digital port d can be configured to drive natively embedded displayport (edp). each display port has control signals that may be used to control, configure and/or determine the capabilities of an external device. the pch?s analog port uses an integrated 340.4 mhz ramdac that can directly drive a standard progressive scan analog monitor up to a resolution of 2048x1536 pixels with 32-bit color at 75 hz. the pch sdvo port (configured through digita l port b) is capable of driving a 200 mp (megapixels/second) rate. each digital port is capable of driving reso lutions up to 2560x1600 at 60 hz through displayport and 1920x1200 at 60 hz using hdmi or dvi (with reduced blanking). 5.27.1 analog display inte rface characteristics the analog port provides a rgb signal ou tput along with a hsync and vsync signal. there is an associated display data channel (ddc) signal pair that is implemented using gpio pins dedicated to the analog port . the intended target device is for a moni- tor with a vga connector. display devices such as lcd panels with analog inputs may work satisfactory but no functionality adde d to the signals to enhance that capability. figure 5-14. analog port characteristics
datasheet 271 functional description 5.27.1.1 integrated ramdac the display function contains a ram-based digital-to-analog converter (ramdac) that transforms the digital data from the graphics and video subsystems to analog data for the vga monitor. the pch?s integrated 340. 4 mhz ramdac supports resolutions up to 2048x 1536 @ 75 hz. three 8-bit dacs provide the r, g, and b signals to the monitor. 5.27.1.1.1 sync signals hsync and vsync signals are digital and conform to ttl signal levels at the connector. since these levels cannot be generated internal to the device, external level shifting buffers are required. these signals can be pola rity adjusted and individually disabled in one of the two possible states. the sync signals should power up disabled in the high state. no composite sync or special flat panel sync support are included. 5.27.1.1.2 vesa/vga mode vesa/vga mode provides compatibility for pre-existing software that set the display mode using the vga crtc registers. timings are generated based on the vga register values and the timing generator registers are not used. 5.27.1.2 ddc (display data channel) ddc is a standard defined by vesa. its purpose is to allow communication between the host system and display. both configuratio n and control information can be exchanged allowing plug- and-play systems to be realized. support for ddc 1 and 2 is implemented. the pch uses the ddc_clk an d ddc_data signals to communicate with the analog monitor. the pch will generate these signals at 2.5 v. external pull-up resistors and level shifting circuitry should be implemented on the board. 5.27.2 digital display interfaces the pch can drive a number of digital interfaces natively. the digital ports b, c, and/or d can be configured to drive hdmi, dvi, di splayport, and embedded displayport (port d only). the pch provides a dedicated port for digital port lvds (mobile only). 5.27.2.1 lvds (mobile only) lvds for flat panel is compatible with the ansi/tia/eia-644 specification. this is an electrical standard only defining driver output characteristics and receiver input characteristics. each channel supports transmit clock freque ncy ranges from 25 mhz to 112 mhz, which provides a throughput of up to 784 mbps on each data output and up to 112 mp/s on the input. when using both channels, each carry a portion of the data; thus, doubling the throughput to a maximum theoretical pixel rate of 224 mp/s. there are two lvds transmitter channels (channel a and channel b) in the lvds interface. channel a and channel b consist of 4-data pairs and a clock pair each. the lvds data pair is used to transfer pixel data as well as the lcd timing control signals. figure 5-15 shows a pair of lvds signals and swing voltage.
functional description 272 datasheet logic values of 1s and 0s are represented by the differential voltage between the pair of signals. as shown in the figure 5-16 a serial pattern of 1100011 represents one cycle of the clock. 5.27.2.2 lvds pair states the lvds pairs can be put into one of five states: ?active ?powered down hi-z ? powered down 0 v ?common mode ?send zeros when in the active state, several data fo rmats are supported. when in powered down state, the circuit enters a low power state and drives out 0v or the buffer is in the hi-z state on both the output pins for the entire channel. the common mode hi-z state is both pins of the pair set to the common mo de voltage. when in the send zeros state, the circuit is powered up but sends only zero for the pixel color data regardless what the actual data is with the clock lines and timing signals sending the normal clock and timing data. the lvds port can be enabled/disabled using software. a disabled port enters a low power state. once the port is enabled, indivi dual driver pairs may be disabled based on the operating mode. disabled drivers can be powered down for reduced power consumption or optionally fixed to forced 0s output. individual pairs or sets of lvds pairs can be selectively powered down when not being used. the panel power sequencing can be set to override the selected power state of the drivers during power sequencing. figure 5-15. lvds sign als and swing voltage figure 5-16. lvds cloc k and data relationship
datasheet 273 functional description 5.27.2.3 single channel ve rsus dual channel mode in the single channel mode, only channel- a is used. channel-b cannot be used for single channel mode. in the dual channel mode, both channel-a and channel-b pins are used concurrently to drive one lvds display. in single channel mode, channel a can take 18 bits of rgb pixel data, plus 3 bits of timing control (hsync/vsync/de) and output them on three differential data pair outputs; or 24 bits of rgb (plus 4 bits of timi ng control) output on four differential data pair outputs. a dual channel interface converts 36 or 48 bits of color information plus the 3 or 4 bits of timing control respectively and outputs it on six or eight sets of differential data outputs respectively. dual channel mode uses twice the number of lvds pairs and transfers the pixel data at twice the rate of the single channel. in gene ral, one channel will be used for even pixels and the other for odd pixel data. the first pixel of the line is determined by the display enable going active and that pixel will be se nt out channel-a. all horizontal timings for active, sync, and blank will be limited to be on two pixel boundaries in the two channel modes. note: platforms using the pch for integrated graphi cs support 24-bpp display panels of type 1 only (compatible with vesa lvds color mapping). 5.27.2.4 panel power sequencing this section provides details for the power sequence timing relationship of the panel power, the backlight enable and the lvds data timing delivery. to meet the panel power timing specification requirements two si gnals, lfp_vdd_en and lfp_bklt_en, are provided to control the timing sequencing function of the panel and the backlight power supplies. a defined power sequence is recommended when enabling the panel or disabling the panel. the set of timing parameters can vary from panel to panel vendor, provided that they stay within a predefined range of va lues. the panel vdd power, the backlight on/ off state and the lvds clock and data lines are all managed by an internal power sequencer. note: support for programming parameters tx and t1 through t5 using software is provided. figure 5-17. panel power sequencing power on sequence from off state and power off sequence after full on panel vdd enable panel backlight enable clock/data lines t1+t2 t5 t3 valid t4 panel on off off tx t4
functional description 274 datasheet 5.27.2.5 lvds ddc the display pipe selected by the lvds display port is programmed with the panel timing parameters that are determined by installe d panel specifications or read from an onboard edid rom. the programmed timing va lues are then ?locked? into the registers to prevent unwanted corruption of the values. from that point on, the display modes are changed by selecting a different source size for that pipe, programming the vga registers, or selecting a source size and enabling the vga. the lvds ddc helps to read the pane l timing parameters or panel edid. 5.27.2.6 high definition multimedia interface the high-definition multimedia interface (hdmi) is provided for transmitting uncompressed digital audio and video signals from dvd players, set-top boxes and other audiovisual sources to television sets, projectors and other video displays. it can carry high quality multi-channel audio data and all standard and high-definition consumer electronics video formats. hdmi display interface connecting the pch and display devices utilizes transition minimized differential signaling (tmds) to carry audiovisual information through the same hdmi cable. hdmi includes three separate communication s channels: tmds, ddc, and the optional cec (consumer electronics control) (not supported by the pch). as shown in figure 5-18 , the hdmi cable carries four differential pairs that make up the tmds data and clock channels. these channels are used to carry video, audio, and auxiliary data. in addition, hdmi carries a vesa display. th e ddc channel is used by an hdmi source to determine the capabilities and characteristics of the sink. audio, video and auxiliary (control/status) data is transmitted across the three tmds data channels. the video pixel clock is tran smitted on the tmds clock channel and is used by the receiver for data recovery on the three data channels. the digital display data signals driven natively through the pch are ac coupled and needs level shifting to convert the ac coupled signals to the hdmi compliant digital signals. pch hdmi interface is designed as pe r high-definition multimedia interface specification 1.4a. the pch supports high-d efinition multimedia interface compliance test specification 1.4a. figure 5-18. hdmi overview
datasheet 275 functional description 5.27.2.7 digital video interface (dvi) the pch digital ports can be configured to drive dvi-d. dvi uses tmds for transmitting data from the transmitter to the receiver wh ich is similar to the hdmi protocol but the audio and cec. refer to the hdmi section for more information on the signals and data transmission. to drive dvi-i through the back panel the vga ddc signals is connected along with the digital data and clock signals from one of the digital ports. when a sys- tem has support for a dvi-i port, then either vga or the dvi-d through a single dvi-i connector can be driven but not both simultaneously. the digital display data signals driven natively through the pch are ac coupled and needs level shifting to convert the ac coupled signals to the hdmi compliant digital signals. 5.27.2.8 display port* displayport is a digital communication interface that utilizes differential signaling to achieve a high bandwidth bus interface designed to support connections between pcs and monitors, projectors, and tv displays. displayport is also suitable for display connections between consumer electronics devices such as high definition optical disc players, set top boxes, and tv displays. a displayport consists of a main link, auxilia ry channel, and a hot plug detect signal. the main link is a uni-directional, high-b andwidth, and low latency channel used for transport of isochronous data streams such as uncompressed video and audio. the auxiliary channel (aux ch) is a half-dup lex bidirectional channel used for link management and device control. the hot plug detect (hpd) signal serves as an interrupt request for the sink device. pch is designed as per vesa displayport standard version 1.1a. the pch supports vesa displayport* phy compliance test spec ification 1.1 and vesa displayport* link layer compliance test specification 1.1. note: displayport includes support for dual-mode operation. 5.27.2.9 embedded displayport embedded displayport (edp*) is an embedd ed version of the displayport standard oriented towards applications such as note book and all-in-one pc?s. edp is supported only on digital port d. like displayport, em bedded displayport also consists of a main link, auxiliary channel, and a op tional hot plug detect signal. figure 5-19. dp overview
functional description 276 datasheet the edp support on desktop pch is possible be cause of the addition of the panel power sequencing pins: l_vdd, l_bklt_en and l_blkt_ctrl. the edp on the pch can be configured for 2 or 4 lanes. pch supports embedded displayport* (edp*) standard version 1.1. 5.27.2.10 displayport aux channel a bi-directional ac coupled aux channel interface replaces the i 2 c for edid read, link management and device control. i 2 c-to-aux bridges are required to connect legacy display devices. 5.27.2.11 displayport hot-plug detect (hpd) the pch supports hpd for hot-plug sink even ts on the hdmi and displayport interface. 5.27.2.12 integrated audio over hdmi and displayport displayport and hdmi interfaces on pch support audio. table 5-58 shows the supported audio technologies on the pch. pch adds support for silent stream. silent stream is a integrated audio feature that enables short audio streams such as system events to be heard over the hdmi and displayport monitors. pch supports silent streams over the hdmi and displayport interfaces at 48 khz, 96 khz, and 192 khz sampling rates. 5.27.2.13 serial digital video out (sdvo) serial digital video out (sdvo) sends display data in serialized format which then can be converted into appropriate display protocol using a sdvo device. serial digital video out (sdvo) supports sdvo-lvds only on the pch. though the sdvo electrical interface is based on the pci express interfac e, the protocol and ti mings are completely unique. the pch utilizes an exte rnal sdvo device to translate from sdvo protocol and timings to the desired display format and timings. sdvo is supported only on digital port b of the pch. table 5-58. pch supported audio fo rmats over hdmi and displayport* audio formats hdmi displayport ac-3 - dolby* digital yes no dolby* digital plus yes no dts-hd* yes no lpcm, 192 khz/24 bit, 8 channel yes yes (two channel - up to 96 khz 24 bit) dolby true hd, dts-hd master audio (losses blu-ray audio format) yes no
datasheet 277 functional description 5.27.2.14 control bus communication to sdvo registers and if utilized, add2 proms and monitor ddcs, are accomplished by using the sdvoctrldata and sdvoctrlclk signals through the sdvo device. these signals run up to 400 khz and connect directly to the sdvo device. the sdvo device is then responsible for routing the ddc and prom data streams to the appropriate location. consult sdvo device data sheets for level shifting requirements of these signals. figure 5-20. sdvo conceptual block diagram sdvo b 3 rd party sdvo external device green b red b blue b tv clock in control data control clock stall interrupt pch lvds panel
functional description 278 datasheet 5.27.3 mapping of digital display interf ace signals table 5-59. pch digital display port pin mapping port description displayport signals hdmi signals sdvo signals pch display port pin details port b dpb_lane3 tmdsb_clk sdvob_clk ddpb_[3]p dpb_lane3# tmdsb_clkb sdvob_clk# ddpb_[3]n dpb_lane2 tmdsb_data0 sdvob_blue ddpb_[2]p dpb_lane2# tmdsb_data0b sdvob_blue# ddpb_[2]n dpb_lane1 tmdsb_data1 sdvob_green ddpb_[1]p dpb_lane1# tmdsb_data1b sdvob_green# ddpb_[1]n dpb_lane0 tmdsb_data2 sdvob_red ddpb_[0]p dpb_lane0# tmdsb_data2b sdvob_red* ddpb_[0]n dpb_hpd tmdsb_hpd ddpb_hpd dpb_aux ddpb_auxp dpb_auxb ddpb_auxn port c dpc_lane3 tmdsc_clk ddpc_[3]p dpc_lane3# tmdsc_clkb ddpc_[3]n dpc_lane2 tmdsc_data0 ddpc_[2]p dpc_lane2# tmdsc_data0b ddpc_[2]n dpc_lane1 tmdsc_data1 ddpc_[1]p dpc_lane1# tmdsc_data1b ddpc_[1]n dpc_lane0 tmdsc_data2 ddpc_[0]p dpc_lane0# tmdsc_data2b ddpc_[0]n dpc_hpd tmdsc_hpd ddpc_hpd dpc_aux ddpc_auxp dpc_auxc ddpc_auxn port d dpd_lane3 tmdsd_clk ddpd_[3]p dpd_lane3# tmdsd_clkb ddpd_[3]n dpd_lane2 tmdsd_data0 ddpd_[2]p dpd_lane2# tmdsd_data0b ddpd_[2]n dpd_lane1 tmdsd_data1 ddpd_[1]p dpd_lane1# tmdsd_data1b ddpd_[1]n dpd_lane0 tmdsd_data2 ddpd_[0]p dpd_lane0# tmdsd_data2b ddpd_[0]n dpd_hpd tmdsd_hpd ddpd_hpd dpd_aux ddpd_auxp dpd_auxd ddpd_auxn
datasheet 279 functional description 5.27.4 multiple display configurations the following multiple display configurat ion modes are supported (with appropriate driver software): ? single display is a mode with one display port activated to display the output to one display device. ?intel ? dual display clone is a mode with two display ports activated to drive the display content of same color depth setting but potentially different refresh rate and resolution settings to all the active display devices connected. ? extended desktop is a mode with two display ports activated used to drive the content with potentially different color de pth, refresh rate, and resolution settings on each of the active display devices connected. table 5-61 describes the valid interoperability between display technologies. 5.27.5 high-bandwidth digita l content protection (hdcp) hdcp is the technology for protecting high definition content against unauthorized copy or unreceptive between a source (computer, digital set top boxes, etc.) and the sink (panels, monitor and tvs). the pch supports hdcp 1.4 for content protection over wired displays (hdmi, dvi and displayport). the hdcp 1.4 keys are integrated into the pch and customers are not required to physically configure or handle the keys. table 5-60. display co-existence table display not attached dac integrated lvds integrated displayport* hdmi*/ dvi edp* vga not attached xs s s s s dac vga s xs 1 , c, e a a s 1 , c, e integrated lvds ss 1 , c, e xs 1 , c, e s 1 , c, e x integrated displayport sas 1 , c, e a a s 1 , c, e hdmi/dvi sas 1 , c, e a s 1 , c, e s 1 , c, e sdvo lvds ss 1 , c, e s 1 , c, e s 1 , c, e s 1 , c, e a edp ss 1 , c, e xs 1 , c, e s 1 , c, e x ? a = single pipe single display, intel ? dual display clone (only 24 -bpp), or extended desktop mode ? c = clone mode ? e = extended desktop mode ? s = single pipe single display ?s 1 = single pipe single display with one display device disabled ? x = unsupported/not applicable
functional description 280 datasheet 5.27.6 intel ? flexible display interconnect intel ? fdi connects the display engine in the pr ocessor with the display interfaces on the pch. the display data from the frame buff er is processed in the display engine of the processor and sent to the pch over the in tel fdi where it is transcoded as per the display protocol and driven to the display monitor. intel fdi has two channels a and b. each ch annel has 4 lanes and total combined is 8 lanes to transfer the data from the processor to the pch. depending on the data bandwidth the interface is dynamically configured as x1, x2 or x4 lanes. intel fdi supports lane reversal and lane polarity reversal. 5.28 intel ? virtualization technology intel ? virtualization technology (intel ? vt) makes a single system appear as multiple independent systems to software. this allows for multiple, independent operating systems to be running simultaneously on a single system. intel ? vt comprises technology components to support virt ualization of platforms based on intel architecture microprocessors and chipsets. the first revision of this technology (intel ? vt-x) added hardware support in the processor to improve the virtualization performance and robustness. the second revision of this specification (intel ? vt-d) adds chipset hardware implementation to improve i/o performance and robustness. the intel ? vt-d spec and other vt documents can be referenced here: http:// www.intel.com/technology/platform-te chnology/virtualization/index.htm 5.28.1 intel ? vt-d objectives the key intel ? vt-d objectives are domain based isolation and hardware based virtualization. a domain can be abstractly defined as an isolated environment in a platform to which a subset of host physical memory is allocated. virtualization allows for the creation of one or more partitions on a single system. this could be multiple partitions in the same os or there can be multiple operating system instances running on the same system offering benefits such as system consolidation, legacy migration, activity partitioning or security. 5.28.2 intel ? vt-d features supported ? the following devices and functions support flr in the pch: ? high definition audio (device 27: function 0) ? sata host controller 1 (device 31: function 2) ? sata host controller 2 (device 31: function 5) ? usb2 (ehci) host controller 1 (device 29: function 0) ? usb2 (ehci) host controller 2 (device 26: function 0) ? gbe lan host controller (device 25: function 0) ? interrupt virtualization support for ioxapic ? virtualization support for hpets
datasheet 281 functional description 5.28.3 support for function level reset (flr) in intel ? 5 series chipset and intel ? 3400 series chipset intel ? vt-d allows system software (vmm/os) to assign i/o devices to multiple domains. the system software, then, requires ways to reset i/o devices or their func- tions within, as it assigns/re-assigns i/o devices from one domain to another. the reset capability is required to ensure the devices have undergone proper re-initialization and are not keeping the stale state. a standard ability to reset i/o devices is also useful for the vmm in case where a guest domain with assigned devices has become unrespon- sive or has crashed. pci express defines a form of device hot reset which can be initiated through the bridge control register of the root/switch port to which the device is attached. how- ever, the hot reset cannot be applied selectively to specific device functions. also, no similar standard functionality exists for resetting root-complex integrated devices. current reset limitations ca n be addressed through a function level reset (flr) mecha- nism that allows software to independently reset specific device functions. 5.28.4 virtualization support for pch?s ioxapic the vt-d architecture extension requires interrupt messages to go through the similar address remapping as any other memory requests. this is to allow domain isolation for interrupts such that a device assigned in one domain is not allowed to generate interrupts to another domain. the address remapping for vt-d is based on the bus:device:function field associated with the requests. hence, it is required for the internal ioxapic to initiate the interrupt messages using a unique bus:device:function. the pch supports bios programmable unique bus:device:function for the internal ioxapic. the bus:device:function field does not change the ioxapic functionality in anyway, nor promoting ioxapic as a stand-alone pci device. the field is only used by the ioxapic in the following: ? as the requestor id when initiating interrupt messages to the processor ? as the completer id when responding to the reads targeting the ioxapic?s memory-mapped i/o registers 5.28.5 virtualization support fo r high precision event timer (hpet) the vt-d architecture extension requires interrupt messages to go through the similar address remapping as any other memory requests. this is to allow domain isolation for interrupts such that a device assigned in one domain is not allowed to generate interrupts to another domain. the address remapping for vt-d is based on the bus:device:function field associated with the requests. hence, it is required for the hpet to initiate the direct fsb interrupt messages using unique bus:device:function. the pch supports bios programmable unique bus:device:function for each of the hpet timers. the bus:device:f unction field does not change the hpet functionality in anyway, nor promoting it as a stand-alone pci device. the field is only used by the hpet timer in the following: ? as the requestor id when initiating direct interrupt messages to the processor ? as the completer id when responding to the reads targeting its memory-mapped registers the registers for the programmable bus:devi ce:function for hpet timer 7:0 reside under the device 31:function 0 lp c bridge?s configuration space.
functional description 282 datasheet 5.29 intel ? 5 series chipset and intel ? 3400 series chipset platform clocks pch-based platforms require several single-end ed and differential clocks to synchronize signal operation and data propagation sy stem-wide between interfaces, and across clock domains. depending on implementation, the clocks will either be provided by a third-party clock chip, in buffered mode, or by the pch itself. in buffered mode, the clock chip prov ides the following clocks to the pch: ? 133-mhz differential, ssc capable ? 100-mhz differential, ssc capable ? 100-mhz differential isolated for sata, ssc capable ? 96 mhz differential ? 14.318 mhz single-ended ? some clock chips may have an additional 25-mhz single-ended output. this output is typically provided for lan clocking and will not be routed through the pch. the output signals from the pch are: ? 1x 133-mhz differential source for proce ssor and memory, reusable as a 100-mhz pci express * gen. 1.1 clock source. ? 1x 100-mhz differential source for dmi (pci express* 2.0 jitter tolerant) ? 2x 100-mhz differential sources for pci express* 2.0 ? 8x 100-mhz differential sources for pci express* 1.1 ? 5x 33.3 mhz single-ended source for pci (1x of these is reserved as loopback clock) ? 1x 120-mhz differential source for onboard displayport, reusable as a processor clock source ? 2x flexible single-ended outputs that can range from 14.31818 or 48 mhz usable for usb, legacy platform functions, etc. 5.29.1 platform cloc king requirements providing a platform-level clocking solu tion uses multiple system components including: ?intel ? 5 series chipset or intel ? 3400 series chipset ? 3rd party clock chip ? intel ck505 clock specification ? 25 mhz crystal source
datasheet 283 ballout definition 6 ballout definition this chapter contains the pch ballout information. 6.1 pch desktop ballout this section contains the pch desktop ballout. figure 6-1 and figure 6-2 show the ballout from a top of the package quadrant view. table 6-1 is the bga ball list, sorted alphabetically by signal name.
ballout definition 284 datasheet figure 6-1. pch ballout (top view?left side) (desktop) ba ay aw av au at ar ap an am al ak aj ah ag af ae ad ac ab aa 1 vss_nctf tp22_nct f vcc3_3_nc tf --- ad14 --- vss --- v5ref --- --- clkoutfl ex1 / gpio65 --- vccme --- vccadac --- --- crt_red --- vccaclk 1 2 vss_nctf vss_nctf --- vcc3_3 --- ad23 --- ad13 --- ad16 ad22 --- vccme --- crt_ddc_ clk --- dac_iref vss --- crt_blue --- 2 3 vcc3_3_nc tf vcc3_3 vss c/be0# ad12 --- ad9 --- ad15 gnt3# / gpio55 clkoutfl ex3 / gpio67 vss --- vccme --- vss vss crt_vsyn c crt_gre en --- xclk_rco mp 3 4--- req2# / gpio52 pirqh# / gpio5 --- --- perr# pirqb# req0# --- ad18 ad24 --- vccme vccme crt_ddc_ data --- vss crt_hsyn c --- crt_irtn vss 4 5 pirqd# --- req1# / gpio50 vss vss ad21 --- c/be2# vss --- --- vss vccme --- vccme vss --- --- vss vss --- 5 6 --- c/be1# --- serr# ad2 devsel# --- par ad29 --- trdy# gnt1# / gpio51 --- vccme --- clkout_p ci0 --- vss --- clkoutfl ex2 / gpio66 --- 6 7 vss --- ad10 ad7 --- --- --- irdy# ad27 --- frame# ad28 --- pirqf# / gpio3 --- refclk14i n --- clkout_p ci1 --- ddpd_ct rlclk --- 7 8 --- ad19 --- ad5 pirqe# / gpio2 pirqa# ad11 --- stop# --- vss vss --- req3# / gpio54 --- vccme --- vss --- vss --- 8 9 gnt2# / gpio53 --- ad8 --- vss ad0 ad6 ad4 --- --- ad26 vss --- vss --- clkout_p ci2 --- clkout_p ci3 --- ddpd_ct rldata --- 9 10 --- ad3 c/be3# ad25 --- --- --- --- --- vss ad20 vss --- pcirst# --- vccme --- clkoutfl ex0 / gpio64 --- ddpc_ct rlclk --- 10 11 --- tach3 / gpio7 tach0 / gpio17 tach2 / gpio6 --- pirqc# vss ad1 ad31 ad17 clkin_pci loopbac k gnt0# --- pme# --- vss --- vss --- ddpc_ct rldata --- 11 12 pwm0 --- pwm2 --- vss fwh0 / lad0 pwm1 pirqg# / gpio4 vss vss ldrq0# plock# --- ad30 --- vss --- clkout_p ci4 --- sdvo_ct rldata --- 12 13 --- pwm3 --- hda_sdin 0 hda_sdin 2 --- --- --- --- --- --- --- --- vccme --- vccme --- vccme --- sdvo_ct rlclk --- 13 14 vss --- hda_bclk hda_rst# --- vss fwh4 / lframe# ldrq1# / gpio23 vss vss tach1 / gpio1 vcc3_3 vcc3_3 --- --- --- --- --- --- --- --- 14 15 --- usbrbias # --- usbrbias hda_syn c --- --- --- --- --- --- --- --- vss --- reserved vccme vccme --- vccme vccme 15 16 usbp13p --- v5ref_su s --- vss gpio33 gpio13 hda_sdo hda_sdin 3 fwh3 / lad3 fwh2 / lad2 fwh1 / lad1 vcc3_3 vcc3_3 --- vccme vccme vccme --- vccme vccme 16 17 --- usbp13n vss usbp10n --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- 17 18 --- usbp8p vss usbp10p --- vss vss hda_sdin 1 vss vss usbp12p usbp12n vccsushd a vcc3_3 --- vss vcccore vcccore --- vss vccme 18 19 usbp8n --- usbp7p --- vss --- --- --- --- --- --- --- --- vss --- vcccore vcccore vss --- vss vss 19 20 --- usbp5n --- usbp7n vss usbp11p usbp11n vss usbp9p usbp9n usbp6p usbp6n vss vccio --- vcccore vcccore vcccore --- vss vss 20 21 vss --- usbp5p usbp4n --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- 21 22 --- usbp2p --- usbp4p vss vss usbp3n usbp3p vss clkin_do t_96n clkin_do t_96p vss vccio vccio --- vcccore vcccore vss --- vss vss 22 23 usbp1n --- usbp2n --- vss --- --- --- --- --- --- --- --- vccio --- vcccore vcccore vcccore --- vss vcccore 23 24 --- usbp1p vss vss --- tp9 tp10 vss intruder # pwrok rsmrst# rtcrst# vss vss --- vcccore vcccore vss --- vcccore vcccore 24 25 --- usbp0p usbp0n vccsus3_3 --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- 25 26 vccsus3_3 --- vccsus3_3 --- vccsus3_3 vccsus3_3 vccsus 3_3 vccsus3_3 vccsus3_3 vccsus3_3 vccsus3_3 vccsus3_3 vss vss --- vss vcccore vcccore --- vcccore vccio 26 27 --- vccsus3_3 --- vccsus3_3 vccsus3_3 --- --- --- --- --- --- --- --- vss --- dcpsusbyp vcc3_3 vcc3_3 --- vss vccio 27 28 vss --- vss vss --- vccio vss srtcrst# vss vss oc5# / gpio9 oc2# / gpio41 vss --- --- --- --- --- --- --- --- 28 29 --- vccrtc --- vccsus3_3 vss --- --- --- --- --- --- --- --- vss --- vss --- vss --- vss --- 29 30 rtcx2 --- rtcx1 --- vss oc1# / gpio40 vss oc3# / gpio42 vss oc7# / gpio14 oc6# / gpio10 gpio8 --- tp21 --- dcpsus --- vss --- vss --- 30 31 --- lan_rst# intvrmen sml1clk / gpio58 --- oc0# / gpio59 sml1data / gpio75 oc4# / gpio43 sst smbdata smbalert # / gpio11 sus_stat # / gpio61 --- susclk / gpio62 --- vss --- vss --- sata2txn --- 31 32 --- sml1aler t# / gpio74 / clk_cfg_ sel2 drampwr ok smbclk --- --- --- --- --- vss gpio57 vss --- vss --- vss --- sata5txp --- sata2txp --- 32 33 sml0aler t# / gpio60 / clk_cfg_ sel3 --- sml0clk --- vss ri# wake# pcieclkr q3# / gpio25 --- --- mepwrok jtag_tck --- dcpsst --- vss --- sata5txn --- vss --- 33 34 --- gpio72 --- pltrst# lan_phy_ pwr_ctr l / gpio12 sml0data gpio24 --- jtag_tdo --- jtag_tms vss --- vss --- sata5rxp --- vss --- vss --- 34 35 slp_lan# / gpio29 --- peg_b_cl krq# / gpio56 slp_s3# --- --- --- slp_s4# pcieclkr q0# / gpio73 --- trst# tp18 --- tp23 --- sata5rxn --- sata2rxp --- sata1txp --- 35 36 --- gpio15 --- pcieclkr q6# / gpio45 slp_s5# / gpio63 slp_m# --- pcieclkr q7# / gpio46 tp19 --- jtag_tdi pwrbtn# --- vss --- vss --- sata2rxn --- sata1txn --- 36 37 vss --- pcieclkr q4# / gpio26 --- vss gpio30 / proc_mis sing --- gpio27 vss --- --- vss sata0gp / gpio21 --- a20gate vss --- --- vss sata3txn --- 37 38 --- dcprtc pcieclkr q5# / gpio44 --- vss sys_pwr ok sata3gp / gpio37 pcieclkr q2# / gpio20 --- sload / gpio38 sys_rese t# --- spkr sata1gp / gpio19 sdataou t1 / gpio48 --- sata4txp sata4txn --- sata3txp vss 38 39 vccrtc_n ctf --- vccsus3_3 peg_a_cl krq# / gpio47 tp20 --- init3_3v# --- sataled# pcieclkr q1# / gpio18 sdataout 0 / gpio39 sata2gp / gpio36 --- sata4gp / gpio16 / clk_cfg_ sel1 --- vss vss vss sata3rxp --- vss 39 40 vccsus3_3 _nctf vccsus3_3 _nctf vccsus3_3 gpio28 --- stp_pci# / gpio34 --- gpio31 --- rcin# serirq --- gpio32 --- sata5gp / gpio49 / temp_ale rt# --- sata4rxp vss --- vss --- 40 41 tp22_nct f vss_nctf vss_nctf --- vss --- gpio35 --- sclock / gpio22 --- --- gpio0 --- vss --- sata4rxn --- --- sata3rxn --- vss 41 ba ay aw av au at ar ap an am al ak aj ah ag af ae ad ac ab aa
datasheet 285 ballout definition figure 6-2. pch ballout (top view?right side) (desktop) ywvutrpnmlkjhgfedcba 1 --- clkout_p cie0p --- --- vccadpllb --- vss --- ddpb_aux p --- --- ddpb_hpd --- vss --- vss_nctf --- vss_nctf --- --- 1 2 xtal25_o ut --- clkout_p cie0n vss --- vccadplla --- sdvo_sta llp --- ddpb_aux n vss --- ddpd_hpd --- ddpc_1p --- ddpc_3n vccvrm vss_nctf --- 2 3 --- vss vss vss vss --- sdvo_sta lln --- sdvo_int p vss vss ddpc_hpd --- ddpc_1n --- ddpc_0p ddpc_3p vccvrm --- tp22_nctf 3 4 xtal25_in --- clkout_p cie6p clkout_p cie6n --- vss vss sdvo_int n --- ddpd_aux n ddpd_aux p --- ddpb_3n ddpb_3p ddpc_0n vss --- ddpc_2n ddpc_2p --- 4 5 vss vss --- --- vss vss --- vss vss --- --- vss vss --- vss vss --- ddpd_0p --- vss_nctf 5 6 clkout_p eg_a_n --- vss --- clkout_p cie7p --- clkout_p cie4p --- clkout_p cie2n sdvo_tvc lkinp --- vss ddpb_2p --- ddpb_2n vss ddpd_1p --- ddpd_0n --- 6 7 clkout_p eg_a_p --- clkout_p eg_b_n --- clkout_p cie7n --- clkout_p cie4n --- clkout_p cie2p sdvo_tvc lkinn --- vss vss --- --- --- ddpd_1n pern8 --- vss 7 8 clkout_p cie5n --- clkout_p eg_b_p --- vss --- vss --- vss vss --- ddpb_0n --- ddpd_2n ddpd_2p vss pern6 --- perp8 --- 8 9 clkout_p cie5p --- vss --- clkout_p cie1p --- tp13 --- clkout_p cie3n ddpc_aux p --- --- vss ddpd_3n ddpd_3p vss --- perp6 --- vcc3_3 9 10 vss --- reserved --- clkout_p cie1n --- tp12 --- clkout_p cie3p ddpc_aux n ddpb_0p --- --- --- --- --- petp7 vss vss --- 10 11 reserved --- reserved --- vss --- vss --- vss vss ddpb_1p ddpb_1n petp6 petn6 vss --- petn7 vss perp7 --- 11 12 reserved --- vss --- tp7 --- tp4 --- vss vss petn8 petp8 petn5 petp5 vss vss --- pern5 --- pern7 12 13 vss --- vss --- tp6 --- tp5 --- --- --- --- --- --- --- --- vss perp4 --- perp5 --- 13 14 --- --- --- --- --- --- --- vss vss petp4 petn4 vss petn3 petp3 vss --- pern4 perp3 --- vss 14 15 vccme --- vccio vccio vccio --- vccio --- --- --- --- --- --- --- --- vss pern1 --- pern3 --- 15 16 vccme --- vss vss vss --- vccio vccio vccio vss vss vss petn2 petp2 vss vss --- perp1 --- perp2 16 17 --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- petp1 vss pern2 --- 17 18 vccme --- vss vss vss --- vccio vccio vccio tp1 tp2 vss dmi3rxp dmi3rxn vss --- petn1 vss dmi0rxp --- 18 19 vccme --- vss vccio vccio --- vccio --- --- --- --- --- --- --- --- vss --- dmi1rxp --- dmi0rxn 19 20 vcclan --- tp11 vcccore vcccore --- vss vccio vccio vss vss tp3 clkin_dmi _n clkin_dmi _p vss dmi2rxn dmi2rxp --- dmi1rxn --- 20 21 --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- dmi_irco mp dmi_zcom p --- vccapllex p 21 22 vcclan --- vss vcccore vcccore --- vss vccio vccio vss vss dmi0txn dmi0txp dmi1txn dmi1txp vss vss --- vss --- 22 23 vcccore --- vcccore vcccore vcccore --- vss --- --- --- --- --- --- --- --- vss --- vss --- vccdmi 23 24 vcccore --- vcccore vss vcccore --- vccio vccio vccio dmi3txn dmi3txp vss dmi2txn dmi2txp vss --- vccio vccio vccio --- 24 25 --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- vccio vccio vccio --- 25 26 vccio --- vcccore vcccore vcccore --- vcccore vccio vccio vccio vccio vccio vccio vccio vccio vcccore --- vcccore --- vcccore 26 27 vss --- vss vss vcccore --- vcccore --- --- --- --- --- --- --- --- vcccore vcccore --- vcccore --- 27 28 --- --- --- --- --- --- --- vcccore vcccore vcccore vcccore vccco re vcccore vcccore vcccore --- vcccore vcccore --- vcccore 28 29 vccio --- vccio --- vccio --- vcccore --- --- --- --- --- --- --- --- vcccore vcccore --- vcccore --- 29 30 vss --- spi_miso --- vccio --- vccpnand --- reserved vss fdi_rxn0 fdi_rxp0 fdi_rxn1 fdi_rxp1 vss vss --- fdi_rxn5 --- vss 30 31 clkin_bcl k_p --- spi_clk --- reserved --- vss --- reserved vss fdi_rxn4 fdi_rxp4 vss fdi_rxp3 fdi_rxn3 --- fdi_rxn2 vss fdi_rxp5 --- 31 32 clkin_bcl k_n --- spi_cs0# --- spi_cs1# --- reserved --- reserved vss vss --- --- --- --- --- fdi_rxp2 vss fdi_rxp6 --- 32 33 vss --- vss --- reserved --- reserved --- vss reserved --- --- reserved reserved reserved vss --- fdi_rxn7 --- fdi_rxn6 33 34 clkin_sat a_n / cksscd_n --- tp8 --- spi_mosi --- vss --- reserved vss --- nv_ale --- vss vss fdi_fsync 0 vss --- fdi_rxp7 --- 34 35 clkin_sat a_p / cksscd_p --- vss --- vss --- reserved --- reserved nv_cle --- reserved reserved --- --- --- fdi_lsync 1 fdi_lsync 0 --- vss 35 36 vccio --- vccio --- vccio --- reserved --- reserv ed reserved --- reserved reserved --- reserved fdi_fsync 1 peci --- fdi_int --- 36 37 sata1rxp vss --- --- vccio vccio --- vss vss --- --- vss clkout_d p_n / clkout_b clk1_n --- reserved vss vss pmsynch --- vccfdipll 37 38 sata1rxn --- sata0txp sata0txn --- vccio vccio vccme3_3 --- clkout_b clk0_n / clkout_p cie8n clkout_b clk0_p / clkout_p cie8p --- clkout_d p_p / clkout_b clk1_p vss reserved --- --- thrmtrip # procpwr gd --- 38 39 --- vss vss vss sataicom pi --- vccio --- vccpnand vccvrm vss vss --- vss --- reserved vss vss v_cpu_io v_cpu_io_ nctf 39 40 vss --- sata0rxp vcc3_3 --- vccio --- vccme3_3 --- vccvrm vss --- clkout_d mi_n --- reserved --- reserved --- vss_nctf vss_nctf 40 41 --- sata0rxn --- --- sataicom po --- vccsatapl l --- vccpnand --- --- clkout_d mi_p --- vss --- reserved --- vss_nctf vss_nctf tp22_nctf 41 ywv u t r pnml k j hg f edcb a
286 datasheet ballout definition table 6-1. pch ballout by si gnal name (desktop only) pch desktop ball name ball # a20gate ag37 ad0 at9 ad1 ap11 ad2 au6 ad3 ay10 ad4 ap9 ad5 av8 ad6 ar9 ad7 av7 ad8 aw9 ad9 ar3 ad10 aw7 ad11 ar8 ad12 au3 ad13 ap2 ad14 au1 ad15 an3 ad16 am2 ad17 am11 ad18 am4 ad19 ay8 ad20 al10 ad21 at5 ad22 al2 ad23 at2 ad24 al4 ad25 av10 ad26 al9 ad27 an7 ad28 ak7 ad29 an6 ad30 ah12 ad31 an11 c/be0# av3 c/be1# ay6 c/be2# ap5 c/be3# aw10 clkin_bclk_n y32 clkin_bclk_p y31 clkin_dmi_n h20 clkin_dmi_p g20 clkin_dot_96n am22 clkin_dot_96p al22 clkin_pciloopba ck al11 clkin_sata_n / cksscd_n y34 clkin_sata_p / cksscd_p y35 clkout_bclk0_n / clkout_pcie8n l38 clkout_bclk0_p / clkout_pcie8p k38 clkout_dmi_n h40 clkout_dmi_p j41 clkout_dp_n / clkout_bclk1_n h37 clkout_dp_p / clkout_bclk1_p h38 clkout_pci0 af6 clkout_pci1 ad7 clkout_pci2 af9 clkout_pci3 ad9 clkout_pci4 ad12 clkout_pcie0n v2 clkout_pcie0p w1 clkout_pcie1n t10 clkout_pcie1p t9 clkout_pcie2n m6 clkout_pcie2p m7 clkout_pcie3n m9 clkout_pcie3p m10 clkout_pcie4n p7 clkout_pcie4p p6 clkout_pcie5n y8 clkout_pcie5p y9 clkout_pcie6n u4 clkout_pcie6p v4 clkout_pcie7n t7 clkout_pcie7p t6 clkout_peg_a_n y6 clkout_peg_a_p y7 clkout_peg_b_n v7 clkout_peg_b_p v8 clkoutflex0 / gpio64 ad10 clkoutflex1 / gpio65 ak1 pch desktop ball name ball # clkoutflex2 / gpio66 ab6 clkoutflex3 / gpio67 al3 crt_blue ab2 crt_ddc_clk ag2 crt_ddc_data ag4 crt_green ac3 crt_hsync ad4 crt_irtn ab4 crt_red ac1 crt_vsync ad3 dac_iref ae2 dcprtc ay38 dcpsst ah33 dcpsus af30 dcpsusbyp af27 ddpb_0n j8 ddpb_0p k10 ddpb_1n j11 ddpb_1p k11 ddpb_2n f6 ddpb_2p h6 ddpb_3n h4 ddpb_3p g4 ddpb_auxn l2 ddpb_auxp m1 ddpb_hpd j1 ddpc_0n f4 ddpc_0p e3 ddpc_1n g3 ddpc_1p f2 ddpc_2n c4 ddpc_2p b4 ddpc_3n d2 ddpc_3p d3 ddpc_auxn l10 ddpc_auxp l9 ddpc_ctrlclk ab10 ddpc_ctrldata ab11 ddpc_hpd j3 ddpd_0n b6 ddpd_0p c5 ddpd_1n d7 pch desktop ball name ball #
datasheet 287 ballout definition ddpd_1p d6 ddpd_2n g8 ddpd_2p f8 ddpd_3n g9 ddpd_3p f9 ddpd_auxn l4 ddpd_auxp k4 ddpd_ctrlclk ab7 ddpd_ctrldata ab9 ddpd_hpd h2 devsel# at6 dmi_ircomp d21 dmi_zcomp c21 dmi0rxn a19 dmi0rxp b18 dmi0txn j22 dmi0txp h22 dmi1rxn b20 dmi1rxp c19 dmi1txn g22 dmi1txp f22 dmi2rxn e20 dmi2rxp d20 dmi2txn h24 dmi2txp g24 dmi3rxn g18 dmi3rxp h18 dmi3txn l24 dmi3txp k24 drampwrok aw32 fdi_fsync0 e34 fdi_fsync1 e36 fdi_int b36 fdi_lsync0 c35 fdi_lsync1 d35 fdi_rxn0 k30 fdi_rxn1 h30 fdi_rxn2 d31 fdi_rxn3 f31 fdi_rxn4 k31 fdi_rxn5 c30 fdi_rxn6 a33 fdi_rxn7 c33 fdi_rxp0 j30 pch desktop ball name ball # fdi_rxp1 g30 fdi_rxp2 d32 fdi_rxp3 g31 fdi_rxp4 j31 fdi_rxp5 b31 fdi_rxp6 b32 fdi_rxp7 b34 frame# al7 fwh0 / lad0 at12 fwh1 / lad1 ak16 fwh2 / lad2 al16 fwh3 / lad3 am16 fwh4 / lframe# ar14 gnt0# ak11 gnt1# / gpio51 ak6 gnt2# / gpio53 ba9 gnt3# / gpio55 am3 gpio0 ak41 gpio8 ak30 gpio13 ar16 gpio15 ay36 gpio24 ar34 gpio27 ap37 gpio28 av40 gpio31 ap40 gpio32 aj40 gpio33 at16 gpio35 ar41 gpio57 al32 gpio72 ay34 hda_bclk aw14 hda_rst# av14 hda_sdin0 av13 hda_sdin1 ap18 hda_sdin2 au13 hda_sdin3 an16 hda_sdo ap16 hda_sync au15 init3_3v# ar39 intruder# an24 intvrmen aw31 irdy# ap7 jtag_tck ak33 jtag_tdi al36 pch desktop ball name ball # jtag_tdo an34 jtag_tms al34 lan_phy_pwr_ct rl / gpio12 au34 lan_rst# ay31 ldrq0# al12 ldrq1# / gpio23 ap14 mepwrok al33 nv_ale j34 nv_cle l35 oc0# / gpio59 at31 oc1# / gpio40 at30 oc2# / gpio41 ak28 oc3# / gpio42 ap30 oc4# / gpio43 ap31 oc5# / gpio9 al28 oc6# / gpio10 al30 oc7# / gpio14 am30 par ap6 pcieclkrq0# / gpio73 an35 pcieclkrq1# / gpio18 am39 pcieclkrq2# / gpio20 ap38 pcieclkrq3# / gpio25 ap33 pcieclkrq4# / gpio26 aw37 pcieclkrq5# / gpio44 aw38 pcieclkrq6# / gpio45 av36 pcieclkrq7# / gpio46 ap36 pcirst# ah10 peci d36 peg_a_clkrq# / gpio47 av39 peg_b_clkrq# / gpio56 aw35 pern1 d15 pern2 b17 pern3 b15 pern4 d14 pern5 c12 pch desktop ball name ball #
288 datasheet ballout definition pern6 d8 pern7 a12 pern8 c7 perp1 c16 perp2 a16 perp3 c14 perp4 d13 perp5 b13 perp6 c9 perp7 b11 perp8 b8 perr# at4 petn1 d18 petn2 h16 petn3 h14 petn4 k14 petn5 h12 petn6 g11 petn7 d11 petn8 k12 petp1 d17 petp2 g16 petp3 g14 petp4 l14 petp5 g12 petp6 h11 petp7 d10 petp8 j12 pirqa# at8 pirqb# ar4 pirqc# at11 pirqd# ba5 pirqe# / gpio2 au8 pirqf# / gpio3 ah7 pirqg# / gpio4 ap12 pirqh# / gpio5 aw4 plock# ak12 pltrst# av34 pme# ah11 pmsynch c37 proc_missing/ gpio30 at37 procpwrgd b38 pwm0 ba12 pch desktop ball name ball # pwm1 ar12 pwm2 aw12 pwm3 ay13 pwrbtn# ak36 pwrok am24 rcin# am40 refclk14in af7 req0# ap4 req1# / gpio50 aw5 req2# / gpio52 ay4 req3# / gpio54 ah8 reserved af15 reserved v11 reserved y12 reserved v10 reserved y11 reserved h36 reserved h35 reserved p32 reserved e41 reserved t33 reserved p35 reserved h33 reserved f37 reserved e39 reserved g33 reserved d40 reserved f33 reserved t31 reserved p33 reserved m35 reserved l33 reserved m36 reserved m34 reserved m30 reserved f36 reserved p36 reserved f40 reserved m32 reserved l36 reserved m31 reserved f38 reserved j36 reserved j35 pch desktop ball name ball # ri# at33 rsmrst# al24 rtcrst# ak24 rtcx1 aw30 rtcx2 ba30 sata0gp / gpio21 aj37 sata0rxn w41 sata0rxp v40 sata0txn u38 sata0txp v38 sata1gp / gpio19 ah38 sata1rxn y38 sata1rxp y37 sata1txn ab36 sata1txp ab35 sata2gp / gpio36 ak39 sata2rxn ad36 sata2rxp ad35 sata2txn ab31 sata2txp ab32 sata3gp / gpio37 ar38 sata3rxn ac41 sata3rxp ac39 sata3txn ab37 sata3txp ab38 sata4gp / gpio16 / clk_cfg_sel1 ah39 sata4rxn af41 sata4rxp ae40 sata4txn ad38 sata4txp ae38 sata5gp / gpio49 / temp_alert# ag40 sata5rxn af35 sata5rxp af34 sata5txn ad33 sata5txp ad32 sataicompi t39 sataicompo t41 sataled# an39 sclock / gpio22 an41 sdataout0 / gpio39 al39 sdataout1 / gpio48 ag38 pch desktop ball name ball #
datasheet 289 ballout definition sdvo_ctrlclk ab13 sdvo_ctrldata ab12 sdvo_intn n4 sdvo_intp m3 sdvo_stalln p3 sdvo_stallp n2 sdvo_tvclkinn l7 sdvo_tvclkinp l6 serirq al40 serr# av6 sload / gpio38 am38 slp_lan# / gpio29 ba35 slp_m# at36 slp_s3# av35 slp_s4# ap35 slp_s5# / gpio63 au36 smbalert# / gpio11 al31 smbclk av32 smbdata am31 sml0alert# / gpio60 / clk_cfg_sel3 ba33 sml0clk aw33 sml0data at34 sml1alert# / gpio74 / clk_cfg_sel2 ay32 sml1clk / gpio58 av31 sml1data / gpio75 ar31 spi_clk v31 spi_cs0# v32 spi_cs1# t32 spi_miso v30 spi_mosi t34 spkr aj38 srtcrst# ap28 sst an31 stop# an8 stp_pci# / gpio34 at40 sus_stat# / gpio61 ak31 susclk / gpio62 ah31 pch desktop ball name ball # sys_pwrok at38 sys_reset# al38 tach0 / gpio17 aw11 tach1 / gpio1 al14 tach2 / gpio6 av11 tach3 / gpio7 ay11 thrmtrip# c38 tp1 l18 tp2 k18 tp3 j20 tp4 p12 tp5 p13 tp6 t13 tp7 t12 tp8 v34 tp9 at24 tp10 ar24 tp11 v20 tp12 p10 tp13 p9 tp18 ak35 tp19 an36 tp20 au39 tp21 ah30 tp22_nctf ay1 tp22_nctf a3 tp22_nctf ba41 tp22_nctf a41 tp23 ah35 trdy# al6 trst# al35 usbp0n aw25 usbp0p ay25 usbp1n ba23 usbp1p ay24 usbp2n aw23 usbp2p ay22 usbp3n ar22 usbp3p ap22 usbp4n av21 usbp4p av22 usbp5n ay20 usbp5p aw21 usbp6n ak20 pch desktop ball name ball # usbp6p al20 usbp7n av20 usbp7p aw19 usbp8n ba19 usbp8p ay18 usbp9n am20 usbp9p an20 usbp10n av17 usbp10p av18 usbp11n ar20 usbp11p at20 usbp12n ak18 usbp12p al18 usbp13n ay17 usbp13p ba16 usbrbias av15 usbrbias# ay15 v_cpu_io b39 v_cpu_io_nctf a39 v5ref an1 v5ref_sus aw16 vcc3_3 av2 vcc3_3 ay3 vcc3_3 ak14 vcc3_3 aj14 vcc3_3 aj16 vcc3_3 ae27 vcc3_3 ad27 vcc3_3 u40 vcc3_3 a9 vcc3_3 ah16 vcc3_3 ah18 vcc3_3_nctf aw1 vcc3_3_nctf ba3 vccaclk aa1 vccadac af1 vccadplla r2 vccadpllb t1 vccapllexp a21 vcccore ae18 vcccore ad18 vcccore af19 vcccore ae19 vcccore af20 pch desktop ball name ball #
290 datasheet ballout definition vcccore ae20 vcccore ad20 vcccore u20 vcccore t20 vcccore af22 vcccore ae22 vcccore u22 vcccore t22 vcccore af23 vcccore ae23 vcccore ad23 vcccore aa23 vcccore y23 vcccore v23 vcccore u23 vcccore t23 vcccore af24 vcccore ae24 vcccore ab24 vcccore aa24 vcccore y24 vcccore v24 vcccore t24 vcccore ae26 vcccore ad26 vcccore ab26 vcccore v26 vcccore u26 vcccore t26 vcccore p26 vcccore e26 vcccore c26 vcccore a26 vcccore t27 vcccore p27 vcccore e27 vcccore d27 vcccore b27 vcccore n28 vcccore m28 vcccore l28 vcccore k28 vcccore j28 vcccore h28 pch desktop ball name ball # vcccore g28 vcccore f28 vcccore d28 vcccore c28 vcccore a28 vcccore p29 vcccore e29 vcccore d29 vcccore b29 vccdmi a23 vccfdipll a37 vccio ah20 vccio aj22 vccio ah22 vccio ah23 vccio u15 vccio t15 vccio aa27 vccio y29 vccio v29 vccio t29 vccio t30 vccio y36 vccio v36 vccio t36 vccio t37 vccio r37 vccio r38 vccio p38 vccio p39 vccio r40 vccio p24 vccio u19 vccio aa26 vccio v15 vccio y26 vccio at28 vccio n22 vccio n24 vccio n26 vccio p15 vccio p16 vccio n16 vccio m16 pch desktop ball name ball # vccio n18 vccio m18 vccio n20 vccio m20 vccio m22 vccio m24 vccio d24 vccio c24 vccio b24 vccio d25 vccio c25 vccio b25 vccio m26 vccio l26 vccio k26 vccio j26 vccio h26 vccio g26 vccio f26 vccio p18 vccio t19 vccio p19 vcclan y20 vcclan y22 vccme ah1 vccme aj2 vccme ah3 vccme aj4 vccme ah4 vccme aj5 vccme ag5 vccme ah6 vccme af8 vccme af10 vccme ah13 vccme af13 vccme ad13 vccme ae15 vccme ad15 vccme ab16 vccme ad16 vccme af16 vccme ae16 vccme ab15 pch desktop ball name ball #
datasheet 291 ballout definition vccme aa15 vccme y15 vccme aa16 vccme y16 vccme aa18 vccme y18 vccme y19 vccme3_3 n38 vccme3_3 n40 vccpnand p30 vccpnand m39 vccpnand m41 vccrtc ay29 vccrtc_nctf ba39 vccsatapll p41 vccsus3_3 av25 vccsus3_3 ba26 vccsus3_3 aw26 vccsus3_3 au26 vccsus3_3 at26 vccsus3_3 ar26 vccsus3_3 ap26 vccsus3_3 an26 vccsus3_3 am26 vccsus3_3 al26 vccsus3_3 ak26 vccsus3_3 ay27 vccsus3_3 av27 vccsus3_3 au27 vccsus3_3 aw39 vccsus3_3 aw40 vccsus3_3 av29 vccsus3_3_nctf ba40 vccsus3_3_nctf ay40 vccsushda aj18 vccvrm c2 vccvrm l39 vccvrm l40 vccvrm c3 vss av28 vss u39 vss b10 vss af3 vss ah29 pch desktop ball name ball # vss ar1 vss p1 vss g1 vss ad2 vss u2 vss k2 vss aw3 vss ak3 vss ae3 vss w3 vss v3 vss u3 vss t3 vss l3 vss k3 vss ae4 vss aa4 vss r4 vss p4 vss e4 vss av5 vss au5 vss an5 vss ak5 vss af5 vss ac5 vss ab5 vss y5 vss w5 vss t5 vss r5 vss n5 vss m5 vss j5 vss h5 vss f5 vss e5 vss ad6 vss v6 vss j6 vss e6 vss ba7 vss j7 vss h7 pch desktop ball name ball # vss a7 vss al8 vss ak8 vss ad8 vss ab8 vss t8 vss p8 vss m8 vss l8 vss e8 vss au9 vss ak9 vss ah9 vss v9 vss h9 vss e9 vss am10 vss ak10 vss y10 vss c10 vss ar11 vss af11 vss ad11 vss t11 vss p11 vss m11 vss l11 vss f11 vss c11 vss au12 vss an12 vss am12 vss af12 vss v12 vss m12 vss l12 vss f12 vss e12 vss y13 vss v13 vss e13 vss ba14 vss at14 vss an14 pch desktop ball name ball #
292 datasheet ballout definition vss am14 vss n14 vss m14 vss j14 vss f14 vss a14 vss ah15 vss e15 vss au16 vss v16 vss u16 vss t16 vss l16 vss k16 vss j16 vss f16 vss e16 vss aw17 vss c17 vss aw18 vss at18 vss ar18 vss an18 vss am18 vss af18 vss ab18 vss v18 vss u18 vss t18 vss j18 vss f18 vss c18 vss au19 vss ah19 vss ad19 vss ab19 vss aa19 vss v19 vss e19 vss au20 vss ap20 vss aj20 vss ab20 vss aa20 pch desktop ball name ball # vss p20 vss l20 vss k20 vss f20 vss ba21 vss au22 vss at22 vss an22 vss ak22 vss ad22 vss ab22 vss aa22 vss v22 vss l22 vss k22 vss e22 vss d22 vss au23 vss ab23 vss e23 vss aw24 vss av24 vss ap24 vss aj24 vss ah24 vss ad24 vss u24 vss j24 vss f24 vss aj26 vss ah26 vss af26 vss ah27 vss ab27 vss y27 vss v27 vss u27 vss ba28 vss aw28 vss ar28 vss an28 vss am28 vss aj28 vss au29 pch desktop ball name ball # vss af29 vss ad29 vss ab29 vss au30 vss ar30 vss an30 vss ad30 vss ab30 vss y30 vss l30 vss f30 vss e30 vss a30 vss af31 vss ad31 vss p31 vss l31 vss h31 vss c31 vss am32 vss ak32 vss ah32 vss af32 vss l32 vss k32 vss c32 vss au33 vss af33 vss ab33 vss y33 vss v33 vss m33 vss e33 vss ak34 vss ah34 vss ad34 vss ab34 vss p34 vss l34 vss g34 vss f34 vss d34 vss v35 vss t35 pch desktop ball name ball #
datasheet 293 ballout definition vss a35 vss ah36 vss af36 vss ba37 vss au37 vss an37 vss ak37 vss af37 vss ac37 vss w37 vss n37 vss m37 vss j37 vss e37 vss d37 vss au38 vss aa38 vss g38 vss af39 vss ae39 vss ad39 vss aa39 vss w39 vss v39 vss k39 vss j39 vss g39 vss d39 vss c39 vss ad40 vss ab40 vss y40 vss k40 vss au41 vss ah41 vss aa41 vss g41 vss p23 vss b22 vss p22 vss c23 vss_nctf ba1 vss_nctf e1 vss_nctf c1 pch desktop ball name ball # vss_nctf ba2 vss_nctf ay2 vss_nctf b2 vss_nctf a5 vss_nctf b40 vss_nctf a40 vss_nctf ay41 vss_nctf aw41 vss_nctf c41 vss_nctf b41 wake# ar33 xclk_rcomp aa3 xtal25_in y4 xtal25_out y2 pch desktop ball name ball #
ballout definition 294 datasheet 6.2 pch ballout mobile ballout this section contains the pch ballout. figure 6-3 and figure 6-4 show the ballout from a top of the package quadrant view. ta b l e 6 - 2 is the bga ball list, sorted alphabetically by signal name.
datasheet 295 ballout definition figure 6-3. pch ballout (top view?leff side) (mobile only) 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 bj vss_nc tf vss_nc tf vss_nc tf vss_nc tf sdvo_ stalln sdvo_t vclkin n ddpb_ auxp ddpb_1 n ddpd_0 n ddpd_1 n petp8 perp8 petp5 perp1 vccio bj bh vss_nc tf vss_nc tf vss sdvo_in tp vss ddpc_1 p vss ddpd_ 2p vss perp5 vss petp1 vccio bh bg vss sdvo_ stallp sdvo_t vclkin p ddpb_ auxn ddpb_1 p ddpd_0 p ddpd_1 p petn8 pern8 petn5 pern1 vccio bg bf vss_nc tf vss vss sdvo_in tn ddpc_1 n ddpd_ 2n pern5 petn1 bf be vss_nc tf vss vss vss ddpc_ auxn vss ddpc_0 n vss ddpd_3 n vss petp4 vss vccio be bd vccadp llb vccadp llb vss vss ddpd_ auxp ddpc_ auxp ddpb_0 n ddpc_0 p ddpc_2 n ddpd_3 p petp6 petn4 petp2 vccio bd bc vss ddpd_ auxn vss ddpb_0 p vss ddpc_2 p vss petn6 vss petn2 vccio bc bb vccadp lla vccadp lla vss lvdsa_ data0 lvdsa_ data#0 vss vss ddpb_2 n vss ddpc_3 n vss perp4 vss vccio bb ba lvdsa_ data#1 lvdsa_ data1 vss ddpb_2 p ddpb_3 p ddpc_3 p pern6 pern4 perp2 vccio ba ay lvdsb_ data#0 lvdsb_ data0 lvdsa_ data2 lvdsa_ data#2 vss tp5 tp4 vss ay aw vss vss ddpb_3 n vss perp6 vss pern2 vccio aw av lvdsa_ clk# lvdsa_ clk vss lvdsa_ data3 lvdsa_ data#3 vss tp7 tp6 vss ddpc_ hpd vss petp7 vss petp3 vss vccio av au lvdsb_ data#2 lvdsb_ data2 ddpb_ hpd petn7 perp7 petn3 pern3 vccio au at lvdsb_ data#3 lvdsb_ data3 lvdsb_ data#1 lvdsb_ data1 vss vcctx_ lvds vcctx_l vds lvd_vr efh lvd_vr efl vss ddpd_ hpd vss pern7 vss perp3 vccio at ar vss ar ap vccaclk vccaclk vss lvdsb_ clk# lvdsb_ clk vss vcctx_l vds vcctx_l vds vss lvd_vb g lvd_ib g ap an vss vss vcc3_3 vss vss vccio vccio vccio an am clkou t_pcie 4p clkou t_pcie 4n vss clkou t_pcie 2p clkou t_pcie 2n vss clkout _pcie1p clkout _pcie1n vss vss vss vss vss vss vss vss vss vss am al vss al ak clkou t_peg_ b_n clkou t_peg_ b_p vss clkou t_pcie 0n clkou t_pcie 0p vss vss vss tp13 tp12 vss vss vss vss vss vss vss vss ak aj clkou t_pcie 5p clkou t_pcie 5n vccio vss vss vcccore vcccore vss aj ah xtal25 _out xtal25 _in vss vss vss clkou t_pcie 6p clkout _pcie6n vss clkou t_pcie 3n clkou t_pcie 3p vssa_l vds vccalv ds vccio vccio vss vcccore vcccore vcccor e ah ag vss ag af vssa_d ac vssa_d ac vss clkou t_pcie 7n clkou t_pcie 7p vss vss vccme vccme vccme vss xclk_r comp vss vccio vccio vcccore vcccore vcccor e af ae vccada c vccada c ae ad crt_re d vss vss dac_ir ef vss vss clkout _peg_a_ p clkout _peg_a_ n vss vccme vccme vccme vcc3_3 vss vss vss vss vcccor e ad ac vss ac ab crt_g reen crt_ir tn ddpc_ ctrlda ta l_ddc_ clk vss l_ctrl _clk nc_1 vss nc_3 nc_4 vss nc_2 vcc3_3 vcc3_3 vss vss vss vcccor e ab aa crt_bl ue vss vccme vccme vss vss vss vss aa y crt_hs ync crt_vs ync ddpc_ ctrlcl k l_bklt ctl vss vss l_ddc_ data vss vccme vccme vccme vss vccme vccme vss vss vss vss y w vss w v crt_d dc_dat a crt_d dc_clk vss l_ctrl _data vss vss vss vss vccme vccme vccme vss vss vss vss vss vss vccsus 3_3 v u ddpd_ ctrlda ta ddpd_ ctrlcl k vcc3_3 vss vss vss vss vccsus 3_3 u t sdvo_ ctrlda ta sdvo_ ctrlcl k vss l_bklt en l_vdd_ en vss clkout flex0 / gpio64 vss clkou tflex2 / gpio66 vss nc_5 t r vss r p clkou t_pci1 clkou t_pci3 vss clkou t_pci4 vss clkou t_pci2 vss clkout flex1 / gpio65 vss refclk 14in vss vcc3_3 vss vss vss vccsus 3_3 p n clkou t_pci0 clkou tflex3 / gpio67 vss vcc3_3 ad1 tp15 tp17 vccsus 3_3 n m req3# / gpio54 ad22 vss ad12 ad30 vss ad13 ad16 vss ad15 vss vcc3_3 vss tp14 tp16 vccsus 3_3 m l vss vss vcc3_3 vss ad25 vss vccsushd a vccsus 3_3 l k pirqf# / gpio3 ad24 v5ref ad18 vss ad21 gnt1# / gpio51 vss k j ad23 c/be0# clkin_ pciloo pback ad27 vcc3_3 ad17 ad5 gpio7 hda_doc k_rst# / gpio13 vccsus 3_3 j h gnt3# / gpio55 pirqb# vss ad9 c/be2# par vss ad0 vss ad31 vss hda_doc k_en# / gpio33 vss vccsus 3_3 h g vss ad28 vss c/be1# vss pirqa# vss c/be3# vss hda_sdi n0 vccsus 3_3 g f ad14 req0# vss gnt0# devsel # ad29 ad26 ad19 gpio17 gnt2# / gpio53 ldrq1# / gpio23 hda_sdi n3 hda_sdi n1 vccsus 3_3 f e vss_nc tf perr# vss vss serr# vss ad10 vss ad8 vss hda_sdi n2 vss vccsus 3_3 e d vss_nc tf vss plock# ad7 stop# gpio6 fwh0 / lad0 hda_s ync d c vss trdy# frame # ad2 ad20 ad11 gpio1 ad4 fwh4 / lfram e# fwh2 / lad2 hda_rst # vccsus 3_3 c b vss_nc tf vss_nc tf vss req2# / gpio52 vss pirqe# / gpio2 vss pirqc # vss fwh1 / lad1 vss hda_s do vccsu s3_3 b a vss_nc tf vss_nc tf vss_nc tf vss_nc tf pirqh# / gpio5 req1# / gpio50 pirqd # irdy# ad6 ad3 pirqg# / gpio4 ldrq0# fwh3 / lad3 hda_bcl k vccsus 3_3 a 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27
ballout definition 296 datasheet figure 6-4. pch ballout (top view?right side) (mobile only) 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 bj vccio vccapl lexp dmi1rx n dmi3rx n vccfdipl l fdi_rxn 3 fdi_int fdi_lsy nc0 pmsync h reserved reserved vss_nct f vss_nctf vss_nct f vss_nctf bj bh dmi_zc omp vss dmi1txp vss fdi_rxn 1 vss fdi_fsyn c1 vss vss vss vss_nct f vss_nctf bh bg vccio vss dmi1rx p dmi3rx p vss fdi_rxp 3 fdi_lsy nc1 vss peci reserved reserved vss bg bf dmi_ir comp dmi1txn fdi_rxp 1 fdi_fsyn c0 vss reserved vss vss_nctf bf be vccio vss dmi0tx n vss dmi3txn vss fdi_rxn 5 vss procpw rgd vss vss reserved vss_nctf be bd vccio dmi0r xp dmi0tx p dmi2tx n dmi3txp fdi_rxn 2 fdi_rxp 5 fdi_rxp 7 thrmtri p# reserved reserved vss nv_ale reserved bd bc vccio dmi0r xn vss dmi2tx p vss fdi_rxp 2 vss fdi_rxn 7 vss reserved vss bc bb vccio vss tp3 vss fdi_rxp 0 vss fdi_rxp 6 vss vss reserved reserved vss reserved reserved bb ba vccio clkin_ dmi_p tp1 dmi2rx p fdi_rxn 0 fdi_rxn 4 fdi_rxn 6 vss reserved spi_clk ba ay vss reserved reserved vss nv_cle reserved spi_cs1# spi_mosi ay aw vccio clkin_ dmi_n tp2 dmi2rx n vss fdi_rxp 4 vss vss aw av vccio vss vss vss vss vss vss vss reserved reserved vss reserved reserved vss spi_cs0# spi_miso av au vccio vccvr m vss vss v_cpu_i o vccdmi vss reserved au at vccio vccvr m vccvrm vccvrm v_cpu_i o vccdmi vss vss vss reserved vss vss reserved vss clkout_d p_p / clkout_b clk1_p clkout_d p_n / clkout_b clk1_n at ar vss ar ap reserved vss vss vccme3_ 3 vccme3_ 3 vss reserved reserved vss clkin_bcl k_n clkin_bc lk_p ap an vccio vccio vccio vccio vccio vss clkout_ dmi_n clkout _dmi_p an am vss vss vccio vss vss vss vccpnan d vccpnan d vccpnan d vccpnan d vss vccme3_ 3 vccme3_3 vss vss vss clkout_b clk0_n / clkout_p cie8n clkout_b clk0_p / clkout_p cie8p am al vss al ak vss vccio vss vss vccpna nd vccpna nd vccpnan d vccpnan d vccpnan d vss sata0tx n sata0tx p vss sata0rxn sata0rx p vss vccsatapl l vccsatapl l ak aj vss tp11 vss vss vss vss vss vss aj ah vcccor e vss vccio vccio vccio vccio vss vss clkin_sa ta_n / cksscd_ n clkin_s ata_p / cksscd _p vss sata1tx n sata1txp vss sata1rx n sata1rx p sata3rxn sata3rxp ah ag vss ag af vcccor e vcclan vcclan vccio vccio vccio sataico mpo sataico mpi tp8 vss sata2rx n sata2rx p vss sata2txn sata2tx p vss sata3txn sata3txp af ae vss vss ae ad vcccor e vss vss vccio vccio vccio vss vss vcc3_3 vss vss sata4rx n sata4rxp vss sata4tx n sata4tx p sata5rxn sata5rxp ad ac vss ac ab vcccor e vcccor e vss vccio vccio vccio vss vss sata3gp / gpio37 gpio27 vss serirq vss sata2gp / gpio36 sdataou t1 / gpio48 vss sata5txn sata5txp ab aa vss vss tp19 vss vss vss sata5gp / gpio49 / temp_al ert# sata4gp / gpio16 aa y vccio vccio vss dcpsus dcpsus byp vss vcc3_3 vss vss vss vss sata0gp / gpio21 vss sclock / gpio22 vss vss bmbusy# / gpio0 clkrun# / gpio32 y w vss w v vccio vccio vccio vss vss vss vcc3_3 vcc3_3 gpio28 dcpsst vss dcprtc vss vss gpio35 vss sload / gpio38 sata1gp / gpio19 v u vccsus 3_3 vccsus 3_3 vccsus3 _3 vccsus3 _3 vccsus 3_3 vccsus3 _3 pcieclkr q1# / gpio18 a20gate u t oc7# / gpio14 cl_clk1 vss cl_data 1 cl_rst1 # vss gpio15 sys_res et# vss sataled# rcin# t r vss r p vccsus 3_3 vss vss usbp2 p vccsus3_ 3 vss peg_b_c lkrq# / gpio56 slp_s3# vss pcieclk rq0# / gpio73 sus_stat # / gpio61 acprese nt / gpio31 init3_3v# pwrbtn # sdataout 0 / gpio39 spkr p n vccsus 3_3 vss usbp6p usbp2 n tp10 oc0# / gpio59 pcieclkr q2# / gpio20 tp23 n m vccsus 3_3 usbp1 2p usbp6n vss tp9 vss sml1ale rt# / gpio74 vss stp_pci # / gpio34 pcieclk rq4# / gpio26 vss pme# sys_pwr ok vss jtag_tck sus_pwr _dn_ack / gpio30 m l vccsus 3_3 usbp1 2n vss usbp3 p vss oc3# / gpio42 vss vss l k vss lan_ph y_pwr_ ctrl / gpio12 slp_m# vss pcirst# mepwr ok jtag_tms jtag_tdi k j vccsus 3_3 vss usbp8p usbp3 n usbp0p oc1# / gpio40 sml0ale rt# / gpio60 wake# trst# jtag_td o j h vccsus 3_3 usbp1 1p usbp8n vss usbp0n vss smbclk tp18 gpio24 slp_s4# pcieclk rq5# / gpio44 vss pcieclkr q6# / gpio45 peg_a_cl krq# / gpio47 h g vccsus 3_3 usbp1 1n vss usbp4 p vss oc5# / gpio9 vss sml1da ta / gpio75 vss sml0dat a vss g f vccsus 3_3 v5ref _sus usbp9p usbp4 n clkin_d ot_96n oc2# / gpio41 ri# oc6# / gpio10 gpio8 gpio57 slp_lan #/gpio29 vss susclk / gpio62 pcieclkr q7# / gpio46 f e vccsus 3_3 vss usbp9n vss clkin_d ot_96p vss oc4# / gpio43 vss sml1cl k / gpio58 vss vss slp_s5# / gpio63 vss_nctf e d usbrbi as usbp7p srtcrs t# rtcx2 dramp wrok pltrst# vss_nct f vss_nctf d c vccsus 3_3 usbp1 3p usbp10 p usbp5 p usbp1p rsmrst # rtcrst # vss tp24 smbdata sml0clk c b usbrbi as# vss usbp7n vss pwrok vss rtcx1 vss smbale rt# / gpio11 vss vss_nctf vss_nct f b a vccsus 3_3 usbp1 3n usbp10 n usbp5 n usbp1n intrude r# intvrme n vccrtc lan_rst # pcieclkr q3# / gpio25 batlow# / gpio72 vss_nct f vss_nctf a 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
datasheet 297 ballout definition table 6-2. pch ballout by signal name (mobile only) pch mobile ball name ball # a20gate u2 acpresent / gpio31 p7 ad0 h40 ad1 n34 ad2 c44 ad3 a38 ad4 c36 ad5 j34 ad6 a40 ad7 d45 ad8 e36 ad9 h48 ad10 e40 ad11 c40 ad12 m48 ad13 m45 ad14 f53 ad15 m40 ad16 m43 ad17 j36 ad18 k48 ad19 f40 ad20 c42 ad21 k46 ad22 m51 ad23 j52 ad24 k51 ad25 l34 ad26 f42 ad27 j40 ad28 g46 ad29 f44 ad30 m47 ad31 h36 batlow# / gpio72 a6 c/be0# j50 c/be1# g42 c/be2# h47 c/be3# g34 cl_clk1 t13 cl_data1 t11 cl_rst1# t9 clkin_bclk_n ap3 clkin_bclk_p ap1 clkin_dmi_n aw24 clkin_dmi_p ba24 clkin_dot_96n f18 clkin_dot_96p e18 clkin_pciloopba ck j42 clkin_sata_n / cksscd_n ah13 clkin_sata_p / cksscd_p ah12 clkout_bclk0_n / clkout_pcie8n am3 clkout_bclk0_p / clkout_pcie8p am1 clkout_dmi_n an4 clkout_dmi_p an2 clkout_dp_n / clkout_bclk1_n at1 clkout_dp_p / clkout_bclk1_p at3 clkout_pci0 n52 clkout_pci1 p53 clkout_pci2 p46 clkout_pci3 p51 clkout_pci4 p48 clkout_pcie0n ak48 clkout_pcie0p ak47 clkout_pcie1n am43 clkout_pcie1p am45 clkout_pcie2n am47 clkout_pcie2p am48 clkout_pcie3n ah42 clkout_pcie3p ah41 clkout_pcie4n am51 clkout_pcie4p am53 clkout_pcie5n aj50 clkout_pcie5p aj52 clkout_pcie6n ah45 clkout_pcie6p ah46 clkout_pcie7n af48 clkout_pcie7p af47 clkout_peg_a_n ad43 clkout_peg_a_p ad45 pch mobile ball name ball # clkout_peg_b_n ak53 clkout_peg_b_p ak51 clkoutflex0 / gpio64 t45 clkoutflex1 / gpio65 p43 clkoutflex2 / gpio66 t42 clkoutflex3 / gpio67 n50 clkrun# / gpio32 y1 crt_blue aa52 crt_ddc_clk v51 crt_ddc_data v53 crt_green ab53 crt_hsync y53 crt_irtn ab51 crt_red ad53 crt_vsync y51 dac_iref ad48 dcprtc v9 dcpsst v12 dcpsus y22 dcpsusbyp y20 ddpb_0n bd42 ddpb_0p bc42 ddpb_1n bj42 ddpb_1p bg42 ddpb_2n bb40 ddpb_2p ba40 ddpb_3n aw38 ddpb_3p ba38 ddpb_auxn bg44 ddpb_auxp bj44 ddpb_hpd au38 ddpc_0n be40 ddpc_0p bd40 ddpc_1n bf41 ddpc_1p bh41 ddpc_2n bd38 ddpc_2p bc38 ddpc_3n bb36 ddpc_3p ba36 ddpc_auxn be44 pch mobile ball name ball #
298 datasheet ballout definition ddpc_auxp bd44 ddpc_ctrlclk y49 ddpc_ctrldata ab49 ddpc_hpd av40 ddpd_0n bj40 ddpd_0p bg40 ddpd_1n bj38 ddpd_1p bg38 ddpd_2n bf37 ddpd_2p bh37 ddpd_3n be36 ddpd_3p bd36 ddpd_auxn bc46 ddpd_auxp bd46 ddpd_ctrlclk u50 ddpd_ctrldata u52 ddpd_hpd at38 devsel# f46 dmi_ircomp bf25 dmi_zcomp bh25 dmi0rxn bc24 dmi0rxp bd24 dmi0txn be22 dmi0txp bd22 dmi1rxn bj22 dmi1rxp bg22 dmi1txn bf21 dmi1txp bh21 dmi2rxn aw20 dmi2rxp ba20 dmi2txn bd20 dmi2txp bc20 dmi3rxn bj20 dmi3rxp bg20 dmi3txn be18 dmi3txp bd18 drampwrok d9 fdi_fsync0 bf13 fdi_fsync1 bh13 fdi_int bj14 fdi_lsync0 bj12 fdi_lsync1 bg14 fdi_rxn0 ba18 fdi_rxn1 bh17 pch mobile ball name ball # fdi_rxn2 bd16 fdi_rxn3 bj16 fdi_rxn4 ba16 fdi_rxn5 be14 fdi_rxn6 ba14 fdi_rxn7 bc12 fdi_rxp0 bb18 fdi_rxp1 bf17 fdi_rxp2 bc16 fdi_rxp3 bg16 fdi_rxp4 aw16 fdi_rxp5 bd14 fdi_rxp6 bb14 fdi_rxp7 bd12 frame# c46 fwh0 / lad0 d33 fwh1 / lad1 b33 fwh2 / lad2 c32 fwh3 / lad3 a32 fwh4 / lframe# c34 gnt0# f48 gnt1# / gpio51 k45 gnt2# / gpio53 f36 gnt3# / gpio55 h53 gpio0 y3 gpio1 c38 gpio6 d37 gpio7 j32 gpio8 f10 gpio15 t7 gpio17 f38 gpio24 h10 gpio27 ab12 gpio28 v13 gpio35 v6 gpio57 f8 hda_bclk a30 hda_dock_en# / gpio33 h32 hda_dock_rst# / gpio13 j30 hda_rst# c30 hda_sdin0 g30 hda_sdin1 f30 hda_sdin2 e32 pch mobile ball name ball # hda_sdin3 f32 hda_sdo b29 hda_sync d29 init3_3v# p6 intruder# a16 intvrmen a14 irdy# a42 jtag_tck m3 jtag_tdi k1 jtag_tdo j2 jtag_tms k3 l_bkltctl y48 l_bklten t48 l_ctrl_clk ab46 l_ctrl_data v48 l_ddc_clk ab48 l_ddc_data y45 l_vdd_en t47 lan_phy_pwr_ct rl / gpio12 k9 lan_rst# a10 ldrq0# a34 ldrq1# / gpio23 f34 lvd_ibg ap39 lvd_vbg ap41 lvd_vrefh at43 lvd_vrefl at42 lvdsa_clk# av53 lvdsa_clk av51 lvdsa_data#0 bb47 lvdsa_data#1 ba52 lvdsa_data#2 ay48 lvdsa_data#3 av47 lvdsa_data0 bb48 lvdsa_data1 ba50 lvdsa_data2 ay49 lvdsa_data3 av48 lvdsb_clk# ap48 lvdsb_clk ap47 lvdsb_data#0 ay53 lvdsb_data#1 at49 lvdsb_data#2 au52 lvdsb_data#3 at53 lvdsb_data0 ay51 pch mobile ball name ball #
datasheet 299 ballout definition lvdsb_data1 at48 lvdsb_data2 au50 lvdsb_data3 at51 mepwrok k5 nc_1 ab45 nc_2 ab38 nc_3 ab42 nc_4 ab41 nc_5 t39 nv_ale bd3 nv_cle ay6 oc0# / gpio59 n16 oc1# / gpio40 j16 oc2# / gpio41 f16 oc3# / gpio42 l16 oc4# / gpio43 e14 oc5# / gpio9 g16 oc6# / gpio10 f12 oc7# / gpio14 t15 par h44 pcieclkrq0# / gpio73 p9 pcieclkrq1# / gpio18 u4 pcieclkrq2# / gpio20 n4 pcieclkrq3# / gpio25 a8 pcieclkrq4# / gpio26 m9 pcieclkrq5# / gpio44 h6 pcieclkrq6# / gpio45 h3 pcieclkrq7# / gpio46 f1 pcirst# k6 peci bg10 peg_a_clkrq# / gpio47 h1 peg_b_clkrq# / gpio56 p13 pern1 bg30 pern2 aw30 pern3 au30 pern4 ba32 pch mobile ball name ball # pern5 bf33 pern6 ba34 pern7 at34 pern8 bg34 perp1 bj30 perp2 ba30 perp3 at30 perp4 bb32 perp5 bh33 perp6 aw34 perp7 au34 perp8 bj34 perr# e50 petn1 bf29 petn2 bc30 petn3 au32 petn4 bd32 petn5 bg32 petn6 bc34 petn7 au36 petn8 bg36 petp1 bh29 petp2 bd30 petp3 av32 petp4 be32 petp5 bj32 petp6 bd34 petp7 av36 petp8 bj36 pirqa# g38 pirqb# h51 pirqc# b37 pirqd# a44 pirqe# / gpio2 b41 pirqf# / gpio3 k53 pirqg# / gpio4 a36 pirqh# / gpio5 a48 plock# d49 pltrst# d5 pme# m7 pmsynch bj10 procpwrgd be10 pwrbtn# p5 pwrok b17 pch mobile ball name ball # rcin# t1 refclk14in p41 req0# f51 req1# / gpio50 a46 req2# / gpio52 b45 req3# / gpio54 m53 reserved ay9 reserved bd1 reserved ap15 reserved bd8 reserved av9 reserved bg8 reserved ap7 reserved ap6 reserved bd6 reserved bb7 reserved bc8 reserved bj8 reserved bj6 reserved bg6 reserved at6 reserved at9 reserved bb1 reserved av6 reserved bb3 reserved ba4 reserved be4 reserved bb6 reserved av7 reserved au2 reserved ay8 reserved ay5 reserved av11 reserved bf5 ri# f14 rsmrst# c16 rtcrst# c14 rtcx1 b13 rtcx2 d13 sata0gp / gpio21 y9 sata0rxn ak7 sata0rxp ak6 sata0txn ak11 sata0txp ak9 pch mobile ball name ball #
300 datasheet ballout definition sata1gp / gpio19 v1 sata1rxn ah6 sata1rxp ah5 sata1txn ah9 sata1txp ah8 sata2gp / gpio36 ab7 sata2rxn af11 sata2rxp af9 sata2txn af7 sata2txp af6 sata3gp / gpio37 ab13 sata3rxn ah3 sata3rxp ah1 sata3txn af3 sata3txp af1 sata4gp / gpio16 aa2 sata4rxn ad9 sata4rxp ad8 sata4txn ad6 sata4txp ad5 sata5gp / gpio49/ temp_alert# aa4 sata5rxn ad3 sata5rxp ad1 sata5txn ab3 sata5txp ab1 sataicompi af15 sataicompo af16 sataled# t3 sclock / gpio22 y7 sdataout0 / gpio39 p3 sdataout1 / gpio48 ab6 sdvo_ctrlclk t51 sdvo_ctrldata t53 sdvo_intn bf45 sdvo_intp bh45 sdvo_stalln bj48 sdvo_stallp bg48 sdvo_tvclkinn bj46 sdvo_tvclkinp bg46 serirq ab9 serr# e44 sload / gpio38 v3 pch mobile ball name ball # slp_lan# / gpio29 f6 slp_m# k8 slp_s3# p12 slp_s4# h7 slp_s5# / gpio63 e4 smbalert# / gpio11 b9 smbclk h14 smbdata c8 sml0alert# / gpio60 j14 sml0clk c6 sml0data g8 sml1alert# / gpio74 m14 sml1clk / gpio58 e10 sml1data / gpio75 g12 spi_clk ba2 spi_cs0# av3 spi_cs1# ay3 spi_miso av1 spi_mosi ay1 spkr p1 srtcrst# d17 stop# d41 stp_pci# / gpio34 m11 sus_pwr_dn_ack / gpio30 m1 sus_stat# / gpio61 p8 susclk / gpio62 f3 sys_pwrok m6 sys_reset# t6 thrmtrip# bd10 tp1 ba22 tp2 aw22 tp3 bb22 tp4 ay45 tp5 ay46 tp6 av43 tp7 av45 tp8 af13 tp9 m18 tp10 n18 pch mobile ball name ball # tp11 aj24 tp12 ak41 tp13 ak42 tp14 m32 tp15 n32 tp16 m30 tp17 n30 tp18 h12 tp19 aa23 tp23 n2 tp24 c10 trdy# c48 trst# j4 usbp0n h18 usbp0p j18 usbp1n a18 usbp1p c18 usbp2n n20 usbp2p p20 usbp3n j20 usbp3p l20 usbp4n f20 usbp4p g20 usbp5n a20 usbp5p c20 usbp6n m22 usbp6p n22 usbp7n b21 usbp7p d21 usbp8n h22 usbp8p j22 usbp9n e22 usbp9p f22 usbp10n a22 usbp10p c22 usbp11n g24 usbp11p h24 usbp12n l24 usbp12p m24 usbp13n a24 usbp13p c24 usbrbias d25 usbrbias# b25 v_cpu_io at18 pch mobile ball name ball #
301 datasheet ballout definition v_cpu_io au18 v5ref k49 v5ref_sus f24 vcc3_3 ab34 vcc3_3 ab35 vcc3_3 ad35 vcc3_3 an35 vcc3_3 ad13 vcc3_3 v15 vcc3_3 v16 vcc3_3 y16 vcc3_3 j38 vcc3_3 l38 vcc3_3 m36 vcc3_3 n36 vcc3_3 p36 vcc3_3 u35 vccaclk ap51 vccaclk ap53 vccadac ae50 vccadac ae52 vccadplla bb51 vccadplla bb53 vccadpllb bd51 vccadpllb bd53 vccalvds ah38 vccapllexp bj24 vcccore ab24 vcccore ab26 vcccore ab28 vcccore ad26 vcccore ad28 vcccore af26 vcccore af28 vcccore af30 vcccore af31 vcccore ah26 vcccore ah28 vcccore ah30 vcccore ah31 vcccore aj30 vcccore aj31 vccdmi at16 vccdmi au16 pch mobile ball name ball # vccfdipll bj18 vccio an30 vccio an31 vccio an23 vccio an24 vccio an26 vccio an28 vccio at26 vccio at28 vccio au26 vccio au28 vccio av26 vccio av28 vccio aw26 vccio aw28 vccio ba26 vccio ba28 vccio bb26 vccio bb28 vccio bc26 vccio bc28 vccio bd26 vccio bd28 vccio be26 vccio be28 vccio bg26 vccio bg28 vccio bh27 vccio bj26 vccio bj28 vccio an20 vccio an22 vccio v23 vccio ah23 vccio ah35 vccio aj35 vccio ah22 vccio ak24 vccio am23 vccio ab19 vccio ab20 vccio ab22 vccio ad19 vccio ad20 pch mobile ball name ball # vccio ad22 vccio af19 vccio af20 vccio af22 vccio ah20 vccio ah19 vccio af32 vccio af34 vccio ah34 vccio v24 vccio v26 vccio y24 vccio y26 vcclan af23 vcclan af24 vccme ad38 vccme ad39 vccme ad41 vccme af41 vccme af42 vccme af43 vccme aa34 vccme y34 vccme y35 vccme aa35 vccme v39 vccme v41 vccme v42 vccme y39 vccme y41 vccme y42 vccme3_3 am8 vccme3_3 am9 vccme3_3 ap11 vccme3_3 ap9 vccpnand ak13 vccpnand ak15 vccpnand ak16 vccpnand ak19 vccpnand ak20 vccpnand am12 vccpnand am13 vccpnand am15 vccpnand am16 pch mobile ball name ball #
datasheet 302 ballout definition vccrtc a12 vccsatapll ak1 vccsatapll ak3 vccsus3_3 u23 vccsus3_3 p18 vccsus3_3 u19 vccsus3_3 u20 vccsus3_3 u22 vccsus3_3 a26 vccsus3_3 a28 vccsus3_3 b27 vccsus3_3 c26 vccsus3_3 c28 vccsus3_3 e26 vccsus3_3 e28 vccsus3_3 f26 vccsus3_3 f28 vccsus3_3 g26 vccsus3_3 g28 vccsus3_3 h26 vccsus3_3 h28 vccsus3_3 j26 vccsus3_3 j28 vccsus3_3 l26 vccsus3_3 l28 vccsus3_3 m26 vccsus3_3 m28 vccsus3_3 n26 vccsus3_3 n28 vccsus3_3 p26 vccsus3_3 p28 vccsus3_3 u24 vccsus3_3 u26 vccsus3_3 u28 vccsus3_3 v28 vccsushda l30 vcctx_lvds ap43 vcctx_lvds ap45 vcctx_lvds at45 vcctx_lvds at46 vccvrm at24 vccvrm at22 vccvrm at20 vccvrm au24 pch mobile ball name ball # vss au22 vss av18 vss aa19 vss aa20 vss aa22 vss aa24 vss aa26 vss aa28 vss aa30 vss aa31 vss aa32 vss aa50 vss ab11 vss ab15 vss ab23 vss ab30 vss ab31 vss ab32 vss ab39 vss ab43 vss ab47 vss ab5 vss ab8 vss ac2 vss ac52 vss ad11 vss ad15 vss ad16 vss ad23 vss ad24 vss ad30 vss ad31 vss ad32 vss ad34 vss ad42 vss ad46 vss ad47 vss ad49 vss ad51 vss ad7 vss ae2 vss ae4 vss af12 vss af35 pch mobile ball name ball # vss af39 vss af45 vss af46 vss af49 vss af5 vss af8 vss ag2 vss ag52 vss ah11 vss ah15 vss ah16 vss ah24 vss ah32 vss ah43 vss ah47 vss ah48 vss ah49 vss ah7 vss aj19 vss aj2 vss aj20 vss aj22 vss aj23 vss aj26 vss aj28 vss aj32 vss aj34 vss aj4 vss ak12 vss ak22 vss ak23 vss ak26 vss ak28 vss ak30 vss ak31 vss ak32 vss ak34 vss ak35 vss ak38 vss ak39 vss ak43 vss ak45 vss ak46 vss ak49 pch mobile ball name ball #
303 datasheet ballout definition vss ak5 vss ak8 vss al2 vss al52 vss am11 vss am19 vss am20 vss am22 vss am24 vss am26 vss am28 vss am30 vss am31 vss am32 vss am34 vss am35 vss am38 vss am39 vss am41 vss am42 vss am46 vss am49 vss am5 vss am6 vss am7 vss an19 vss an32 vss an50 vss an52 vss ap12 vss ap13 vss ap42 vss ap46 vss ap49 vss ap5 vss ap8 vss ar2 vss ar52 vss at11 vss at12 vss at13 vss at32 vss at36 vss at41 pch mobile ball name ball # vss at47 vss at5 vss at7 vss at8 vss au20 vss au4 vss av12 vss av14 vss av16 vss av20 vss av22 vss av24 vss av30 vss av34 vss av38 vss av42 vss av46 vss av49 vss av5 vss av8 vss aw14 vss aw18 vss aw2 vss aw32 vss aw36 vss aw40 vss aw52 vss ay11 vss ay43 vss ay47 vss ay7 vss b11 vss b15 vss b19 vss b23 vss b31 vss b35 vss b39 vss b43 vss b47 vss b7 vss ba12 vss ba42 vss bb10 pch mobile ball name ball # vss bb12 vss bb16 vss bb20 vss bb24 vss bb30 vss bb34 vss bb38 vss bb42 vss bb44 vss bb49 vss bb5 vss bc10 vss bc14 vss bc18 vss bc2 vss bc22 vss bc32 vss bc36 vss bc40 vss bc44 vss bc52 vss bd48 vss bd49 vss bd5 vss be12 vss be16 vss be20 vss be24 vss be30 vss be34 vss be38 vss be42 vss be46 vss be48 vss be50 vss be6 vss be8 vss bf3 vss bf49 vss bf51 vss bf9 vss bg12 vss bg18 vss bg24 pch mobile ball name ball #
datasheet 304 ballout definition vss bg4 vss bg50 vss bh11 vss bh15 vss bh19 vss bh23 vss bh31 vss bh35 vss bh39 vss bh43 vss bh47 vss bh7 vss bh9 vss c12 vss c50 vss d51 vss e12 vss e16 vss e20 vss e24 vss e30 vss e34 vss e38 vss e42 vss e46 vss e48 vss e6 vss e8 vss f49 vss f5 vss g10 vss g14 vss g18 vss g2 vss g22 vss g32 vss g36 vss g40 vss g44 vss g52 vss h16 vss h20 vss h30 vss h34 pch mobile ball name ball # vss h38 vss h42 vss h49 vss h5 vss j24 vss k11 vss k43 vss k47 vss k7 vss l14 vss l18 vss l2 vss l22 vss l32 vss l36 vss l40 vss l52 vss m12 vss m16 vss m20 vss m34 vss m38 vss m42 vss m46 vss m49 vss m5 vss m8 vss n24 vss n38 vss p11 vss p16 vss p22 vss p30 vss p32 vss p34 vss p38 vss p42 vss p45 vss p47 vss p49 vss r2 vss r52 vss t12 vss t41 pch mobile ball name ball # vss t43 vss t46 vss t49 vss t5 vss t8 vss u30 vss u31 vss u32 vss u34 vss v11 vss v19 vss v20 vss v22 vss v30 vss v31 vss v32 vss v34 vss v35 vss v38 vss v43 vss v45 vss v46 vss v47 vss v49 vss v5 vss v7 vss v8 vss w2 vss w52 vss y11 vss y12 vss y13 vss y15 vss y19 vss y23 vss y28 vss y30 vss y31 vss y32 vss y38 vss y43 vss y46 vss y47 vss y5 pch mobile ball name ball #
305 datasheet ballout definition vss y6 vss y8 vss ab16 vss an34 vss ad12 vss p24 vss_nctf a4 vss_nctf a49 vss_nctf a5 vss_nctf a50 vss_nctf a52 vss_nctf a53 vss_nctf b2 vss_nctf b4 vss_nctf b52 vss_nctf b53 vss_nctf be1 vss_nctf be53 vss_nctf bf1 vss_nctf bf53 vss_nctf bh1 vss_nctf bh2 vss_nctf bh52 vss_nctf bh53 vss_nctf bj1 vss_nctf bj2 vss_nctf bj4 vss_nctf bj49 vss_nctf bj5 vss_nctf bj50 vss_nctf bj52 vss_nctf bj53 vss_nctf d1 vss_nctf d2 vss_nctf d53 vss_nctf e1 vss_nctf e53 vssa_dac af51 vssa_dac af53 vssa_lvds ah39 wake# j12 xclk_rcomp af38 xtal25_in ah51 xtal25_out ah53 pch mobile ball name ball #
datasheet 306 ballout definition 6.3 pch ballout small form factor ballout this section contains the pch mobile small form factor (sff) ballout. figure 6-5 and figure 6-6 show the ballout from a top of the package quadrant view. ta b l e 6 - 3 is the bga ball list, sorted alphabetically by signal name.
307 datasheet ballout definition figure 6-5. pch ballout (top vi ew?left side) (mobile sff only) 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 be vss_nct f vss_nct f vss_nct f ddpb_0 p ddpb_2 p ddpb_3 p ddpc_1 p ddpd_1 n ddpd_0 p ddpd_2 p petn8 pern7 petn5 pern2 be bd vss_nct f vss_nct f vss vss ddpb_1 p vss ddpc_0 p vss ddpb_h pd vss pern8 vss pern4 vss bd bc vss_nct f vss ddpb_0 n ddpb_2 n ddpb_3 n ddpc_1 n ddpd_1 p ddpd_0 n ddpd_2 n petp8 perp7 petp5 perp2 bc bb vss vss vss ddpb_1 n vss ddpc_0 n vss ddpc_h pd vss perp8 vss perp4 vss bb ba tp4 tp5 vss ddpd_a uxp ddpc_a uxn ddpb_a uxn sdvo_i ntn ddpc_2 p ddpc_3 n ddpd_3p petn6 perp5 perp3 ba ay tp6 tp7 vss ddpd_a uxn vss vss vss vss vss vss vss vss vss ay aw clkout _pcie1p clkout _pcie1n vss vss ddpc_a uxp ddpb_a uxp sdvo_i ntp ddpc_2 n ddpc_3 p ddpd_3n petp6 pern5 pern3 aw av vss vss lvdsa_ data1 lvdsa_ data#1 vss vss vss vss vss vss vss vss vss av au clkout _pcie3p clkout _pcie3n vss vss vss vss sdvo_t vclkin n ddpd_h pd sdvo_s talln pern6 petp7 petn4 petn3 au at clkout _pcie2p clkout _pcie2n lvdsa_ data#3 lvdsa_ data3 vss vss vss vss vss vss vss vss vss at ar clkout _pcie4p clkout _pcie4n vss vss lvdsa_ data0 lvdsa_ data#0 sdvo_t vclkinp vss sdvo_s tallp perp6 petn7 petp4 petp3 ar ap vss vss lvdsa_ clk lvdsa_ clk# vss vss vss vss vss vss vss vss vss ap an clkout _pcie6p clkout _pcie6n vss vss lvdsa_ data#2 lvdsa_ data2 an am clkout _pcie0p clkout _pcie0n lvdsb_ data#2 lvdsb_ data2 vss vss vcc3_3 vss vccadpl la vccadpll b vss vss vss vccapll exp am al clkout _pcie5p clkout _pcie5n vss vss lvdsb_ data0 lvdsb_ data#0 al ak vss vss lvdsb_ data1 lvdsb_ data#1 vss vss vss vss vss vss vss vss vccio vccio ak aj clkout _pcie7p clkout _pcie7n vss vss lvdsb_ data#3 lvdsb_ data3 aj ah clkout _peg_b _p clkout _peg_b _n lvdsb_ clk# lvdsb_ clk vss vss vcctx_ lvds vcctx_ lvds vss vss vcccore vcccore vcccore vcccore ah ag clkout _peg_a _p clkout _peg_a _n vss vss lvd_vr efh lvd_vr efl ag af vssvssvssvssvssvss vcctx_ lvds vcctx_ lvds vccio vccio vss vss vcccore vcccore af ae vcca_cl k xclk_r comp tp16 tp17 lvd_ib g lvd_vb g ae ad xtal25_ in xtal25_ out vssvssvssvss vcca_lv ds vssa_l vds vccio vccio vccme vccme vss vss ad ac crt_dd c_data ddpd_c trlclk vssa_d ac vccada c crt_irt n nc_2 vss vss vss vss vccme vccme vss vss ac ab vss vss vss vss vss vss vcc3_3 vcc3_3 vcc3_3 vcc3_3 vccme vccme vss vss ab aa ddpd_c trldat a crt_dd c_clk crt_bl ue crt_gr een crt_re d nc_3 aa y sdvo_c trlclk sdvo_c trldat a vss vss vss vss vcc3_3 vcc3_3 vss vss vss vccme vccme vccme y w l_ddc_ data l_bklte n crt_hs ync crt_vs ync dac_ir ef nc_1 w v vss vss vss vss vss vss vss vccme vccme vss vss vccme vccme vccme v u l_vdd_ en l_bkltc tl ddpc_c trlclk ddpc_c trldat a l_ddc_ clk nc_4 u t l_ctrl_ data l_ctrl_ clk vssvssvssvssvss vccme1 _1 vccme vss vss vss vss vss t r clkout _pci2 clkout _pci4 refclk 14in clkout _pci1 clkout flex2 / gpio66 clkout flex1 / gpio65 r p vss vss vss vss vss vss vcc3_3 vcc3_3 vcc3_3 vcc3_3 vcc3_3 vcc3_3 vss vccsus3 _3 p n clkout flex0 / gpio64 clkout _pci3 vss clkout flex3 / gpio67 clkout _pci0 nc_5 n m req3# / gpio54 pirqf# / gpio3 vss vss vss vss vss vss vss vss vss vss vss m l ad12 ad13 ad16 ad22 ad24 ad30 req0# pirqb# req2# / gpio52 tp17 tp16 tp14 vccsush da l k vss ad14 vss vss vss vss vss vss vss vss vss vss vss k j ad15 ad18 c/be0# gnt3# / gpio55 perr# c/be2# ad9 trdy# ad6 v5ref tp15 hda_sd in1 usbp12 n j h gnt0# gnt1# / gpio51 vss vss vss vss vss vss vss vss vss vss vss h g ad21 pirqc# ad1 ad28 frame# ad31 ad3 stop# ad25 fwh4 / lframe# ldrq1# / gpio23 hda_sd o usbp12 p g f vss c/be3# vss vss vss vss vss vss vss vss vss vss vss f e serr# ad26 par ad23 ad27 req1# / gpio50 ad2 gpio1 gpio7 hda_doc k_en# / gpio33 fwh0 / lad0 hda_sy nc hda_bc lk e d pirqe# / gpio2 devsel # c/be1# pirqg# / gpio4 vss plock# vss ad11 vss fwh1 / lad1 vss hda_sd in3 vss d c vss_nct f vss ad17 ad5 ad29 gnt2# / gpio53 ad4ad19ad7gpio17 fwh2 / lad2 hda_rs t# usbrbi as# c b vss_nct f vss_nct f vss vss pirqd# vss ad0 vss pirqa# vss fwh3 / lad3 vss hda_sd in0 vss b a vss_nct f vss_nct f vss_nct f ad10 pirqh# / gpio5 clkin_p ciloop back ad8 ad20 irdy# gpio6 hda_doc k_rst# / gpio13 ldrq0# hda_sd in2 usbrbi as a 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26
ballout definition 308 datasheet figure 6-6. pch ballout (top vi ew?right side) (mobile sff only) 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 be petp1 dmi1txp dmi0rxp dmi1rxn dmi2rxp dmi3txn fdi_rxp 4 fdi_int fdi_lsy nc0 procpw rgd thrmtri p# vss_nct f vss_nct f vss_nct f be bd vss vss dmi2txn vss vccfdip ll vss fdi_rxp 2 vss pmsync h vss vss vss_nct f vss_nct f bd bc petn1 dmi1txn dmi0rxn dmi1rxp dmi2rxn dmi3txp fdi_rxn 4 fdi_lsy nc1 fdi_fsy nc1 peci reserved vss vss_nct f bc bb vss vss dmi2txp vss vss vss fdi_rxn 2 vss fdi_fsy nc0 vss reserved reserved bb ba pern1 clkin_d mi_n dmi_zco mp dmi0txn dmi3rxp fdi_rxp 1 fdi_rxp 6 fdi_rxp 7 reserved reserved reserved reserved reserved ba ay vss vss vss vss vss vss vss vss vss vss vss vss ay aw perp1 clkin_d mi_p dmi_irc omp dmi0txp dmi3rxn fdi_rxn 1 fdi_rxn 6 fdi_rxn 7 reserved reserved reserved reserved reserved aw av vss vss vss vss vss vss vss vss vss vss reserved reserved av au petn2 tp1 tp2 tp3 fdi_rxn 0 fdi_rxp 3 fdi_rxn 5 vss reserved reserved reserved nv_ale nv_cle au at vss vss vss vss vss vss vss vss vss vss reserved vss at ar petp2 vccvrm vccvrm vccvrm fdi_rxp 0 fdi_rxn 3 fdi_rxp 5 reserved reserved reserved reserved reserved reserved ar ap vss vccvrm vss dmirxte rm fdirxte rm vss vss vss vss vss clkin_b clk_n clkin_b clk_p ap an reserved reserved spi_mos i spi_mis o clkout_ dp_n / clkout_ bclk1_n clkout_ dp_p / clkout_ bclk1_p an am vccio vccio vccio vccio vccio vccio vccio vss vss vss vss vss vss vss am al reserved spi_cs1 # spi_cs0 # spi_clk clkout_ dmi_n clkout_ dmi_p al ak vss vccio vss vccio v_cpu_i o v_cpu_i o vssvssvssvssvssvss clkout_ bclk0_p / clkout_ pcie8p clkout_ bclk0_n / clkout_ pcie8n ak aj vcc3_3 tp8 sata0rx n sata0rx p vss vccsata pll aj ah vss vss vcc_dmi vss vccpnan d vccpnan d vcce3_3 vcce3_3 vss vss vss vss vss vss ah ag sata0tx n sata0tx p clkin_s ata_p / cksscd _p clkin_s ata_n / cksscd _n sata1tx n sata1tx p ag af vcccore vcccore vcclan vcclan vccpnan d vccpnan d vcce3_3 vccme3_ 3 sataico mpi sataico mpo vss vss vss vss af ae sata2rx n sata2rx p sata2tx n sata2tx p sata1rx p sata1rx n ae ad vcccore vcccore vss vss vccio vss vccio vccio vss vss vss vss vss vss ad ac vcccore vcccore vss vss vccio vccio vccio vccio sata3rx p sata3rx n sata3tx p sata3tx n sata4rx n sata4rx p ac ab vcccore vcccore vss vss vccio vccio vccio vccio vss vss vss vss vss vss ab aa sata5rx n sata5rx p sata5tx p sata5tx n sata4tx n sata4tx p aa y vss vcccore vcccore vss vcc3_3 vcc3_3 vss vss vss vss vss vss vss vss y w sata5gp / gpio49 / tmp_ale rt# sata4gp / gpio16 serirq bmbusy # / gpio0 sdatao ut1 / gpio48 clkrun # / gpio32 w v vss vccio vccio vccio vss vss dcpsusb yp dcpsusb yp vss a20gate vss vss sata2gp / gpio36 sata1gp / gpio19 v u cl_clk1 tp23 sataled # sclock / gpio22 rcin# spkr u t vccsus3_ 3 vccio vss vccio vccio vccio vss vss vss cl_data 1 vss vss sata0gp / gpio21 vss t r pcieclk rq1# / gpio18 peg_a_c lkrq# / gpio47 pwrbtn # gpio35 sload / gpio38 sdatao ut0 / gpio39 r p vccsus3_ 3 vccsus3_ 3 vccsus3_ 3 vss vccsus3_ 3 vccsus3_ 3 vccsus3_ 3 vccsus3_ 3 vss cl_rst1 # vss vss sys_res et# init3_3v # p n dcpsst sys_pw rok acpres ent / gpio31 stp_pci # / gpio34 sus_pw r_dn_a ck / gpio30 pcieclk rq2# / gpio20 n m vss vss vss vss vss vss vss mepwro k vss vss sata3gp / gpio37 vss m l usbp9n usbp6p vss usbp1p tp10 dcprtc susclk / gpio62 smbclk slp_m# pme# jtag_tdi gpio27 gpio28 l k vss vss vss vss vss vss vss ri# vss vss pcieclk rq0# / gpio73 sus_sta t# / gpio61 k j usbp9p usbp6n v5ref_s us usbp1n tp9 srtcrs t# tp17 smbale rt# / gpio11 sml0dat a pcieclk rq6# / gpio45 jtag_tc k jtag_tm s trst# j h vss vss vss vss vss vss vss vss slp_s5# / gpio63 vss pcieclk rq7# / gpio46 vss h g usbp13p usbp7n usbp4n usbp3n clkin_d ot_96n intrude r# oc2# / gpio41 tp24 gpio8 gpio24 gpio15 pcieclk rq5# / gpio44 jtag_td o g f vss vss vss vss vss vss vss vss vss lan_phy _pwr_c trl / gpio12 slp_s3# pcirst# f e usbp13n usbp7p usbp4p usbp3p clkin_d ot_96p oc1# / gpio40 vccrtc intvrme n sml0ale rt# / gpio60 sml1ale rt# / gpio74 slp_lan # / gpio29 vss vss_nct f e d usbp10n vss usbp2p vss pwrok rsmrst # oc7# / gpio14 oc6# / gpio10 pcieclk rq3# / gpio25 drampw rok pltrst# slp_s4# d c usbp11n usbp8n usbp5n usbp0p oc5# / gpio9 oc3# / gpio42 rtcx2 lan_rst # oc0# / gpio59 wake# batlow # / gpio72 pcieclk rq4# / gpio26 vss_nct f c b usbp10p vss usbp2n vss rtcrst# vss sml1clk / gpio58 vss sml0clk vss vss vss_nct f b a usbp11p usbp8p usbp5p usbp0n sml1dat a / gpio75 oc4# / gpio43 rtcx1 smbdat a peg_b_c lkrq# / gpio56 gpio57 vss_nct f vss_nct f a 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
datasheet 309 ballout definition table 6-3. pch ballout by signal name (mobile sff only) pch sff ball name ball # a20gate v10 acpresent / gpio31 n7 ad0 b40 ad1 g47 ad2 e39 ad3 g39 ad4 c39 ad5 c45 ad6 j35 ad7 c35 ad8 a41 ad9 j39 ad10 a47 ad11 d36 ad12 l51 ad13 l49 ad14 k48 ad15 j51 ad16 l47 ad17 c47 ad18 j49 ad19 c37 ad20 a39 ad21 g51 ad22 l45 ad23 e45 ad24 l43 ad25 g35 ad26 e49 ad27 e43 ad28 g45 ad29 c43 ad30 l41 ad31 g41 batlow# / gpio72 c5 c/be0# j47 c/be1# d46 c/be2# j41 c/be3# f48 cl_clk1 u11 cl_data1 t10 cl_rst1# p10 clkin_bclk_n ap4 clkin_bclk_p ap2 clkin_dmi_n ba23 clkin_dmi_p aw23 clkin_dot_96n g17 clkin_dot_96p e17 clkin_pciloopba ck a43 clkin_sata_n / cksscd_n ag5 clkin_sata_p / cksscd_p ag7 clkout_bclk0_n / clkout_pcie8n ak2 clkout_bclk0_p / clkout_pcie8p ak4 clkout_dmi_n al3 clkout_dmi_p al1 clkout_dp_n / clkout_bclk1_n an3 clkout_dp_p / clkout_bclk1_p an1 clkout_pci0 n43 clkout_pci1 r45 clkout_pci2 r51 clkout_pci3 n49 clkout_pci4 r49 clkout_pcie0n am48 clkout_pcie0p am50 clkout_pcie1n aw49 clkout_pcie1p aw51 clkout_pcie2n at48 clkout_pcie2p at50 clkout_pcie3n au49 clkout_pcie3p au51 clkout_pcie4n ar49 clkout_pcie4p ar51 clkout_pcie5n al49 clkout_pcie5p al51 pch sff ball name ball # clkout_pcie6n an49 clkout_pcie6p an51 clkout_pcie7n aj49 clkout_pcie7p aj51 clkout_peg_a_n ag49 clkout_peg_a_p ag51 clkout_peg_b_n ah48 clkout_peg_b_p ah50 clkoutflex0 / gpio64 n51 clkoutflex1 / gpio65 r41 clkoutflex2 / gpio66 r43 clkoutflex3 / gpio67 n45 clkrun# / gpio32 w1 crt_blue aa47 crt_ddc_clk aa49 crt_ddc_data ac51 crt_green aa45 crt_hsync w47 crt_irtn ac43 crt_red aa43 crt_vsync w45 dac_iref w43 dcprtc l15 dcpsst n11 dcpsus t18 dcpsus t19 dcpsusbyp v14 dcpsusbyp v16 ddpb_0n bc47 ddpb_0p be47 ddpb_1n bb44 ddpb_1p bd44 ddpb_2n bc45 ddpb_2p be45 ddpb_3n bc43 ddpb_3p be43 ddpb_auxn ba41 pch sff ball name ball #
310 datasheet ballout definition ddpb_auxp aw41 ddpb_hpd bd36 ddpc_0n bb40 ddpc_0p bd40 ddpc_1n bc41 ddpc_1p be41 ddpc_2n aw37 ddpc_2p ba37 ddpc_3n ba35 ddpc_3p aw35 ddpc_auxn ba43 ddpc_auxp aw43 ddpc_ctrlclk u47 ddpc_ctrldata u45 ddpc_hpd bb36 ddpd_0n bc37 ddpd_0p be37 ddpd_1n be39 ddpd_1p bc39 ddpd_2n bc35 ddpd_2p be35 ddpd_3n aw33 ddpd_3p ba33 ddpd_auxn ay44 ddpd_auxp ba45 ddpd_ctrlclk ac49 ddpd_ctrldata aa51 ddpd_hpd au37 devsel# d48 dmi_ircomp aw21 dmi_zcomp ba21 dmi0rxn bc21 dmi0rxp be21 dmi0txn ba19 dmi0txp aw19 dmi1rxn be19 dmi1rxp bc19 dmi1txn bc23 dmi1txp be23 dmi2rxn bc17 dmi2rxp be17 pch sff ball name ball # dmi2txn bd20 dmi2txp bb20 dmi3rxn aw17 dmi3rxp ba17 dmi3txn be15 dmi3txp bc15 drampwrok d6 fdi_fsync0 bb8 fdi_fsync1 bc9 fdi_int be11 fdi_lsync0 be9 fdi_lsync1 bc11 fdi_rxn0 au17 fdi_rxn1 aw15 fdi_rxn2 bb12 fdi_rxn3 ar15 fdi_rxn4 bc13 fdi_rxn5 au13 fdi_rxn6 aw13 fdi_rxn7 aw11 fdi_rxp0 ar17 fdi_rxp1 ba15 fdi_rxp2 bd12 fdi_rxp3 au15 fdi_rxp4 be13 fdi_rxp5 ar13 fdi_rxp6 ba13 fdi_rxp7 ba11 frame# g43 fwh0 / lad0 e31 fwh1 / lad1 d32 fwh2 / lad2 c31 fwh3 / lad3 b32 fwh4 / lframe# g33 gnt0# h50 gnt1# / gpio51 h48 gnt2# / gpio53 c41 gnt3# / gpio55 j45 gpio0 w5 gpio1 e37 gpio6 a35 pch sff ball name ball # gpio7 e35 gpio8 g9 gpio15 g5 gpio17 c33 gpio24 g7 gpio27 l3 gpio28 l1 gpio35 r5 gpio57 a7 hda_bclk e27 hda_dock_en# / gpio33 e33 hda_dock_rst# / gpio13 a33 hda_rst# c29 hda_sdin0 b28 hda_sdin1 j29 hda_sdin2 a29 hda_sdin3 d28 hda_sdo g29 hda_sync e29 init3_3v# p2 intruder# g15 intvrmen e11 irdy# a37 jtag_tck j5 jtag_tdi l5 jtag_tdo g1 jtag_tms j3 l_bkltctl u49 l_bklten w49 l_ctrl_clk t48 l_ctrl_data t50 l_ddc_clk u43 l_ddc_data w51 l_vdd_en u51 lan_phy_pwr_ctr l / gpio12 f6 lan_rst# c11 ldrq0# a31 ldrq1# / gpio23 g31 lvd_ibg ae43 pch sff ball name ball #
datasheet 311 ballout definition lvd_vbg ae41 lvd_vrefh ag43 lvd_vrefl ag41 lvdsa_clk ap46 lvdsa_clk# ap44 lvdsa_data#0 ar41 lvdsa_data#1 av44 lvdsa_data#2 an43 lvdsa_data#3 at46 lvdsa_data0 ar43 lvdsa_data1 av46 lvdsa_data2 an41 lvdsa_data3 at44 lvdsb_clk ah44 lvdsb_clk# ah46 lvdsb_data#0 al41 lvdsb_data#1 ak44 lvdsb_data#2 am46 lvdsb_data#3 aj43 lvdsb_data0 al43 lvdsb_data1 ak46 lvdsb_data2 am44 lvdsb_data3 aj41 mepwrok m10 nc_1 w41 nc_2 ac41 nc_3 aa41 nc_4 u41 nc_5 n41 nv_ale au3 nv_cle au1 oc0# / gpio59 c9 oc1# / gpio40 e15 oc2# / gpio41 g13 oc3# / gpio42 c15 oc4# / gpio43 a15 oc5# / gpio9 c17 oc6# / gpio10 d10 oc7# / gpio14 d12 par e47 pch sff ball name ball # pcieclkrq0# / gpio73 k4 pcieclkrq1# / gpio18 r11 pcieclkrq2# / gpio20 n1 pcieclkrq3# / gpio25 d8 pcieclkrq4# / gpio26 c3 pcieclkrq5# / gpio44 g3 pcieclkrq6# / gpio45 j7 pcieclkrq7# / gpio46 h4 pcirst# f2 peci bc7 peg_a_clkrq# / gpio47 r9 peg_b_clkrq# / gpio56 a9 pern1 ba25 pern2 be27 pern3 aw27 pern4 bd28 pern5 aw29 pern6 au33 pern7 be31 pern8 bd32 perp1 aw25 perp2 bc27 perp3 ba27 perp4 bb28 perp5 ba29 perp6 ar33 perp7 bc31 perp8 bb32 perr# j43 petn1 bc25 petn2 au25 petn3 au27 petn4 au29 petn5 be29 pch sff ball name ball # petn6 ba31 petn7 ar31 petn8 be33 petp1 be25 petp2 ar25 petp3 ar27 petp4 ar29 petp5 bc29 petp6 aw31 petp7 au31 petp8 bc33 pirqa# b36 pirqb# l37 pirqc# g49 pirqd# b44 pirqe# / gpio2 d50 pirqf# / gpio3 m48 pirqg# / gpio4 d44 pirqh# / gpio5 a45 plock# d40 pltrst# d4 pme# l7 pmsynch bd8 procpwrgd be7 pwrbtn# r7 pwrok d16 rcin# u3 refclk14in r47 req0# l39 req1# / gpio50 e41 req2# / gpio52 l35 req3# / gpio54 m50 reserved au7 reserved aw3 reserved al11 reserved ba7 reserved at4 reserved ba3 reserved an9 reserved an11 reserved aw7 pch sff ball name ball #
312 datasheet ballout definition reserved bb2 reserved bb4 reserved aw9 reserved ba9 reserved bc5 reserved ar7 reserved ar5 reserved ar1 reserved ar9 reserved ar11 reserved au5 reserved au9 reserved aw5 reserved av2 reserved ba1 reserved av4 reserved aw1 reserved ar3 reserved ba5 ri# k10 rsmrst# d14 rtcrst# b16 rtcx1 a13 rtcx2 c13 sata0gp / gpio21 t4 sata0rxn aj7 sata0rxp aj5 sata0txn ag11 sata0txp ag9 sata1gp / gpio19 v2 sata1rxn ae1 sata1rxp ae3 sata1txn ag3 sata1txp ag1 sata2gp / gpio36 v4 sata2rxn ae11 sata2rxp ae9 sata2txn ae7 sata2txp ae5 sata3gp / gpio37 m4 sata3rxn ac9 pch sff ball name ball # sata3rxp ac11 sata3txn ac5 sata3txp ac7 sata4gp / gpio16 w9 sata4rxn ac3 sata4rxp ac1 sata4txn aa3 sata4txp aa1 sata5gp / gpio49/ temp_alert# w11 sata5rxn aa11 sata5rxp aa9 sata5txn aa5 sata5txp aa7 sataicompi af12 sataicompo af10 sataled# u7 sclock / gpio22 u5 sdataout0 / gpio39 r1 sdataout1 / gpio48 w3 sdvo_ctrlclk y50 sdvo_ctrldata y48 sdvo_intn ba39 sdvo_intp aw39 sdvo_stalln au35 sdvo_stallp ar35 sdvo_tvclkinn au39 sdvo_tvclkinp ar39 serirq w7 serr# e51 sload / gpio38 r3 slp_lan# / gpio29 e5 slp_m# l9 slp_s3# f4 slp_s4# d2 slp_s5# / gpio63 h8 smbalert# / gpio11 j11 smbclk l11 pch sff ball name ball # smbdata a11 sml0alert# / gpio60 e9 sml0clk b8 sml0data j9 sml1alert# / gpio74 e7 sml1clk / gpio58 b12 sml1data / gpio75 a17 spi_clk al5 spi_cs0# al7 spi_cs1# al9 spi_miso an5 spi_mosi an7 spkr u1 srtcrst# j15 stop# g37 stp_pci# / gpio34 n5 sus_pwr_dn_ack / gpio30 n3 sus_stat# / gpio61 k2 susclk / gpio62 l13 sys_pwrok n9 sys_reset# p4 thrmtrip# be5 tp1 au23 tp2 au21 tp3 au19 tp4 ba51 tp5 ba49 tp6 ay50 tp7 ay48 tp8 aj9 tp9 j17 tp10 l17 tp12 ae47 tp13 ae45 tp14 l29 tp15 j31 tp16 l31 pch sff ball name ball #
datasheet 313 ballout definition tp17 l33 tp18 j13 tp23 u9 tp24 g11 trdy# j37 trst# j1 usbp0n a19 usbp0p c19 usbp1n j19 usbp1p l19 usbp2n b20 usbp2p d20 usbp3n g19 usbp3p e19 usbp4n g21 usbp4p e21 usbp5n c21 usbp5p a21 usbp6n j23 usbp6p l23 usbp7n g23 usbp7p e23 usbp8n c23 usbp8p a23 usbp9n l25 usbp9p j25 usbp10n d24 usbp10p b24 usbp11n c25 usbp11p a25 usbp12n j27 usbp12p g27 usbp13n e25 usbp13p g25 usbrbias a27 usbrbias# c27 v_cpu_io ak18 v_cpu_io ak19 v5ref j33 v5ref_sus j21 vcc3_3 ab33 pch sff ball name ball # vcc3_3 ab34 vcc3_3 ab36 vcc3_3 ab38 vcc3_3 y36 vcc3_3 y38 vcc3_3 am38 vcc3_3 aj11 vcc3_3 y18 vcc3_3 y19 vcc3_3 p30 vcc3_3 p31 vcc3_3 p33 vcc3_3 p34 vcc3_3 p36 vcc3_3 p38 vccaclk ae51 vccadac ac45 vccadplla am34 vccadpllb am33 vccalvds ad38 vccapllexp am27 vcccore ab24 vcccore ab25 vcccore ac24 vcccore ac25 vcccore ad24 vcccore ad25 vcccore af24 vcccore af25 vcccore af27 vcccore af28 vcccore ah27 vcccore ah28 vcccore ah30 vcccore ah31 vcccore y22 vcccore y24 vccdmi ah22 vccfdipll bd16 vccio ak27 vccio ak28 pch sff ball name ball # vccio am19 vccio am21 vccio am22 vccio am24 vccio am25 vccio am16 vccio am18 vccio t21 vccio ad19 vccio af33 vccio af34 vccio ad16 vccio ak24 vccio ak21 vccio ab14 vccio ab16 vccio ab18 vccio ab19 vccio ac14 vccio ac16 vccio ac18 vccio ac19 vccio ad14 vccio ad33 vccio ad34 vccio t24 vccio v21 vccio v22 vccio v24 vcclan af21 vcclan af22 vccme ab30 vccme ab31 vccme ac30 vccme ac31 vccme ad30 vccme ad31 vccme v34 vccme t34 vccme t36 vccme v36 pch sff ball name ball #
314 datasheet ballout definition vccme v27 vccme v28 vccme v30 vccme y27 vccme y28 vccme y30 vccme3_3 af14 vccme3_3 af16 vccme3_3 ah14 vccme3_3 ah16 vccpnand af18 vccpnand af19 vccpnand ah18 vccpnand ah19 vccrtc e13 vccsatapll aj1 vccsus3_3 t25 vccsus3_3 p14 vccsus3_3 p16 vccsus3_3 p18 vccsus3_3 p19 vccsus3_3 p22 vccsus3_3 p24 vccsus3_3 p25 vccsus3_3 p27 vccsushda l27 vcctx_lvds af36 vcctx_lvds af38 vcctx_lvds ah36 vcctx_lvds ah38 vccvrm ar21 vccvrm ap22 vccvrm ar19 vccvrm ar23 vss ap18 vss ap16 vss ab10 vss ab12 vss ab2 vss ab21 vss ab22 pch sff ball name ball # vss ab27 vss ab28 vss ab4 vss ab40 vss ab42 vss ab44 vss ab46 vss ab48 vss ab50 vss ab6 vss ab8 vss ac21 vss ac22 vss ac27 vss ac28 vss ac33 vss ac34 vss ac36 vss ac38 vss ad10 vss ad12 vss ad18 vss ad2 vss ad21 vss ad22 vss ad27 vss ad28 vss ad4 vss ad40 vss ad42 vss ad44 vss ad46 vss ad6 vss ad8 vss af2 vss af30 vss af31 vss af4 vss af40 vss af42 vss af44 pch sff ball name ball # vss af46 vss af48 vss af50 vss af6 vss af8 vss ag45 vss ag47 vss ah10 vss ah2 vss ah21 vss ah24 vss ah25 vss ah33 vss ah34 vss ah4 vss ah40 vss ah42 vss ah6 vss ah8 vss aj3 vss aj45 vss aj47 vss ak10 vss ak12 vss ak14 vss ak16 vss ak22 vss ak25 vss ak30 vss ak31 vss ak33 vss ak34 vss ak36 vss ak38 vss ak40 vss ak42 vss ak48 vss ak50 vss ak6 vss ak8 vss al45 pch sff ball name ball #
datasheet 315 ballout definition vss al47 vss am10 vss am12 vss am14 vss am2 vss am28 vss am30 vss am31 vss am4 vss am40 vss am42 vss am6 vss am8 vss an45 vss an47 vss ap10 vss ap12 vss ap14 vss ap20 vss ap24 vss ap26 vss ap28 vss ap30 vss ap32 vss ap34 vss ap36 vss ap38 vss ap40 vss ap42 vss ap48 vss ap50 vss ap6 vss ap8 vss ar37 vss ar45 vss ar47 vss at10 vss at12 vss at14 vss at16 vss at18 pch sff ball name ball # vss at2 vss at20 vss at22 vss at24 vss at26 vss at28 vss at30 vss at32 vss at34 vss at36 vss at38 vss at40 vss at42 vss at6 vss at8 vss au41 vss au43 vss au45 vss au47 vss av10 vss av12 vss av14 vss av16 vss av18 vss av20 vss av22 vss av24 vss av26 vss av28 vss av30 vss av32 vss av34 vss av36 vss av38 vss av40 vss av42 vss av48 vss av50 vss av6 vss av8 vss aw45 pch sff ball name ball # vss aw47 vss ay10 vss ay12 vss ay14 vss ay16 vss ay18 vss ay2 vss ay20 vss ay22 vss ay24 vss ay26 vss ay28 vss ay30 vss ay32 vss ay34 vss ay36 vss ay38 vss ay4 vss ay40 vss ay42 vss ay46 vss ay6 vss ay8 vss b10 vss b14 vss b18 vss b22 vss b26 vss b3 vss b30 vss b34 vss b38 vss b42 vss b46 vss b49 vss b6 vss ba47 vss bb10 vss bb14 vss bb16 vss bb18 pch sff ball name ball #
316 datasheet ballout definition vss bb22 vss bb24 vss bb26 vss bb30 vss bb34 vss bb38 vss bb42 vss bb46 vss bb48 vss bb50 vss bb6 vss bc3 vss bc49 vss bd10 vss bd14 vss bd18 vss bd22 vss bd24 vss bd26 vss bd3 vss bd30 vss bd34 vss bd38 vss bd42 vss bd46 vss bd49 vss bd6 vss c49 vss d18 vss d22 vss d26 vss d30 vss d34 vss d38 vss d42 vss e3 vss f10 vss f12 vss f14 vss f16 vss f18 pch sff ball name ball # vss f20 vss f22 vss f24 vss f26 vss f28 vss f30 vss f32 vss f34 vss f36 vss f38 vss f40 vss f42 vss f44 vss f46 vss f50 vss f8 vss h10 vss h12 vss h14 vss h16 vss h18 vss h2 vss h20 vss h22 vss h24 vss h26 vss h28 vss h30 vss h32 vss h34 vss h36 vss h38 vss h40 vss h42 vss h44 vss h46 vss h6 vss k12 vss k14 vss k16 vss k18 pch sff ball name ball # vss k20 vss k22 vss k24 vss k26 vss k28 vss k30 vss k32 vss k34 vss k36 vss k38 vss k40 vss k42 vss k44 vss k46 vss k50 vss k6 vss k8 vss l21 vss m12 vss m14 vss m16 vss m18 vss m2 vss m20 vss m22 vss m24 vss m26 vss m28 vss m30 vss m32 vss m34 vss m36 vss m38 vss m40 vss m42 vss m44 vss m46 vss m6 vss m8 vss n47 vss p12 pch sff ball name ball #
datasheet 317 ballout definition vss p21 vss p28 vss p40 vss p42 vss p44 vss p46 vss p48 vss p50 vss p6 vss p8 vss t12 vss t14 vss t16 vss t2 vss t22 vss t28 vss t30 vss t31 vss t33 vss t38 vss t40 vss t42 vss t44 vss t46 vss t6 vss t8 vss v12 vss v18 vss v19 vss v25 vss v31 vss v33 vss v38 vss v40 vss v42 vss v44 vss v46 vss v48 vss v50 vss v6 vss v8 pch sff ball name ball # vss y10 vss y12 vss y14 vss y16 vss y2 vss y21 vss y25 vss y31 vss y33 vss y34 vss y4 vss y40 vss y42 vss y44 vss y46 vss y6 vss y8 vss au11 vss am36 vss ah12 vss t27 vss_nctf a3 vss_nctf a49 vss_nctf a5 vss_nctf a50 vss_nctf a51 vss_nctf b2 vss_nctf b50 vss_nctf b51 vss_nctf bc1 vss_nctf bc51 vss_nctf bd1 vss_nctf bd2 vss_nctf bd50 vss_nctf bd51 vss_nctf be1 vss_nctf be2 vss_nctf be3 vss_nctf be49 vss_nctf be50 vss_nctf be51 pch sff ball name ball # vss_nctf c1 vss_nctf c51 vss_nctf e1 vssa_dac ac47 vssa_lvds ad36 wake# c7 xclk_rcomp ae49 xtal25_in ad50 xtal25_out ad48 pch sff ball name ball #
ballout definition 318 datasheet
datasheet 319 package information 7 package information 7.1 pch package (desktop only) ? fcbga package ?package size: 27 mm x 27 mm ? ball count: 951 ? ball pitch: 0.7 mm the desktop package information is shown in figure 7-1 . note: all dimensions, unless otherwise specified, are in millimeters.
package information 320 datasheet figure 7-1. pch desktop package drawing
datasheet 321 package information 7.2 pch package (mobile only) ? fcbga package ?package size: 27 mm x 25 mm ? ball count: 1071 ? ball pitch: 0.6 mm the pch mobile package in formation is shown in figure 7-2 . note: all dimensions, unless otherwise specified, are in millimeters.
package information 322 datasheet figure 7-2. pch b-step mobile package drawing
datasheet 323 package information 7.3 pch package (mobile sff only) ? fcbga package ?package size: 22 mm x 20 mm ? ball count: 1045 ball pitch: 0.593 mm the pch sff mobile package information is shown in figure 7-3 . note: all dimensions, unless otherwise specified, are in millimeters.
package information 324 datasheet figure 7-3. pch mobile sff package drawing
datasheet 325 electrical characteristics 8 electrical characteristics this chapter contains the dc and ac charac teristics for the pch. ac timing diagrams are included. 8.1 thermal specifications 8.1.1 desktop storage specificat ions and thermal design power (tdp) for desktop thermal information, see the intel ? 5 series express chipset platform controller hub (pch) thermal mechanical spec ifications and design guidelines (tms), document # 407051. 8.1.2 mobile storage specificatio ns and thermal design power (tdp) notes: 1. refers to a component device that is not assembled in a board or socket and is not electrically connected to a vo ltage reference or i/o signal. 2. specified temperatures are not to exceed valu es based on data collected. exceptions for surface mount reflow are specified by the a pplicable jedec standard. non-adherence may affect pch reliability. 3. tabsolute storage applies to the unassembled component only and does not apply to the shipping media, moisture barrier bags, or dessicant. 4. intel branded products are specified and cert ified to meet the following temperature and humidity limits that are give n as an example only (non-o perating temperature limit: -40 c to 70 c and humidity: 50% to 90%, no n-condensing with a maximum wet bulb of 28 c.) post board attach storage temperature limits are not specified for non-intel branded boards. 5. the jedec j-jstd-020 moisture level rating an d associated handling practices apply to all moisture sensitive devices remove d from the moisture barrier bag. 6. nominal temperature and humidity conditions and durations are given and tested within the constraints imposed by t sustained storage and customer shelf life in applicable intel boxes and bags. 7. the thermal solution needs to ensure that the temperature does not exceed the maximum junction temperature (tj,max) limit. see the embedded controller support provided by ibex peak(ibx) - technical update - rev. 1.5 document number 390730 for details on how measure tj. table 8-1. storage conditions parameter description min max notes t absolute storage the non-operating device storage temperature. damage (latent or othe rwise) may occur when exceeded for any length of time -55 c 125 c 1,2,3 t sustained storage the ambient storage temperature (in shipping media) for a sustaine d period of time. -5 c 40 c 4,5 rh sustained storage the maximum device storage relative humidity for a sustained period of time. 60% @ 24 c 5,6 time sustained storage a prolonged or extended period of time; typically associated with customer shelf life. 0 months 6 months 6 tj (mobile only) mobile thermal junction operating temperature limits 0 c 108 c 7
electrical characteristics 326 datasheet notes: 1. for usage configurations please see the mobile ibex peak platfo rm controller hub (pch) thermal design power (tdp) and scenario guidance document # 427704. 8.2 absolute maximum and minimum ratings table 8-3 specifies absolute maximum and minimum ratings. at conditions outside functional operation condition limits, bu t within absolute maximum and minimum ratings, neither functionality nor long-term reliability can be expected. if a device is returned to conditions within functional op eration limits after having been subjected to conditions outside these limits (but within the absolute maximum and minimum ratings) the device may be functional, but with its lifetime degraded depending on exposure to conditions exceeding the functional operation condition limits. at conditions exceeding absolute maximum and minimum ratings, neither functionality nor long-term reliability can be expected. moreover, if a device is subjected to these conditions for any length of time, it will ei ther not function or its reliability will be severely degraded when returned to cond itions within the functional operating condition limits. although the pch/ichx contains protective circuitry to resist damage from electro - static discharge (esd), precautions should always be taken to avoid high static voltages or electric fields. table 8-2. mobile thermal design power sku thermal design power (tdp) notes qm57 3.5 w 1 hm57 3.5 w 1 hm55 3.5 w 1 pm55 3.5 w 1 qs57 3.4 w 1 table 8-3. pch absolute maximum ratings parameter maximum limits voltage on any 5 v tolerant pin with respect to ground (v5ref = 5 v) -0.5 to v5ref + 0.5 v voltage on any 3.3 v pin with respect to ground -0.5 to vcc3_3 + 0.4 v voltage on any 1.8 v tolerant pin with re spect to ground -0.5 to vccvrm + 0.5 v voltage on any 1.05 v tolerant pin with respect to ground -0.5 to vccio + 0.5 v 1.05 v supply voltage with respect to vss -0.5 to 1.3 v 1.8 v supply voltage with respect to vss -0.5 to 3.7 v 3.3 v supply voltage with respect to vss -0.5 to 3.7 v 5.0 v supply voltage with respect to vss -0.5 to 5.5 v v_cpu_io supply voltage with respect to vss -0.5 to 1.3 v 1.8 v supply voltage for the analog pll with respect to vss -0.5 to 1.98 v
datasheet 327 electrical characteristics 8.3 intel ? 5 series chipset and intel ? 3400 series chipset power supply range 8.4 general dc characteristics note that i cc values in table 8-5 and table 8-6 are all pre-silicon estimates. values will be updated when characterized on real silicon is completed. notes: 1. g3 state shown to provide an estimate of battery life. 2. icc (rtc) data is taken with vccrtc at 3.0 v while the system in a mechanical off (g3) state at room temperature. table 8-4. pch power supply range power supply minimum nominal maximum 1.05 v 1.00 v 1.05 v 1.10 v 1.5 v 1.43 v 1.50 v 1.58 v 1.8 v 1.71 v 1.80 v 1.89 v 3.3 v 3.14 v 3.30 v 3.47 v 5 v 4.75 v 5.00 v 5.25 v table 8-5. measured i cc (desktop only) voltage rail voltage (v) s0 iccmax current integrated graphics (a) s0 iccmax current external graphics (a) s0 idle current integrated graphics (a) s0 idle current external graphics (a) sx iccmax current (a) sx idle current (a) g3 v_cpu_io 1.1/ 1.05 .001 .001 .001 .001 ? ? ? v5ref 5 .001 .001 .001 .001 ? ? ? v5ref_sus 5 .001 .001 .001 .001 .001 ? ? vcc3_3 3.3 .305 .305 .035 .035 ? ? ? vccadac 3.3 .075 .0011 .0011 .0011 ? ? ? vccadplla 1.05 .1100 .0440 .1034 .022 ? ? ? vccadpllb 1.05 .1100 .0440 .022 .022 ? ? ? vcccore 1.05 1.76 1.584 .528 .44 ? ? ? vccdmi 1.1 .063 .063 .0011 .0011 ? ? ? vccio 1.05 3.482 2.862 .9504 .519 ? ? ? vcclan 1.05 .253 .253 .091 .091 .165 ? ? vccme 1.05 1.41 1.41 .493 .493 1.22 .0044 ? vccme3_3 3.3 .0308 .0308 .0022 .0022 .0154 .0022 ? vccrtc 3.3 n/a n/a n/a n/a n/a n/a 6 ua see notes 1, 2 vccsus3_3 3.3 .0924 .0924 .0154 .0154 .1551 .0330 ? vccsushda 3.3 .0088 .0088 .001 .001 .001 .001 ? vccvrm 1.8 .169 .123 .129 .052 ? ? ?
electrical characteristics 328 datasheet notes: 1. g3 state shown to provide an estimate of battery life. 2. icc (rtc) data is taken with vccrtc at 3.0 v while the system in a mechanical off (g3) state at room temperature. table 8-6. measured i cc (mobile only) voltage rail voltage (v) s0 iccmax current integrated graphics (a) s0 iccmax current external graphics (a) s0 idle current integrated graphics (a) s0 idle current external graphics (a) sx iccmax current (a) sx idle current (a) g3 v_cpu_io 1.1/ 1.05 .001 .001 .001 .001 ? v5ref 5 .001 .001 .001 .001 ? v5ref_sus 5 .001 .001 .001 .001 .001 ? vcc3_3 3.3 .305 .305 .0176 .0176 ? vccadac 3.3 .075 .0011 .0011 .0011 ? vccadplla 1.05 .088 .0176 .0825 .0044 ? vccadpllb 1.05 .088 .0176 .0044 .0044 ? vcccore 1.05 1.43 1.254 .3685 .2805 ? vccdmi 1.1 .055 .055 .0011 .0011 ? vccio 1.05 3.23 2.628 .463 .285 ? vcclan 1.05 .220 .220 .066 .066 .132 ? vccme 1.05 1.2 1.2 .186 .186 .98 .0044 ? vccme3_3 3.3 .031 .031 .0022 .0022 .0154 .0022 ? vccrtc 3.3 n/a n/a n/a n/a n/a n/a 6 ua see notes 1, 2 vccsus3_3 3.3 .087 .087 .0132 .0132 .133 .0297 ? vccsushda 3.3 .0088 .0088 .001 .001 .001 .001 ? vccvrm 1.8 .156 .114 .113 .045 ? vccalvds 3.3 .0011 .0011 .0011 .0011 vcctx_lvds 1.8 .066 .0011 .0198 .0011
datasheet 329 electrical characteristics notes: 1. g3 state shown to provide an estimate of battery life. 2. icc (rtc) data is taken with vccrtc at 3.0 v while the system in a mechanical off (g3) state at room temperature. table 8-7. measured icc (sff only) voltage rail voltage (v) s0 iccmax current integrated graphics (a) s0 iccmax current external graphics (a) s0 idle current integrated graphics (a) s0 idle current external graphics (a) sx iccmax current (a) sx idle current (a) g3 v_cpu_io 1.1/ 1.05 .001 .001 .001 .001 ? v5ref 5 .001 .001 .001 .001 ? v5ref_sus 5 .001 .001 .001 .001 .001 ? vcc3_3 3.3 .305 .305 .0176 .0176 ? vccadac 3.3 .075 .0011 .0011 .0011 ? vccadplla 1.05 .078 .011 .081 .0044 ? vccadpllb 1.05 .078 .011 .0044 .0044 ? vcccore 1.05 1.32 1.14 .352 .264 ? vccdmi 1.1 .055 .055 .0011 .0011 ? vccio 1.05 3.15 2.56 .437 .252 ? vcclan 1.05 .176 .176 .057 .057 .11 ? vccme 1.05 .892 .892 .169 .169 .826 .0044 ? vccme3_3 3.3 .031 .031 .0022 .0022 .0154 .0022 ? vccpnand 1.8 .0055 .0055 .0022 .0022 ? vccrtc 3.3 n/a n/a n/a n/a n/a n/a 6 ua see notes 1, 2 vccsus3_3 3.3 .087 .087 .0132 .0132 .122 .0286 ? vccsushda 3.3 .0088 .0088 .001 .001 .001 .001 ? vccvrm 1.8 .156 .114 .113 .045 ? vccalvds 3.3 .0011 .0011 .0011 .0011 vcctx_lvds 1.8 .066 .0011 .0198 .0011
electrical characteristics 330 datasheet table 8-8. dc characteristic input signal association (sheet 1 of 2) symbol associated signals vih1/vil1 (5v tolerant) pci signals: ad[31:0], c/be[3:0]#, devsel#, frame#, irdy#, par, perr#, plock#, req[3:0]#, serr#, stop#, trdy# interrupt signals: pirq[d:a]#, pirq[h:e]#, serirq gpio signals: gpio[54, 52, 50, 5:2] vih2/vil2 digital display port hot plug detect: ddpb_hpd, ddpc_hpd, ddpd_hpd vih3/vil3 clock signals: refclk14in power management signals: pwrbtn#, ri#, sys_reset#, wake#, clkrun# (mobile only) mobile only: ac_present gpio signals: gpio[67:61, 57, 48, 39, 38, 34, 32, 31, 30, 29, 24, 22, 17, 7, 6, 1] intel ? quiet system te chnology signals : tach[3:0] strap signals: , sataled# (strap purposes only) vih4/vil4 clock signals: clkin_pciloopback processor signals: a20gate pci signals: pme# interrupt signals: serirq integrated clock signals: peg_a_clkrq#, peg_b_clkrq#, pcieclkrq[7:0]# power management signals: batlow# sata signals: sata[5:0]gp spi signals: spi_miso strap signals: spkr, spi_mosi, gnt[3:0]#, (strap purposes only) lpc/firmware hub signals: lad[3:0]/fwh[3:0], ldrq0#, ldrq1#, gpio signals: gpio[73, 72, 59, 56, 55, 53, 51, 49, 47:40, 37, 36, 35, 33, 28, 27, 26, 25, 23,21, 20, 19, 18, 16, 15, 14, 12, 10, 9, 8, 0] desktop only: gpio[72, 12] usb signals: oc[7:0]# vih5/vil5 smbus signals: smbclk, smbdata, smbalert# system management signals: sml[1:0]clk(1), sml[1:0]data(1) gpio signals: gpio[75, 74, 60, 58, 11] processor interface: rcin# power management signals: sys_pwrok, lan_rst#, mepwrok vih6/vil6 jtag signals: jtag_tdi, jtag_tms, trst#, jtag_tck vih7/vil7 processor signals: thrmtrip # vimin8/vimax8 pci express* data rx signals: per[p,n][8:1] vih9/vil9 real time cl ock signals: rtcx1 vimin10 -gen1i/ vimax10-gen1i sata signals: sata[5:0]rx[p,n] (1.5 gb/s internal sata) vimin10 -gen1m/ vimax10-gen1m sata signals: sata[5:0]rx[p,n] (1.5 gb/s external sata) vimin10 -gen2i/ vimax10-gen2i sata signals: sata[5:0]rx[p,n] (3.0 gb/s internal sata) vimin10 -gen2m/ vimax10-gen2m sata signals: sata[5:0]rx[p,n] (3.0 gb/s external sata)
datasheet 331 electrical characteristics notes: 1. v di = | usbpx[p] ? usbpx[n]. 2. includes vdi range. 3. applies to low-speed/high-speed usb. 4. pci express mvdiff p-p = 2*|petp[x] ? petn[x]|. 5. sata vdiff, rx (vimax10/min10) is measured at the sata connector on the receiver side (generally, the motherboard connector), where sata mvdiff p-p = 2*|sata [x]rxp ? sata[x]rxn|. 6. vccrtc is the voltage applied to the vccrtc we ll of the pch. when the system is in a g3 state, this is generally supplied by the coin ce ll battery, but for s5 and greater, this is generally vccsus3_3. 7. cl_vref = 0.27 cl_vref1 applie s to mobile configurations. 8. this is an ac characteri stic that represents transi ent values for these signals. 9. applies to high-speed usb 2.0. vih11/vil11 intel high definition audio signals: hda_sdin[3:0] (3.3v mode) strap signals: hda_sdout, hda_sync (strap purposes only) gpio signals : gpio13 note: see vil_hda/vih_hda for high defi nition audio low voltage mode vih12 (absolute maximum) / vil12 (absolute minimum) / vclk_in_cross(abs) clock signals: clkin_bclk_[p,n], clkin_dmi_[p,n], clkin_dot96[p,n], clkin_sata_[p,n] / cksscd_[p,n] vih13/vil13 miscellaneous signals: rtcrst# vih14/vil14 power management signals: pwrok, rsmrst# system management signals: intruder# miscellaneous signals: intvrmen, srtcrst# vih15/vil15 digital display control signals: crt_ddc_clk, crt_ddc_data sdvo_ctrlclk, sdvo_ctrldata, ddpc_ctrlclk, ddpc_ctrldata, ddpd_ctrlclk, ddpd_ctrldata mobile only: l_bklten, l_bkltctl, l_ddc_clk, l_ddc_data vih_cl/vil_cl controller link: cl_clk1, cl_data1 vdi / vcm / vse (5v tolerant) usb signals: usbp[13:0][p,n] (low-speed and full-speed) v hssq / v hsdsc / v hscm (5v tolerant) usb signals: usbp[13:0][p,n] (in high-speed mode) vih_hda / vil_hda intel ? high definition audio signals: hda_sdin[3:0] strap signals: hda_sdout, hda_sync (strap purposes only) note: only applies when running in low voltage mode (1.5 v) vih_sst/vil_sst intel ? quiet system technology an d thermal reporting signals: sst vih_peci/ vil_peci intel ? quiet system technology an d thermal reporting signals: peci vih_fdi/vil_fdi intel ? flexible display interface signals: fdi_rx[p,n][7:0] vaux-diff-p-p digital display port aux signal (receiving side): ddp[d:b]_aux[p,n] vih_xtal25/ vil_xtal25 25 mhz crystal input: (used in display cl ock integration mode) xtal25_in table 8-8. dc characteri stic input signal association (sheet 2 of 2) symbol associated signals
electrical characteristics 332 datasheet table 8-9. dc input charac teristics (she et 1 of 3) symbol parameter min max unit notes vil1 input low voltage ?0.5 0.3(3.3v) v note 10 vih1 input high voltage 0.5 (3.3v) v5ref + 0.5 v note 10 vil2 input low voltage ? .8 v vih2 input high voltage 2 ? v vil3 input low voltage ?0.5 0.8 v vih3 input high voltage 2.0 3.3 v + 0.5 v note 10 vil4 input low voltage ?0.5 0.3(3.3 v) v note 10 vih4 input high voltage 0.5(3.3 v) 3.3 v + 0.5 v note 10 vil5 input low voltage ?0.5 0.8 v vih5 input high voltage 2.1 3.3 v + 0.5 v note 10 vil6 input low voltage -0.5 0.35 v note 11 vih6 input high voltage 0.75 1.05 v + 0.5 v note 11 vil7 input low voltage 0 0.51(v_cpu_io) v vih7 input high voltage 0 .81(v_cpu_io) v_cpu_io v vimin8 minimum input voltage 175 ? mvdiff p-p note 4 vimax8 maximum input voltage ? 1200 mvdiff p-p note 4 vil9 input low voltage ?0.5 0.10 v vih9 input high voltage 0.50 1.2 v vimin10- gen1i minimum input voltage - 1.5 gb/s internal sata 325 ? mvdiff p-p note 5 vimax10- gen1i maximum input voltage - 1.5 gb/s internal sata ?600 mvdiff p-p note 5 vimin10- gen1m minimum input voltage - 1.5 gb/s esata 240 ? mvdiff p-p note 5 vimax10- gen1m maximum input voltage - 1.5 gb/s esata ?600 mvdiff p-p note 5 vimin10- gen2i minimum input voltage - 3.0 gb/s internal sata 275 ? mvdiff p-p note 5 vimax10- gen2i maximum input voltage - 3.0 gb/s internal sata ?750 mvdiff p-p note 5 vimin10- gen2m minimum input voltage - 3.0 gb/s esata 240 ? mvdiff p-p note 5 vimax10- gen2m maximum input voltage - 3.0 gb/s esata ?750 mvdiff p-p note 5 vil11 input low voltage ? 0.5 0.35(3.3 v) v note 10
datasheet 333 electrical characteristics vih11 input high voltage 0.65(3.3 v) 3.3 + 0.5v v note 10 vil12 (absolute minimum) input low voltage -0.3 ? v vih12 (absolute maximum) input high voltage ? 1.150 v vil13 input low voltage ? 0.5 0.78 v vih13 input high voltage 2.3 vccrtc + 0.5 v note 6 vil14 input low voltage ? 0.5 0.78 v vih14 input high voltage 2.0 vccrtc + 0.5 v note 6 vil15 input low voltage ? 0.5 0.3*(3.3 v) v note 10 vih15 input high voltage 0.7*(3.3 v) 3.3 v + 0.5 v note 10 vil_cl input low voltage ? 0.3 (cl_vref - 0.075) v note 7 vih_cl input high voltage (cl_vref + 0.075) 1.2 v note 7 vclk_in_cros s(abs) absolute crossing point 0.250 0.550 v vdi differential input sensitivity 0.2 ? v note 1,3 vcm differential common mode range 0.8 2.5 v note 2,3 vse single-ended receiver threshold 0.8 2.0 v note 3 vhssq hs squelch detection threshold 100 150 mv note 9 vhsdsc hs disconnect detection threshold 525 625 mv note 9 vhscm hs data signaling common mode voltage range ?50 500 mv note 9 vil_hda input low vo ltage 0 0.4(vcc_hda) v vih_hda input high voltage 0.6(vcc_hda) 1.5 v vil_sst input low voltage -0.3 0.4 v vih_sst input high voltage 1.1 1.5 v vil_peci input low voltage -0.15 0.275(v_cpu_io) v vih_peci input high voltage 0.725(v_cpu_io) v_cpu_io + 0.15 v vil_fdi minimum input voltage 175 ? mvdiff p-p vih_fdi maximum input voltage ? 1000 mvdiff p-p table 8-9. dc input charac teristics (sheet 2 of 3) symbol parameter min max unit notes
electrical characteristics 334 datasheet notes: 1. v di = | usbpx[p] ? usbpx[n]. 2. includes vdi range. 3. applies to low-speed/full-speed usb. 4. pci express mvdiff p-p = 2*|petp[x] - petn[x]|. 5. sata vdiff, rx (vimax10/min10) is measured at the sata connector on the receiver side (generally, the motherboard connector), where sata mvdiff p-p = 2*|sata[x]rxp ? sata[x]rxn|. 6. vccrtc is the voltage applied to the vccrtc we ll of the pch. when the system is in a g3 state, this is generally supplie d by the coin cell battery, but for s5 and greater, this is generally vccsus3_3. 7. cl_vref = 0.27 (vcccl1_5). cl_vref0 applies to desktop configurations. cl_vref1 applies to mobile configurations. 8. this is an ac characteristic that repr esents transient values for these signals. 9. applies to high-speed usb 2.0. 10. 3.3 v refers to vccsus3_3 for signals in the suspend well and to vcc3_3 for signals in the core well and to vccme3_3 for signals in the me well. see ta b l e 3 - 2 , or ta b l e 3 - 3 for signal and power well association. 11. 1.1 v refers to vccio or vcccore for signals in the core well and to vccme for signals in the me well. see ta b l e 3 - 2 or ta b l e 3 - 3 for signal and power well association. 12. specification applies when 25 mhz crystal is used on the platform. xtal25_in is terminated low when crystal input is not used. vaux-diff-p- p digital display port auxiliary signal peak-to-pe ak voltage at receiving device 0.32 1.36 vdiffp -p vil_xtal25 minimum input voltage -0.15 0.15 v 12 vih_xtal25 maximum input voltage 0.7 1.1 v 12 table 8-9. dc input charac teristics (she et 3 of 3) symbol parameter min max unit notes table 8-10. dc characteristic output signal association (sheet 1 of 3) symbol associated signals voh1/vol1 processor signal: pmsynch, procpwrgd voh2/vol2 lpc/firmware hub signals: lad[3:0]/fwh[3:0], lframe#/fwh[4], init3_3v# power management signal: (mobile only) lan_phy_pwr_ctrl intel ? high definition audio signals: hda_dock_en# (mobile only), hda_dock_rst# (mobile only) pci signals: ad[31:0], c/be[3:0], devse l#, frame#, irdy#, par, pcirst#, gnt[3:0]#, pme#(1) interrupt signals: pirq[d:a], pirq[h:e]#(1) gpio signals: gpio[73, 72, 59, 56, 55:50, 49, 47:44 43:40, 37, 36, 35, 33, 28, 27, 26, 25, 23, 21, 20, 19, 18, 16, 15, 14, 13, 12, 10, 9, 8, 5:2, 0] spi signals: spi_cs0#, spi_cs1#, spi_mosi, spi_clk miscellaneou s signals: spkr voh3/vol3 smbus signals: smbclk(1), smbdata(1) system management signals: sml[1:0]clk(1), sml[1:0]data(1), sml0alert#, sml1alert# gpio signals: gpio[75, 74, 60, 58, 11]
datasheet 335 electrical characteristics voh4/vol4 power management signals: slp_s3#, slp_s4#, slp_s5#, slp_m#, slp_lan#, susclk, sus_stat#, su s_pwr_dn_ack, clkrun# (mobile only) stp_pci# sata signals : sataled#, sclock, sload, sdataout0, sdataout1 gpio signals: gpio[63:61, 57, 48, 39, 38, 34, 32, 31, 30, 29, 24, 22, 17, 7, 6, 1] controller link: cl_rst1# interrupt signals: serirq voh5/vol5 usb signals : usbp[13:0][p,n] in low-sp eed and full-speed modes vol6/vol6 (fast mode) digital display co ntrol signals: crt_ddc_clk, crt_ddc_data sdvo_ctrlclk, sdvo_ctrldata, ddpc_ctrlclk, ddpc_ctrldata, ddpd_ctrlclk, ddpd_ctrldata mobile only: l_ctrl_clk, l_ct rl_data, l_vdd_en, l_bklten, l_bkltctl, l_ddc_clk, l_ddc_data, note: fast mode is not a pplicable to l_vdd_en voh6 l_vdd_en, l_bklten, l_bkltctl vomin7 - gen1i,m/ vomax7-gen1i,m sata signals: sata[5:0]rx[p,n] (1.5 gb/s internal and external sata) vomin7 - gen2i,m/ vomax7-gen2i,m sata signals: sata[5:0]rx[p,n] (3.0 gb/s internal and external sata) vomin8/vomax8 pci express* data tx signals: pet[p,n][8:1] digital display ports when configured as hdmi/dvi: ddpb_[3:0][p,n], ddpc_[3:0][p,n], ddpd_[3:0][p,n] sdvo signals: sdvo_int[p,n ], sdvo_tvclkin[p,n], sdvo_stall[p,n] voh9/vol9 power management signal: pltrst# vhsoi vhsoh vhsol vchirpj vchirpk usb signals: usbp[13:0][p:n] in high-speed mode voh_hda/ vol_hda intel ? high definition audio signals: hda_rst#, hda_sdout, hda_sync vol_jtag jtag signals: jtag_tdo voh_pciclk/ vol_pciclk single ended clock inte rface output signals: clkout_pci[4:0], clkoutflex[3:0] gpio signals: [67:64] vol_sgpio sgpio signals: sclock, sload, sdataout0, sdataout1 gpio[48, 39, 38, 22] voh_pwm/ vol_pwm intel ? quiet system technology signals: pwm[3:0] table 8-10. dc characteri stic output signal assoc iation (sheet 2 of 3) symbol associated signals
electrical characteristics 336 datasheet note: 1. these signals are open-drain. voh_crt/ vol_crt display signals: crt_hsync, crt_vsync voh_cl1/ vol_cl1 controller link signals: mobile only: cl_clk1, cl_data1 voh_sst/ vol_sst sst signal: sst voh_peci/ vol_peci peci signal: peci vaux-diff-p-p digital display port aux signal (transmit side): ddp[d:b]_aux[p,n] voh_fdi// vol_fdi intel ? fdi signals: fdi_fsync_[1:0],fdi_lsync_[1:0],fdi_int table 8-10. dc characteristic output signal association (sheet 3 of 3) symbol associated signals
datasheet 337 electrical characteristics table 8-11. dc output charac teristics (sheet 1 of 2) symbol parameter min max unit i ol / i oh notes v ol1 output low voltage ? 0.255 v 3 ma v oh1 output high voltage v_cpu_io - 0.3 v_cpu_io v -3 ma v ol2 output low voltage ? 0.1(3.3 v) v 1.5 ma note 7 v oh2 output high voltage 0.9(3.3 v) 3.3 v -0.5 ma note 7 v ol3 output low voltage 0 0.4 v 4 ma v oh3 output high voltage 3.3 v - 0.5 ? v -2 ma note 1, 7 v ol4 output low voltage ? 0.4 v 6 ma v oh4 output high voltage 3.3 v- 0.5 3.3 v v -2 ma note 7 v ol5 output low voltage ? 0.4 v 5 ma v oh5 output high voltage 3.3 v ? 0.5 ? v -2 ma note 7 v ol6 output low voltage 0 400 mv 3 ma note 2 v ol6 (fast mode) output low voltage 0 600 mv 6 ma note 2 v oh6 output high voltage 3.3 v ? 0.5 3.3 v -2 ma note 7, 2 v omin7- gen1i,m minimum output voltage 400 ? mvdif fp-p note 3 v omax7- gen1i,m maximum output voltage ?600 mvdif fp-p note 3 v omin7- gen2i,m minimum output voltage 400 ? mvdif fp-p note 3 v omax7- gen2i,m maximum output voltage ?700 mvdif fp-p note 3 v omin8 output low voltage 400 ? mvdif fp-p note 2 v omax8 output high voltage ? 600 mvdif fp-p note 2 v ol9 output low voltage ? 0.1(3.3 v) v 1.5 ma note 7 v oh9 output high voltage 0.9(3.3 v) 3.3 v -2.0 ma note 7 vhsoi hs idle level ?10.0 10.0 mv vhsoh hs data signaling high 360 440 mv vhsol hs data signaling low ?10.0 10.0 mv vchirpj chirp j level 700 1100 mv vchirpk chirp k level ?900 ?500 mv vol_hda output low voltage ? 0.1(vccsushda v) v 1.5 ma voh_hda output high voltage 0.9(vccsushda v) ? v -0.5 ma vol_pwm output low voltage ? 0.4 v 8 ma voh_pwm output high voltage ? ? note 1 vol_sgpio output low voltage ? 0.4 v vol_crt output low voltage ? 0.5 v 8 ma voh_crt output high voltage 2.4 ? v 8 ma vol_cl1 output low voltage ? 0.15 v 1 ma
electrical characteristics 338 datasheet notes: 1. the serr#, pirq[h:a], smbdata, sm bclk, sml[1:0]clk, sml[1:0]data, sml[1:0]?alert# and pwm[3:0] signal has an open-drain driver and sataled# has an open-collector driver, and the v oh / i oh specification does not appl y. this signal must have external pull up resistor. 2. pci express mvdiff p-p = 2*|petp[x] ? petn[x]|. 3. sata vdiff, tx (v omin7 /v omax7 ) is measured at the sata connector on the transmit side (generally, the motherboard connector), where sata mvdiff p-p = 2*|sata[x]txp ? sata[x]txn|. 4. maximum iol for procpwrgd is 12ma for shor t durations (<500 ms per 1.5 s) and 9 ma for long durations. 5. for init3_3v only, for low current devices, the foll owing applies: v ol5 max is 0.15 v at an i ol5 of 2 ma. 6. 3.3 v refers to vccsus3_3 for signals in the suspend well, to vcc3_3 for signals in the core well and to vccme3_3 for those signals in the me well. see ta b l e 3 - 2 or ta b l e 3 - 3 for signal and power well association. 7. 3.3 v refers to vccsus3_3 for signals in the suspend well and to vcc3_3 for signals in the core well and to vccme3_3 for signals in the me well. see ta b l e 3 - 2 , or ta b l e 3 - 3 for signal and power well association. voh_cl1 output high voltage .61 .98 v vol_sst output low voltage 0 0.3 v 0.5 ma voh_sst output high voltage 1.1 1.5 v -6 ma vol_peci output low voltage ? 0.25(v_cpu_io) v 0.5 ma voh_peci output high voltage 0.75(v_cpu_io) v_cpu_io -6 ma vol_hda output low voltage ? 0.1(vcchda) v 1.5 ma vol_jtag output low voltage 0 0.1(1.05 v) v 1.5 ma v_clkout_sw ing differential output swing 300 ? mv v_clkout_cr oss clock cross-over point 300 550 mv v_clkoutmin min output voltage -0.3 ? v v_clkoutma x max output voltage 1.15 v v vol_pciclk output low voltage ? 0.4 v -1 ma voh_pciclk output high voltage 2.4 ? v 1 ma vaux-diff-p-p digital display port auxiliary signal peak-to-peak voltage at transmitting device 0.39 1.38 vdiffp -p vol_fdi output low voltage -.1 0.2(3.3v) v 4.1 ma note 7 voh_fdi output high voltage .8(3.3v) 1.2 v 4.1 ma note 7 table 8-11. dc output charac teristics (sheet 2 of 2) symbol parameter min max unit i ol / i oh notes
datasheet 339 electrical characteristics notes: 1. the i/o buffer supply voltage is measured at the pch package pins. the tolerances shown in table 8-12 are inclusive of all noise from dc up to 20 mhz. in testing, the voltage rails should be measured with a band width limited os cilloscope that has a rolloff of 3 db/decade above 20 mhz. 2. includes single ended clocks refc lk14in, clkoutflex[3:0] and pciclkin. table 8-12. other dc characteristics symbol parameter min nom max unit notes v_cpu_io processor i/f .998 1.05 1.10 v 1 v_cpu_io processor i/f 1.05 1.1 1.16 v 1 v5ref pch core well reference voltage 4.75 5 5.25 v 1 vcc3_3 i/o buffer voltage 3.14 3.3 3.47 v 1 vccvrm 1.8 v internal pll and vrms (1.8 v for desktop and mobile) 1.746 1.8 1.854 v 1,3 v5ref_sus suspend well referenc e voltage 4.75 5 5.25 v 1 vccsus3_3 suspend well i/o buffer voltage 3.14 3.3 3.47 v 1 vcccore internal logic voltage .998 1.05 1.10 v 1 vccio core well i/o buffers .998 1.05 1.10 v 1 vcc_dmi dmi buffer voltage .998 1.05 1.10 v vcclan lan controller voltage .998 1.05 1.10 v 1 vccme3_3 3.3v supply for intel ? management engine 3.14 3.3 3.47 v 1 vccme 1.05 v supply for intel ? management engine .998 1.05 1.10 v 1 vccrtc (g3-s0) battery voltage 2 ? 3.47 v 1 vccsushda high definition audio controller suspend voltage 3.14 3.3 3.47 v 1 vccsushda (low voltage) high definition audio controller low voltage mode suspend voltage 1.43 1.5 1.58 v 1 vccadplla display pll a power .998 1.05 1.10 1 vccadpllb display pll b power .998 1.05 1.10 1 vccadac display dac analog power. this power is supplied by the core well. 3.14 3.3 3.47 1 vccalvds analog power supply for lvds (mobile only) 3.14 3.3 3.47 1 vcctx_lvds i/o power supply for lv ds. (mobile only) 1.71 1.8 1.89 1 i li1 pci_3v hi-z state data line leakage ?10 ? 10 a (0 v < vin < vcc3_3) i li2 pci_5v hi-z state data line leakage ?70 ? 70 a max v in = 2.7 v min v in = 0.5 v i li3 input leakage current ? all other ?10 ? 10 a 2 c in input capacitance ? all other ? ? tbd pf f c = 1 mhz c out output capacitance ? ? tbd pf f c = 1 mhz c i/o i/o capacitance ? ? 10 pf f c = 1 mhz typical value c l xtal1 6 pf c l xtal2 6 pf
electrical characteristics 340 datasheet 3. includes only dc tolerance. ac tolerance will be 2% and dc tolerance will be 3% in addition to this range. 8.5 display dc characteristics notes: 1. measured at each r, g, b termination accordin g to the vesa test procedure ? evaluation of analog display graphics subsystems proposal (version 1, draft 4, december 1, 2000). 2. max steady-state amplitude. 3. min steady-state amplitude. 4. defined for a double 75- ohm termination. 5. set by external refe rence resistor value. 6. inl and dnl measured and calculated acco rding to vesa video signal standards. 7. max full-scale voltage difference among r,g, b outputs (percentage of steady-state full- scale voltage). table 8-13. signal groups signal group associ ated signals note lvds lvdsa_data[3:0], lvdsa_data#[3:0], lvdsa_clk, lvdsa_clk#, lvdsb_data[3:0], lvdsb_data#[3:0], lvdsb_clk, lvdsb_clk# crt dac crt_red, crt_green, crt_bl ue, crt_irtn, crt_tvo_iref digital displayport auxillary ddp[d:b]_aux[p,n] table 8-14. crt dac signal group dc char acteristics: functional operating range (vccadac = 3.3 v 5%) parameter min nom max unit notes dac resolution ?8?bits 1 max luminance (full-scale) 0.665 0.7 0.77 v 1, 2, 4 white video level voltage min luminance ? 0 ? v 1, 3, 4 black video level voltage lsb current ?73.2?ua 4, 5 integral linearity (inl) -1 ? 1 lsb 1, 6 differential linearity (dnl) -1 ? 1 lsb 1, 6 video channel-channel voltage ampli- tude mismatch ?? 6% 7 monotonicity yes
datasheet 341 electrical characteristics table 8-15. lvds interface: functional operating ra nge (vccalvds = 3.3 v 5%) symbol parameter min nom max unit vod differential output voltage 250 350 450 mv vod change in vod be tween complementary output states ??50mv vos offset voltage 1.125 1.25 1.375 v vos change in vos between complementary output states ??50mv ios output short circuit current ?-3.5-10ma ioz output tri-state current ?1 10 ua table 8-16. display port auxiliary signal group dc characteristics symbol parameter min nom max unit vaux-diff-p-p aux peak-to-peak voltage at a transmitting devices 0.39 ? 1.38 v aux peak-to-peak voltage at a receiving devices 0.32 ? 1.36 v vaux-term-r aux ch termination dc resistance ?100 ? v-aux-dc-cm aux dc common mode voltage 0? 2 v v-aux_turn- cm aux turn around common mode voltage ?0.4 v
electrical characteristics 342 datasheet 8.6 ac characteristics notes: 1. specified at the measurement point into a ti ming and voltage compliance test load and measured over any 250 consecutive tx uis. (a lso refer to the transm itter compliance eye diagram). 2. a t tx-eye = 0.70 ui provides for a total sum of deterministic and rand om jitter budget of t txjitter-max = 0.30 ui for the transmit ter collected over any 250 consecutive tx uis. the t txeye-median-to-max-jitter specification ensures a jitter di stribution in which the median and the maximum deviation from the median is le ss than half of the total tx jitter budget collected over any 250 consecutive tx uis. it should be noted that the median is not the same as the mean. the jitter median describes the point in time where the number of jitter points on either side is approximately eq ual as opposed to the averaged time value. 3. specified at the measurement point and measured over any 250 consecutive uis. the test load documented in the pci express* specification 2.0 should be used as the rx device when taking measurements (als o refer to the receiver compliance eye diagram). if the clocks to the rx and tx are not derived fr om the same referenc e clock, the tx ui recovered from 3500 consecutive ui must be used as a reference for the eye diagram. 4. a t rx-eye = 0.40 ui provides for a total sum of 0.60 ui deterministic and random jitter budget for the transmitter and interconnect collected any 250 consecutive uis. the t rx- eye-median-to--max-jitter specification ensures a jitter distribution in which the median and the maximum deviation from the median is less th an half of the total 0.6 ui jitter budget collected over any 250 consecutive tx uis. it should be noted that the median is not the same as the mean. the jitter median describes the point in time where the number of jitter points on either side is appr oximately equal as opposed to the averaged time value. if the clocks to the rx and tx are not derived fr om the same referenc e clock, the tx ui recovered from 3500 consecutive ui must be used as the reference for the eye diagram. 5. nominal unit interval is 400 ps for 2.5 gt/s and 200 ps for 5 gt/s. table 8-17. pci express* interface timings symbol parameter min ma x unit figures notes transmitter and re ceiver timings ui unit interval ? pci express* 399.88 400.12 ps 5 t tx-eye minimum transmission eye width 0.7 ? ui 8-26 1,2 t tx-rise/ fall d+/d- tx out put rise/fall time ? 0.125 ui 1,2 t rx-eye minimum receiver eye width 0.40 ? ui 8-27 3,4
datasheet 343 electrical characteristics notes: 1. specified at the measurement point into a ti ming and voltage compli ance test load and measured over any 250 consecutive tx uis. (a lso refer to the transm itter compliance eye diagram). 2. a t tx-eye = 0.70 ui provides for a total sum of de terministic and random jitter budget of t txjitter-max = 0.30 ui for the transmitter collected over any 250 consecutive tx uis. the t txeye-median-to-max-jitter specification ensures a jitter di stribution in which the median and the maximum deviation from the median is less than half of the total tx jitter budget collected over any 250 consecutive tx uis. it should be noted that the median is not the same as the mean. the jitter me dian describes the point in ti me where the number of jitter points on either side is a pproximately equal as opposed to the averaged time value. notes: 1. specified at the measurement point into a ti ming and voltage compli ance test load and measured over any 250 consecutive tx uis. (a lso refer to the transm itter compliance eye diagram). 2. a t tx-eye = 0.70 ui provides for a total sum of de terministic and random jitter budget of t txjitter-max = 0.30 ui for the transmitter collected over any 250 consecutive tx uis. the t txeye-median-to-max-jitter specification ensures a jitter di stribution in which the median and the maximum deviation from the median is less than half of the total tx jitter budget collected over any 250 consecutive tx uis. it should be noted that the median is not the same as the mean. the jitter me dian describes the point in ti me where the number of jitter points on either side is a pproximately equal as opposed to the averaged time value. 3. specified at the measurement point and measured over any 250 consecutive uis. the test load documented in the pci express* specification 2.0 should be used as the rx device table 8-18. hdmi interface timings (ddp[d:b][3:0]) symbol parameter min max unit figures notes transmitter and re ceiver timings ui unit interval 600 4000 ps t tx-eye minimum transmission eye width 0.8 ? ui 1,2 t tx-rise/fall d+/d- tx out put rise/fall time ? 0.125 ui 1,2 tmds clock jitter ?0.25ui t-skew- intra-pair intra pair skew at source connector ?0.15t bit t-skew- inter-pair inter pair skew at source connector ?0.2 tc h a r acter duty cycle clock duty cycle 10 60% % table 8-19. sdvo interface timings symbol parameter min max unit figures notes transmitter and re ceiver timings ui unit interval 369.89 1000 ps 5 t tx-eye minimum transmission eye width 0.7 ? ui 8-26 1,2 t tx-rise/ fall d+/d- tx out put rise/fall time ?0.125ui 1,2 t rx-eye minimum receiver eye width 0.40 ? ui 8-27 3,4
electrical characteristics 344 datasheet when taking measurements (als o refer to the receiver compliance eye diagram). if the clocks to the rx and tx are not derived fr om the same referenc e clock, the tx ui recovered from 3500 consecutive ui must be used as a reference for the eye diagram. 4. a t rx-eye = 0.40 ui provides for a total sum of 0.60 ui deterministic and random jitter budget for the transmitter and interconnect collected any 250 consecutive uis. the t rx- eye-median-to--max-jitter specification ensures a jitter distribution in which the median and the maximum deviation from the median is less th an half of the total 0.6 ui jitter budget collected over any 250 consecutive tx uis. it should be noted that the median is not the same as the mean. the jitter median describes the point in time where the number of jitter points on either side is appr oximately equal as opposed to the averaged time value. if the clocks to the rx and tx are not derived fr om the same referenc e clock, the tx ui recovered from 3500 consecutive ui must be used as the reference for the eye diagram. 5. nominal unit interval for highest sdvo sp eed is 370 ps. howeve r, depending on the resolution on the interface, the ui may be more than 370 ps. table 8-20. displayport interf ace timings (ddp[d:b][3:0]) symbol parameter min nom max unit ui_high_rate unit interval for high bit rate (2.7 gbps/lane) 370 ? ps ui_low_rate unit interval for reduced bit rate (1.62 gbps/lane) 617 ? ps down_spread_ amplitude link clock down spreading 0 ? 0.5 % down_spread_ frequency link clock down-spreading frequency 30 ? 33 khz ltx-skew- intrapair lane intra-pair output skew at tx package pins ?20ps ttx-rise/ fall_mismatch_ chipdiff lane intra-pair rise/fall time mismatch at tx package pin 5%? v tx-diffp-p-level1 differential peak-t o-peak output voltage level 1 0.34 0.4 0.46 v v tx-diffp-p-level2 differential peak-t o-peak output voltage level 2 0.51 0.6 0.68 v v tx-diffp-p-level3 differential peak-t o-peak output voltage level 3 0.69 0.8 0.92 v v tx-preemp_ratio no pre-emphasis 0 0 0 db v tx-preemp_ratio 3.5 db pre-emphasis level 2.8 3.5 4.2 db v tx-preemp_ratio 6.0 db pre-emphasis level 4.8 6 7.2 db l tx-skew- inter_pair lane-to-lane output skew at tx package pins ??2ui
datasheet 345 electrical characteristics notes: 1. measurement point for rise and fall time: v il (min)?v il (max). 2. cb = total capacitance of one bus line in pf. if mixed with high-speed mode devices, faster fall times according to high-speed mode t r /t f are allowed. table 8-21. displayport aux interface symbol parameter min nom max unit ui aux unit interval 0.4 0.5 0.6 us t- aux_bus_park aux ch bus park time 10 ? ? ns tcycle-to-cycle jitter maximum allowable ui variation within a single transaction at the connector pins of a transmitting device 0.04 ui ? maximum allowable ui variation within a single transaction at the connector pins of a receiving device 0.05 ui ? table 8-22. ddc characteristics ddc signals: crt_ddc_clk, crt_ddc_data, l_ddc_clk, l_ddc_data, sdvo_ctrlclk, sdvo_ctrldata, ddp[d:c]_ctrlclk, ddp[d:c]_ctrldata symbol parameter standard mode fast mode 1 mhz units max min max min max f scl operating frequency 100 ? 400 ? 1000 khz t r rise time 1 ???? ns t f fall time 1 250 20+0.1cb 2 250 ? 120 ns
electrical characteristics 346 datasheet table 8-23. lvds interface ac characterist ics at various frequencies (sheet 1 of 2) symbol parameter min nom max unit figures notes llht lvds low-to-high tran si ti on tim e 0.25 0.5 0.75 ns figure 8-24 1, across receiver termination lhlt lvds high-to-low tran si ti on tim e 0.25 0.5 0.75 ns 1, across receiver termination frequency = 40-mhz tppos0 transmitter output pulse for bit 0 -0.25 0 0.25 ns figure 8-25 tppos1 transmitter output pulse for bit 1 3.32 3.57 3.82 ns tppos2 transmitter output pulse for bit 2 6.89 7.14 7.39 ns tppos3 transmitter output pulse for bit 3 10.46 10.71 10.96 ns tppos4 transmitter output pulse for bit 4 14.04 14.29 14.54 ns tppos5 transmitter output pulse for bit 5 17.61 17.86 18.11 ns tppos6 transmitter output pulse for bit 6 21.18 21.43 21.68 ns tjcc transmitter jitter cycle-to-cycle ? 350 370 ps frequency = 65-mhz tppos0 transmitter output pulse for bit 0 -0.20 0 0.20 ns figure 8-25 tppos1 transmitter output pulse for bit 1 2.00 2.20 2.40 ns tppos2 transmitter output pulse for bit 2 4.20 4.40 4.60 ns tppos3 transmitter output pulse for bit 3 6.39 6.59 6.79 ns tppos4 transmitter output pulse for bit 4 8.59 8.79 8.99 ns tppos5 transmitter output pulse for bit 5 10.79 10.99 11.19 ns tppos6 transmitter output pulse for bit 6 12.99 13.19 13.39 ns tjcc transmitter jitter cycle-to-cycle ? ? 250 ps
datasheet 347 electrical characteristics frequency = 85?mhz tppos0 transmitter output pulse for bit 0 -0.20 0 0.20 ns figure 8-25 tppos1 transmitter output pulse for bit 1 1.48 1.68 1.88 ns tppos2 transmitter output pulse for bit 2 3.16 3.36 3.56 ns tppos3 transmitter output pulse for bit 3 4.84 5.04 5.24 ns tppos4 transmitter output pulse for bit 4 6.52 6.72 6.92 ns tppos5 transmitter output pulse for bit 5 8.20 8.40 8.60 ns tppos6 transmitter output pulse for bit 6 9.88 10.08 10.28 ns tjcc tra nsm i tt er ji tt er cycle-to-cycle ??250ps frequency = 108?mhz tppos0 transmitter output pulse for bit 0 -0.20 0 0.20 ns figure 8-25 tppos1 transmitter output pulse for bit 1 1.12 1.32 1.52 ns tppos2 transmitter output pulse for bit 2 2.46 2.66 2.86 ns tppos3 transmitter output pulse for bit 3 3.76 3.96 4.16 ns tppos4 transmitter output pulse for bit 4 5.09 5.29 5.49 ns tppos5 transmitter output pulse for bit 5 6.41 6.61 6.81 ns tppos6 transmitter output pulse for bit 6 7.74 7.94 8.14 ns tjcc tra nsm i tt er ji tt er cycle-to-cycle ??250ps table 8-23. lvds interface ac characteristics at various frequencies (sheet 2 of 2) symbol parameter min no m max unit figures notes
electrical characteristics 348 datasheet notes: 1. measured at each r, g, b terminat ion according to the vesa test procedure ? evaluation of analog display graphics subsystems proposal (version 1, draft 4, december 1, 2000). 2. r, g, b max video rise/fall time: 50% of minimum pixel clock period. 3. r, g, b min video rise/fall time: 10% of minimum pixel clock period. 4. max settling time: 30% of minimum pixel clock period. 5. video channel-channel output skew: 25% of minimum pixel clock period. 6. overshoot/undershoot: 12% of black-whit e video level (full-scale) step function. 7. noise injection ratio: 2.5% of maximum lu minance voltage (dc to max. pixel frequency). 8. r, g, b ac parameters are strongly dependent on the bo ard implementation. table 8-24. crt dac ac characteristics parameter min nom max units notes pixel clock frequency 400 mhz r, g, b video rise time 0.25 ? 1.25 ns 1, 2, 8 (10-90% of black-to-white transition, @ 400-mhz pixel clock) r, g, b video fall time 0.25 ? 1.25 ns 1, 3, 8 (90-10% of white-to-black transition, @ 400-mhz pixel clock) settling time 0.75 ns 1, 4, 8 @ 400-mhz pixel clock video channel-to-channel output skew 0.625 ns 1, 5, 8 @ 400-mhz pixel clock overshoot/ undershoot -0.084 ? +0.084 v 1, 6, 8 full-scale voltage step of 0.7 v noise injection ratio 2.5 % 1, 7, 8 table 8-25. clock timings (sheet 1 of 3) sym parameter min max unit notes figure pci clock (clkout_pci[4:0]) t1 period 29.566 30.584 ns 8-9 t2 high time 10.826 17.850 ns 8-9 t3 low time 10.426 17.651 ns 8-9 duty cycle 40 60 % t4 rising edge rate 1.0 4 v/ns 8-9 t5 falling edge rate 1.0 4 v/ns 8-9 jitter ? 500 ps 7 , 9 14 mhz flex clock (clkoutflex[3:0]) t6 period 69.820 69.862 ns 8-9 t7 high time 29.975 38.467 ns 8-9 t8 low time 29.575 38.267 ns 8-9 duty cycle 40 60 % - rising edge rate 1.0 4 v/ns 5 - falling edge rate 1.0 4 v/ns 5 jitter ? 1000 ps 7 , 9 48 mhz flex clock (clkoutflex3) t9 period 20.831 20.835 ns 18-9 t10 high time 8.217 11.152 ns 8-9
datasheet 349 electrical characteristics t11 low time 7.817 10.952 ns 8-9 duty cycle 40 60 % - rising edge rate 1.0 4 v/ns 5 -falling edge rate 1.0 4 v/ns 5 jitter ? 350 ps 7 , 9 clkout_bclk[1:0]_[p,n] period period ssc on 7.349 7.688 ns 8-28 period period ssc off 7.349 7.651 ns 8-28 dtycyc duty cycle 40 60 % 8-28 v _swing differential output swing 300 mv 8-28 slew_rise rising edge rate 1.5 4 v/ns 8-28 slew_fall falling edge rate 1.5 4 v/ns 8-28 jitter (clkout_bclk[0]_p:n]) ? 150 ps 7 , 9 jitter (clkout_bclk[1]_p:n]) ? 350 ps 7 , 9 bclk input (clkin_bclk_[p:n]) period period ssc on 7.349 7.688 ns 8-28 period period ssc off 7.349 7.651 ns 8-28 slew rate 1 8 v/ns 7 input jitter (see clock chip specification) -150ps8 clkout_dp_[p,n] period period ssc on 7.983 8.726 ns 8-28 period period ssc off 7.983 8.684 ns 8-28 dtycyc duty cycle 40 60 % 8-28 v _swing differential output swing 300 ? mv 8-28 slew_rise rising edge rate 1.5 4 v/ns 8-28 slew_fall falling edge rate 1.5 4 v/ns 8-28 jitter 350 ps 7 , 9 clkout_pcie[7:0], clkout_dmi_[p,n], clkout_peg_[b:a]_[p,n] period period ssc on 9.849 10.201 ns 8-28 period period ssc off 9.849 10.151 ns 8-28 dtycyc duty cycle 40 60 % 8-28 v _swing differential output swing 300 ? mv 8-28 slew_rise rising edge rate 1.5 4 v/ns 8-28 slew_fall falling edge rate 1.5 4 v/ns 8-28 jitter ? 150 ps 7 , 9 , 10 smbus/smlink clock (smbclk, sml[1:0]clk) f smb operating frequency 10 100 khz t18 high time 4.0 50 s 28-18 t19 low time 4.7 ? s 8-18 table 8-25. clock timings (sheet 2 of 3) sym parameter min max unit notes figure
electrical characteristics 350 datasheet t20 rise time ? 1000 ns 8-18 t21 fall time ? 300 ns 8-18 smlink0 clock (sml0c lk) (see note 13) f smb operating frequency 0 400 khz t18_sml high time 0.6 50 s2 8-18 t19_sml low time 1.3 ? s 8-18 t20_sml rise time ? 300 ns 8-18 t21_sml fall time ? 300 ns 8-18 hda_bclk (intel ? high definition audio) f hda operating frequency 24.0 mhz frequency tolerance ? 100 ppm t26a input jitter (s ee clock chip specification) ? 300 ppm t27a high time (measured at 0.75 vcc) 18.75 22.91 ns 8-9 t28a low time (measured at 0.35 vcc) 18.75 22.91 ns 8-9 sata clock and dmi clock (clkin_sata_[p:n], clkin_dmi_[p:n]) from a clock chip t36 period 9.997 10.0533 ns slew rate 1 8 v/ns input jitter (s ee clock chip specification) ? 150 ps 7 dot 96mhz (clkin_dot96[p,n]) from a clock chip t36 period 10.066 10.768 ns slew rate 1 8 v/ns input jitter (s ee clock chip specification) ? 350 ps 7 suspend clock (susclk) f susclk operating frequency 32 khz 4 t39 high time 10 ? s 4 t39a low time 10 ? s 4 intel ? quiet system technology f pwm pwm operating frequency 10 28,000 hz spi_clk slew_rise output rise slew rate (0.2vcc - 0.6vcc) 14v/ns7 8-29 slew_fall output fall slew rate (0.6vcc - 0.2vcc) 14v/ns7 8-29 xtal25_in/xtal25_out ppm crystal tolerance cut accuracy max 35 ppm (@ 25 c 3 c) ppm temperature stability max 30 ppm @ (-10 c to 70 c) ppm aging max 5 ppm table 8-25. clock timings (sheet 3 of 3) sym parameter min max unit notes figure
datasheet 351 electrical characteristics notes: 1. the clk48 expects a 40/60% duty cycle. 2. the maximum high time (t18 max) provide a simple ensured method for devices to detect bus idle conditions. 3. bclk rise and fall times are measured from 10%vdd and 90%vdd. 4. susclk duty cycle can range from 30% minimum to 70% maximum. 5. edge rates in a system as measured from 0.8 v to 2.0 v. 6. the active frequency can be 5 mhz, 50 mh z, or 62.5 mhz depend ing on the interface speed. dynamic changes of the normal operating frequency are not allowed. 7. testing condition: 1 kohm pull up to vcc, 1 kohm pull down and 10 pf pull down and 1/2 inch trace (see figure 8-29 for more detail). 8. jitter is specified as cycle to cycle measured in pico seconds. period min and max includes cycle to cycle jitter. 9. on all jitter measurements care should be taken to set the zero crossing voltage (for rising edge) of the clock to be the point where the edge rate is the fastest. using a math function = average(derivavitive(ch1)) and set the averages to 64, place the cursors where the slope is the highest on the rising edge?usual ly this lower half of the rising edge. the reason this is defined is for users trying to measure in a system it is impossible to get the probe exactly at the end of the transmission line with large flip chip components, this results in a reflection induced ledge in the mi ddle of the rising edge and will si gnificantly increase measured jitter. 10. phase jitter requirement: the designated gen2 outputs will meet the reference clock jitter requirements from the pci express gen2 base specification . the test is to be performed on a component test board under quiet conditions with all clock output s on. jitter analysis is performed using a standardized tool provided by the pci sig. measurement methodology is defined in intel document ?pci expres s reference clock jitter measurements?. note that this is not for clkout_pcie[7:0]. 11. crystal specifications provided are guidelines and applies when a 25 mhz crystal is used on the platform. total of crystal cut accuracy, te mperature stability, frequency variations due to parasitics and load capacitances and agin g is recommended to be less than 90 ppm. 12. when smlink0 is configured to run in fast mode using a soft strap, the operating frequency is in the range of 300 khz ? 400 khz.
electrical characteristics 352 datasheet note: 1. see note 3 of table 4-4 in section 4.2.2.2 and note 2 of table 4-6 in section 4.2.3.2 of the pci local bus specification, revision 2.3 for measurement details. table 8-26. pci interface timing sym parameter min max units notes figure t40 ad[31:0] valid delay 2 11 ns 1 8-10 t41 ad[31:0] setup time to pciclk rising 7 ? ns 8-11 t42 ad[31:0] hold time from pciclk rising 0 ? ns 8-11 t43 c/be[3:0]#, frame#, trdy#, irdy#, stop#, par, perr#, plock#, devsel# valid delay from pciclk rising 211ns 1 8-10 t44 c/be[3:0]#, frame#, trdy#, irdy#, stop#, par, perr#, plock#, idsel, devsel# output enable delay from pciclk rising 2ns 8-14 t45 c/be[3:0]#, frame#, trdy#, irdy#, stop#, perr#, plock#, devsel#, gnt[a:b]# float delay from pciclk rising 228ns 8-12 t46 c/be[3:0]#, frame#, trdy#, irdy#, stop#, serr#, perr#, devsel#, setup time to pciclk rising 7ns 8-11 t47 c/be[3:0]#, frame#, trdy#, irdy#, stop#, serr#, perr#, devsel#, req[a:b]# hold time from pclkin rising 0?ns 8-11 t48 pcirst# low pulse width 1 ms 8-13 t49 gnt[3:0]# valid delay from pciclk rising 212ns t50 req[3:0]# setup time to pciclk rising 12 ? ns
datasheet 353 electrical characteristics notes: 1. driver output resistance under steady state drive is specified at 28 ohms at minimum and 43 ohms at maximum. 2. timing difference between th e differential data signals. 3. measured at crossover point of differential data signals. 4. measured at 50% swing point of data signals. 5. measured from last crossover point to 50% swin g point of data line at leading edge of eop. 6. measured from 10% to 90% of the data signal. 7. full-speed data rate has minimum of 11.97 mb/s and maximum of 12.03 mb/s. 8. low-speed data rate has a minimum of 1.48 mb/s and a maximum of 1.52 mb/s. table 8-27. universal serial bus timing sym parameter min max units notes fig full-speed source (note 7) t100 usbpx+, usbpx- driver rise time 4 20 ns 1, c l = 50 pf 8-15 t101 usbpx+, usbpx- driver fall time 4 20 ns 1, c l = 50 pf 8-15 t102 source differential driver jitter - to next transition - for paired transitions ?3.5 ?4 3.5 4 ns ns 2, 3 8-16 t103 source se0 interval of eop 160 175 ns 4 8-17 t104 source jitter for differential transition to se0 transition ?2 5 ns 5 t105 receiver data jitter tolerance - t o next transition - for paired transitions ?18.5 ?9 18.5 9 ns ns 3 8-16 t106 eop width: must accept as eop 82 ? ns 4 8-17 t107 width of se0 interval during differential transition ?14 ns low-speed source (note 8) t108 usbpx+, usbpx ? driver rise time 75 300 ns 1, 6 c l = 50 pf c l = 350 pf 8-15 t109 usbpx+, usbpx ? driver fall time 75 300 ns 1,6 c l = 50 pf c l = 350 pf 8-15 t110 source differential driver jitter to n e x t tra n s i t i o n for paired transitions ?25 ?14 25 14 ns ns 2, 3 8-16 t111 source se0 interval of eop 1.25 1.50 s 4 8-17 t112 source jitter for differential transition to se0 transition ?40 100 ns 5 t113 receiver data jitter tolerance - to next transition - for paired transitions ?152 ?200 152 200 ns ns 3 8-16 t114 eop width: must accept as eop 670 ? ns 4 8-17 t115 width of se0 interval during differential transition ? 210 ns
electrical characteristics 354 datasheet notes: 1. 20% ? 80% at transmitter. 2. 80% ? 20% at transmitter. 3. as measured from 100 mv differential cros spoints of last and first edges of burst. 4. operating data period during out-of-band burst transmissions. table 8-28. sata interface timings sym parameter min max units notes figure ui gen i operating data period 666.43 670.23 ps ui-2 gen ii operating data period (3gb/ s) 333.21 335.11 ps t120 rise time 0.15 0.41 ui 1 t121 fall time 0.15 0.41 ui 2 t122 tx differential skew ? 20 ps t123 comreset 310.4 329.6 ns 3 t124 comwake transmit spacing 103.5 109.9 ns 3 t125 oob operating data period 646.67 686.67 ns 4 table 8-29. smbus timing (sheet 1 of 2) sym parameter min max units notes fig t130 bus free time between stop and start condition 4.7 ? s 8-18 t130 sm lfm bus free time between stop and start condition 1.3 ? s 5 8-18 t131 hold time after (repeated) start condition. after this period, the first clock is generated. 4.0 ? s 8-18 t131 sm lfm hold time after (repeated) start condition. after this period, the first clock is generated. 0.6 ? s 5 8-18 t132 repeated start condition setup time 4.7 ? s 8-18 t132 sm lfm repeated start condition setup time 0.6 ? s 5 8-18 t133 stop condition setup time 4.0 ? s 8-18 t133 sm lfm stop condition setup time 0.6 ? s 5 8-18 t134 data hold time 0 ? ns 4 8-18 t134 sm lfm data hold time 0 ? ns 4, 5 8-18 t135 data setup time 250 ? ns 8-18 t135 sm lfm data setup time 100 ? ns 5 8-18 t136 device time out 25 35 ms 1 t137 cumulative clock low extend time (slave device) ?25 ms 2 8-19
datasheet 355 electrical characteristics notes: 1. a device will timeout when an y clock low exceeds this value. 2. t137 is the cumulative time a slave device is allowed to extend the clock cycles in one message from the initial start to stop. if a slave device exceeds this time, it is expected to release both its clock and da ta lines and reset itself. 3. t138 is the cumulative time a master device is allowed to extend its clock cycles within each byte of a message as defined from start-to-ack, ack-to-ack or ack-to-stop. 4. t134 has a minimum timing for i 2 c of 0 ns, while the minimum timing for smbus is 300 ns. 5. timings with the smlfm designator apply on ly to smlink0 and only when smlink0 is operating in fast mode. t138 cumulative clock low extend time (master device) ?10 ms 3 8-19 table 8-29. smbus timing (sheet 2 of 2) sym parameter min max units notes fig table 8-30. intel ? high definition audio timing sym parameter min max units notes fig t143 time duration for which hda_sd is valid before hda_bclk edge. 7?ns 8-21 t144 time duration for which hda_sdout is valid after hda_bclk edge. 7?ns 8-21 t145 setup time for hda_sdin [3:0] at rising edge of hda_bclk 15 ? ns 8-21 t146 hold time for hda_sdin [3:0] at rising edge of hda_bclk 0?ns 8-21 table 8-31. lpc timing sym parameter min max units notes fig t150 lad[3:0] valid delay from pciclk rising 2 11 ns 8-10 t151 lad[3:0] output enable delay from pciclk rising 2? ns 8-14 t152 lad[3:0] float delay from pciclk rising ? 28 ns 8-12 t153 lad[3:0] setup time to pciclk rising 7 ? ns 8-11 t154 lad[3:0] hold time from pciclk rising 0 ? ns 8-11 t155 ldrq[1:0]# setup time to pciclk rising 12 ? ns 8-11 t156 ldrq[1:0]# hold time from pciclk rising 0 ? ns 8-11 t157 ee# valid delay from pciclk rising 2 12 ns 8-10
electrical characteristics 356 datasheet notes: 1. the typical clock frequency driven by the pch is 17.86 mhz. 2. measurement point for low time and hi gh time is taken at 0.5(vccme3_3). table 8-32. miscellaneous timings sym parameter min max units notes fig t160 serirq setup time to pciclk rising 7 ? ns 8-11 t161 serirq hold time from pciclk rising 0 ? ns 8-11 t162 ri#, extsmi#, gpio, usb resume pulse width 2 ? rtcclk 8-13 t163 spkr valid delay from osc rising ? 200 ns 8-10 t164 serr# active to nmi active ? 200 ns t165 ignne# inactive from ferr# inactive ? 230 ns table 8-33. spi timings (20 mhz) sym parameter min max units notes fig t180a serial clock frequency - 20m hz operation 17.06 18.73 mhz 1 t183a tco of spi_mosi with respect to serial clock falling edge at the host -5 13 ns 8-20 t184a setup of spi_miso with respect to serial clock falling edge at the host 16 ? ns 8-20 t185a hold of spi_miso with respect to serial clock falling edge at the host 0?ns 8-20 t186a setup of spi_cs[1:0]# assertion with respect to serial clock rising at the host 30 ? ns 8-20 t187a hold of spi_cs[1:0]# de-assertion with respect to serial clock falling at the host 30 ? ns 8-20 t188a spi_clk high time 26.37 ? ns 8-20 t189a spi_clk low time 26.82 ? ns 8-20
datasheet 357 electrical characteristics notes: 1. the typical clock frequency dr iven by the pch is 31.25 mhz. 2. measurement point for low time and high time is taken at 0.5(vccme3_3). notes: 1. typical clock frequency driven by the pch is 50 mhz. this frequency is not available for es1 samples. 2. when using 50 mhz mode ensure target flash component can meet t188c and t189c specifications. 3. measurement point for low time and high time is taken at 0.5(vccme3_3). table 8-34. spi timings (33 mhz) sym parameter min max units notes fig t180b serial clock frequency - 33 mhz operation 29.83 32.81 mhz 1 t183b tco of spi_mosi with respect to serial clock falling edge at the host -5 5 ns 8-20 t184b setup of spi_miso with respect to serial clock falling edge at the host 8?ns 8-20 t185b hold of spi_miso with respect to serial clock falling edge at the host 0?ns 8-20 t186b setup of spi_cs[1:0]# assertion with respect to serial clock rising at the host 30 ? ns 8-20 t187b hold of spi_cs[1:0]# de-assertion with respect to serial clock falling at the host 30 ? ns 8-20 t188b spi_clk high time 14.88 - ns 8-20 t189b spi_clk low time 15.18 - ns 8-20 table 8-35. spi timings (50 mhz) sym parameter min max units notes fig t180c serial clock frequency - 50mhz operation 46.99 53.40 mhz 1 t183c tco of spi_mosi with respect to serial clock falling edge at the host -3 3 ns 8-20 t184c setup of spi_miso with respect to serial clock falling edge at the host 8?ns 8-20 t185c hold of spi_miso with respect to serial clock falling edge at the host 0?ns 8-20 t186c setup of spi_cs[1:0]# assertion with respect to serial cloc k rising edge at the host 30 ? ns 8-20 t187c hold of spi_cs[1:0]# assertion with respect to serial cloc k rising edge at the host 30 ? ns 8-20 t188c spi_clk high time 7.1 ? ns 2, 3 8-20 t189c spi_clk low time 11.17 ? ns 2, 3 8-20
electrical characteristics 358 datasheet notes: 1. the originator must drive a mo re restrictive time to allow fo r quantized sampling errors by a client yet still attain the minimum time less than 500 s. t bit limits apply equally to t bit - a and t bit -m. pch is targeted on 1 m bps which is 1 s bit time. 2. the minimum and maximum bit times are relative to t bit defined in the timing negotiation pulse. 3. t bit -a is the negotiated address bit time and t bit -m is the negotiated message bit time. table 8-36. sst timings sym parameter min max units notes fig t bit bit time (overall time evident on sst) bit time driven by an originator 0.495 0.495 500 250 s s 1- t bit, jitter bit time jitter between adjacent bits in an sst message header or data bytes after timing has been negotiated ??% t bit ,drift change in bit time across a sst address or sst message bits as driven by the originator. this limit only applies across t bit-a bit drift and t bit-m drift. ??% t h1 high level time for logic '1' 0.6 0.8 x t bit 2 t h0 high level time for logic '0' 0.2 0.4 x t bit t sstr rise time (measured from v ol = 0.3 v to v ih,min ) ?25 + 5 ns/ node t sstf fall time (measured from v oh = 1.1 v to v il,max ) ?33 ns/ node
datasheet 359 electrical characteristics notes: 1. the originator must drive a mo re restrictive time to allow fo r quantized sampling errors by a client yet still attain the minimum time less than 500 s. t bit limits apply equally to t bit-a and t bit-m . pch is targeted on 2 mhz which is 500 ns bit time. 2. the minimum and maximum bit times are relative to t bit defined in the ti ming negotiation pulse. 3. extended trace lengths may appear as additional nodes. 4. t bit -a is the negotiated address bit time and t bit -m is the negotiated message bit time. notes: 1. measured from (cl_vref ? 50 mv to cl_vre f + 50 mv) at the receiving device side. no test load is required for this measurement as the receivin g device fulfills this purpose. 2. cl_vref = 0.12*(vccsus3_3). table 8-37. peci timings sym parameter min max units notes fig t bit bit time (overall time evident on peci) bit time driven by an originator 0.495 0.495 500 250 s s 1 t bit ,jitter bit time jitter between adjacent bits in an peci message header or data bytes after timing has been negotiated ??% t bit ,drift change in bit time across a peci address or peci message bits as driven by the originator. this limit only applies across t bit-a bit drift and t bit-m drift. ??% t h1 high level time for logic '1' 0.6 0.8 x t bit 2 t h0 high level time for logic '0' 0.2 0.4 x t bit t pecir rise time (measured from vol to vih,min, vtt(nom) -5%) ? 30 + 5 ns/ node 3 t pecif fall time (measured from v oh to v il ,max, vtt(nom) +5%) ?30 ns/ node 3 table 8-38. controller link receive timings sym parameter min max units notes fig t190 single bit time 13 ? ns 8-30 t191 single clock period 15 ? ns 8-30 t192 rise time/fall time 0.11 3.5 v/ns 1 8-31 t193 setup time before cl_clk1 0.9 ? ns 8-30 t194 hold time after cl_clk1 0.9 ? ns 8-30 v il_ac input low voltage (ac) ? cl_vref ? 0.08 v2 v ih_ac input high voltage (ac) cl_vref +0.08 ?v2
electrical characteristics 360 datasheet 8.7 power sequencing an d reset signal timings table 8-39. power sequencing and reset signal timings (sheet 1 of 3) sym parameter min max units notes fig t200 vccrtc active to rtcrst# inactive 9 ? ms 8-1 t201 vccsus active to rsmrst# inactive 10 ? ms 1 8-1 t202 rsmrst# inactive to susclk toggling 97 ? ms 2 8-1 t203 slp_s5# high to slp_s4# high 30 us 3 8-2 t204 slp_s4# high to slp_s3# high 30 us 4 8-2 t205 vcc active to pwrok high 10 ? ms 5 8-2 , 8-3 t206 pwrok deglitch time 1 ? ms 6 8-2 , 8-3 t207 vcclan & vccme stable to mepwrok high 1?ms 8-2 , 8-4 t208 clock chip clock ou tputs to pwrok high 1 ? ms 8-2 , 8-3 t209 pwrok active to procpwrgd active see note 7 ?ms 7 8-2 , 8-3 t210 procpwrgd high to sus_stat# high 1 ? ms 8-2 , 8-3 t211 sus_stat# high to pltrst# high 60 ? us 8-2 , 8-3 t212 lan_rst# de-assertion or mepwrok assertion (whichever comes first) to spi message 500 ? us 18 8-4 t213 mepwrok asserted to cl_rst1# de- asserted (mobile only) 500 ? us 8 8-4 t214 dmi message and all pci express ports and dmi in l2/l3 state to sus_stat# active 60 ? us 8-5 t215 sus_stat# active to stp_pci# active 60 ? us 8-5 t216 stp_pci# active to pltrst# active 150 ? us 8-5 t217 pltrst# active to procpwrgd inactive 30 ? us 8-5 t218 procpwrgd deassetion to clocks invalid 10 ? us 8-5 t219 clocks invalid to slp_s3# assertion 1 ? us 8-5 t220 slp_s3# low to slp_s4# low 30 ? us 8-5 t221 slp_s4# low to slp_s5# low 30 ? us 8-5 t222 slp_s3# active to pwrok de-asserted 0 ? 8-5 t223 pwrok rising to drampwrgd rising 0 ? us 8-6 t224 drampwrgd falling to slp_s4# falling -100 ? ns 9 8-6 t225 vccrtc supply active to vccsus supplies active 0 ? ms 1, 10 8-1
datasheet 361 electrical characteristics t226 rtcrst# high to rsmrst# high 20 ? ns 8-1 t227 vccsus supplies high to vccme3_3 high 0 ? ms 1 t228 lan power rails active to lan_rst# de-assertion 1?ms11 t229 vccme high to vcc1_05 high 0 ? ms 8-2 t230 mepwrok high to pwrok high 0 ? ms 8-2 t231 pwrok low to vcc falling 40 ? ns 12, 13, 14 t232 mepwrok falling to vccme or vccme3_3 falling 40 ? ns 14 t233 slp_s3# falling to vcc falling 5 ? us 12, 13 t234 lan_rst# rising to vcclan falling 40 ? ns 13, 14 t235 rsmrst# falling to vccsus falling 40 ? ns 1, 13, 14 t236 rtcrst# falling to vccrtc falling 0 ? ms t237 slp_lan# (or lanphypc) rising to intel lan phy power high and stable ?20ms t238 rsmrst# falling to any of vccsus supplies, vccme, vccme3_3, or vcc falling 40 ? ns 1, 12, 13, 14 t239 v5ref_sus active to vccsus3_3 active 0 ? ms 15 t240 v5ref active to vcc3_3 active see note 15 ?ms15 t241 vccsus supplies active to vcc supplies active 0?ms1, 12 t242 hda_rst# active low pulse width 1 ? s t243 hda_rst# inactive to hda_bit_clk startup delay 170 ? s t244 vccsus active to slp_s5#, slp_s4#, slp_s3#, sus_stat#, pltrst# and pcirst#active ?50ns t245 rsmrst# de-assertion to slp_s5# de- assertion 97 ? ms 16, 2 t246 s4 wake event to slp_s4# inactive (s4 wake) see note below 3 t247 s3 wake event to slp_s3# inactive (s3 wake) see note below 4 t248 slp_m# inactive to slp_s3# inactive ? 10 ns t250 lanrst# assertion to pwrok assertion 0?ms t251 rsmrst# de-assertion to mepwrok assertion 0?ms table 8-39. power sequencing and re set signal timings (sheet 2 of 3) sym parameter min max units notes fig
electrical characteristics 362 datasheet notes: 1. vccsus supplies include vccsus3_3, v5ref_su s, vccsushda, vcclan (if lan powered in s3/s4/s5), and vccme3_3 and vccme (if intel ? me powered in s3/s4/s5). 2. this timing is a nominal value counted using rt c clock. if rtc clock is n?t already stable at the rising edge of rsmrst#, this timing co uld be shorter or longer than the specified value. 3. dependency on slp_s4# and slp_m# stretching. 4. dependency on slp_s3# and slp_m# stretching. 5. it is required that the power rails associated with pci/pcie (typically the 3.3 v, 5 v, and 12 v core well rails) have been valid for 99 ms prior to pwrok assertion to comply with the 100 ms pci/pcie 2.0 specification on pl trst# de-assertion. system designers must ensure the requirement is met on the platforms. 6. ensure pwrok is a solid logic '1' befo re proceeding with the boot sequence. note: if pwrok drops after t206 it will be considered a power failure. 7. t209 minimum timing selectable as 1 ms (recommended), 5 ms, 50 ms, or 100 ms using bits 9:8 of pchstrp15. 8. requires spi messaging to be completed. 9. the negative min timing implies that dramp wrgd must either fall before slp_s4# or within 100 ns after it. 10. the vccsus supplies must never be active while the vccrtc supply is inactive. 11. measured from vcclan power wi thin voltage specification to lan_rst# = (vih+vil)/2. the rising edge of lan_rst# needs to be a clea n, monotonic edge for frequency content below 10 mhz. 12. vcc includes vccio, vcccore, vcc3_3, vccadplla, vccadpllb, vccadac, v5ref, v_cpu_io, vccdmi, vcclan (if lan only po wer in s0), vccalvds (mobile only), vcctx_lvds (mobile only), and vccme3_3 and vccme (if intel ? me only powered in s0). 13. a power rail is considered to be inactive when the rail is at its nominal voltage minus 5% or less. 14. board design may meet (t231 and t232 and t234 and t235) or (t238). 15. v5ref must be powered up before vcc3_3, or after vcc3_3 within 0.7 v. also, v5ref must power down after vcc3_3, or before vcc3_3 wi thin 0.7 v. v5ref_sus must be powered up before vccsus3_3, or after vccsus3_3 within 0.7 v. also, v5ref_sus must power down after vccsus3_3, or before vccsus3_3 within 0.7 v. 16. if rtc clock is not already stable at rsmrst# rising edge , this time may be longer. 17. rsmrst# falling edge must transition to 0. 8 v or less before vccsus3_3 drops to 2.9 v 18. lan_rst# high to spi soft-start reads is an internal pch timing. the timing cannot be measured externally and included here for general power se quencing reference. t252 thrmtrip# active to slp_s3#, slp_s4#, slp_s5# active ?175ns t253 rsmrst# rising edge transition from 20% to 80% ?50 s t254 rsmrst# falling edge transition ? ? ? 17 table 8-39. power sequencing and reset signal timings (sheet 3 of 3) sym parameter min max units notes fig
datasheet 363 electrical characteristics 8.8 power management timing diagrams figure 8-1. g3 w/rtc loss to s4/s5 timing diagram figure 8-2. s5 to s0 timing diagram signal name destination source susclk rsmrst# board pch pch board vccrtc board pch rtcrst# board pch t200 vccsus board pch t201 slp_s5# pch board t202 toggling only for s4 after g3 t226 t225 mepwrok may come up earlier than pwrok, but no later lan_rst# may come up earlier than or at the same time as pwrok, or it may be statically grounded for platforms not using intel lan slp_s3# vccme slp_m# signal name dest source slp_s4# slp_s5# pch board pch board pch board pch board board pch vcc_cpu board processor could come up as early as before slp _s5# or as late as slp_s3#, but no later stable stp_pci# clock chip outputs procpwrgd sus_stat# pwrok drampwrgd sys_pwrok processor vrm pch board pch pch processor mepwrok board pch vcc board pch pch clock chip ramps to ?1? with vcc power t208 clock chip pch t209 pltrst# t210 pch processor pch board pch processor/ board t203 t204 no required ordering w.r.t. pwrok, but sys_pwrok will typically be first t205 lan_rst# board pch t207 t211 t206 t229 t230
electrical characteristics 364 datasheet figure 8-3. s3/m3 to s0 timing diagram figure 8-4. s5/moff - s5/m3 timing diagram slp_s3# vccme slp_m# signal name dest source slp_s4# slp_s5# pch board pch board pch board pch board board pch vcc_cpu board processor stable stp_pci# clock chip outputs procpwrgd sus_stat# pwrok drampwrgd sys_pwrok processor vrm pch board pch pch processor mepwrok board pch vcc board pch pch clock chip ramps to ?1? with vcc_main t208 clock chip pch t209 pltrst# t210 pch processor pch board pch processor/ board no required ordering w.r.t. pwrok, but sys_pwrok will typically be first t205 lan_rst# board pch t211 t206 slp_s3# vccme, vcclan slp_m# signal name dest source slp_s4# slp_s5# pch board pch board pch board pch board board pch spi cl_rst1# mepwrok board pch pch spi flash pch controller link lan_rst# board pch t212 t207 t213 lan_rst# will come up at the same time as mepwrok, or it may be statically grounded for platforms not using intel lan
datasheet 365 electrical characteristics figure 8-5. s0 to s5 timing diagram figure 8-6. drampwrgd timing diagram signal name dest source dmi pcie ports pch pcie* devices normal operation l2/l3 dmi message l2/l3 sus_stat# stp_pci# pch board pch clock chip & integrated clk t214 pltrst# pch board t215 t216 thrmtrip# cpu pch honored valid procpwrgd pch board clocks pch board slp_s3# pch board pwrok board pch t218 t219 ignored t222 slp_m# slp_s4# slp_s5# pch board pch board pch board drampwrgd pch processor intel? me-related signals going to m3: stay high going to moff: go low sys_pwrok board pch mepwrok / lan_rst# board pch t220 t221 t217 may drop before or after slp_s4/5# and drampwrgd cl_rst#1 pch controller link signal name destination source slp_s4# pch board pwrok board pch t223 drampwrgd pch processor t224
electrical characteristics 366 datasheet 8.9 ac timing diagrams figure 8-7. clock cycle time figure 8-8. transmitting position (data to strobe) figure 8-9. clock timing clka/ clkb ya/yb tppos1 tppos2 tppos3 tppos4 tppos5 tppos6 tppos0 2.0v 0.8v period high time low time fall time rise time
datasheet 367 electrical characteristics figure 8-10. valid delay from rising clock edge figure 8-11. setup and hold times figure 8-12. float delay figure 8-13. pulse width clock 1.5v valid delay vt output clock vt input hold time setup time vt 1.5v input vt output float delay vt pulse width vt
electrical characteristics 368 datasheet figure 8-14. output enable delay figure 8-15. usb rise and fall times figure 8-16. usb jitter clock output output enable delay vt 1.5v differential data lines 90% 10% 10% 90% t r t f rise time fall time c l c l low-speed: 75 ns at c l = 50 pf, 300 ns at c l = 350 pf full-speed: 4 to 20 ns at c l = 50 pf high-speed: 0.8 to 1.2 ns at c l = 10 pf paired transitions consecutive transitions crossover points t period differential data lines jitter
datasheet 369 electrical characteristics note: txx also refers to txx_sm, sm bclk also refers to sml[1:0] clk, and smbdata also refers to sml[1:0]data in figure 8-18 . note: smbclk also refers to sml[1:0]clk and sm bdata also refers to sml[1:0]data in figure 8-19 . figure 8-17. usb eop width figure 8-18. smbus/smlink transaction differential data lines eop width data crossover level tperiod t130 smbclk smbdata t131 t19 t134 t20 t21 t135 t132 t18 t133 figure 8-19. smbus/smlink timeout start stop t137 clk ack clk ack t138 t138 smbclk smbdata
electrical characteristics 370 datasheet figure 8-20. spi timings figure 8-21. intel ? high definition audio input and output timings spi_clk spi_mosi spi_miso spi_cs# t186 t187 t184 t185 t183 t189 t188 hda_sdout hda_sdin[3:0] hda_bit_clk t143 t143 t144 t144 t145 t146
datasheet 371 electrical characteristics figure 8-22. dual channel interface timings figure 8-23. dual channel interface timings figure 8-24. lvds load and transition times dqs dq[7:0] td qsl tdh td s tdqs tdh tds dq dq[7:0] tdvw tdqsq tdqsq tqh
electrical characteristics 372 datasheet figure 8-25. transmitting position (data to strobe) clka/ clkb ya/yb tppos1 tppos2 tppos3 tppos4 tppos5 tppos6 tppos0 figure 8-26. pci express transmitter eye
datasheet 373 electrical characteristics figure 8-27. pci express receiver eye v rs-diffp-p-min>175mv .4 ui =t rx-eye min v ts-diff = 0mv d+/d- crossing point
electrical characteristics 374 datasheet figure 8-28. measurement poin ts for differential waveforms. v min = -0.30 v v max = 1 .15v vcross max = 550 mv vcross min = 300 mv vcross delta = 140 mv v min = -0. 30v v max = 1.15 v vcross max = 550 mv vcr oss mi n = 300 m v vcross delta = 140 mv clock# clock clock clock# vcr oss m edi an clock clock# vcross median clock clock# vcross median +75 m v vcross median -75mv t r i s e t f a ll clock-clock# vih_ min = +150 mv vil_max = -150 mv positive duty cycle (differential ) 0.0v clock-clock# .0 v negative duty cycle (differential ) clock period (differential ) fall edge rate rise edge rate differential clock ? differential measurements differential clock ? single ended measurements
datasheet 375 electrical characteristics figure 8-29. pch test load figure 8-30. controller link receive timings figure 8-31. controller link receive slew rate vccme3_3 t190 cl_clk1 cl_data1 t191 t193 t194 t192 cl_vref ? 50mv cl_vref + 50mv t192 cl_vref cl_clk1 / cl_data1
electrical characteristics 376 datasheet
datasheet 377 register and memory mapping 9 register and memory mapping the pch contains registers that are located in the processor?s i/o space and memory space and sets of pci configuration registers that are located in pci configuration space. this chapter describes the pch i/o and memory maps at the register-set level. register access is also described. register-level address maps and individual register bit descriptions are provided in the followi ng chapters. the following notations and definitions are used in the register /instruction description chapters. ro read only. in some cases, if a register is read only, writes to this register location have no effect. however, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. see the i/o and memory map tables for details. wo write only. in some cases, if a register is write only, reads to this register location have no effect. however, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. see the i/o and memory map tables for details. r/w read/write. a register with this attribute can be read and written. r/wc read/write clear. a register bit with this attribute can be read and written. however, a write of 1 clears (sets to 0) the corresponding bit and a write of 0 has no effect. r/wo read/write-once. a register bit with this attribute can be written only once after power up. after the first write, the bit becomes read only. r/wl read/write lockable. a register bit with the attribute can be read at any time but writes may only occur if the associated lock bit is set to unlock. if the associated lock bit is set to lock, this register bit becomes ro unless otherwise indicated. r/wlo read/write, lock-once. a register bit with this attribute can be written to the non-locked value multiple times, but to the locked value only once. after the locked value has been written, the bit becomes read only. reserved the value of reserved bits must never be changed. for details see section 9.2 . default when the pch is reset, it sets its registers to predetermined default states. it is the responsibility of the system initialization software to determine configuration, operating parameters, and optional system features that are applicable, and to program the pch registers accordingly. bold register bits that are highlighted in bold text indicate that the bit is implemented in the pch. register bits that are not implemented or are hardwired will remain in plain text.
register and memory mapping 378 datasheet 9.1 pci devices and functions the pch incorporates a variety of pci devices and functions, as shown in table 9-1 . they are divided into seven logical devices for consumer skus. the first is the dmi-to- pci bridge (device 30). the second device (device 31) contains most of the standard pci functions that always existed in the pci-to-isa bridges (south bridges), such as the intel ? piix4. the third and fourth (devic e 29 and device 26) are the usb and usb2 host controller devices. the fifth (device 28) is pci express device. the sixth (device 27) is hd audio controller device. the seventh (device 25) is the gigabit ethernet controller device. the eigh th device (device 22) is the intel ? management engine interface (intel ? mei). if for some reason, the particular system platform does not want to support any one of the device functions, with the exception of d30:f0 and d23:f0 can individually be disabled. the integrated gigabit ethernet cont roller will be disabled if no platform lan connect component is detected (see chapter 5.3 ). when a function is disabled, it does not appear at all to the software. a disabled function will not respond to any register reads or writes, insuring that these devices appear hidden to software. b notes: 1. the pci-to-lpc bridge contai ns registers that control lp c, power manage ment, system management, gpio, proces sor interface, rtc, inte rrupts, timers, and dma. 2. sata controller 2 (d31:f5) is only visible when d31:f2 cc.scc=01h. 3. this table shows the default pci express function number-to- root port mapping. function numbers for a given root port are assignable through the ?root port function number and hide for pci express root po rts? register (rcba+0404h). 4. prior to bios initialization of the pch usb su bsystem, the ehci contro llers will appear as function 7. after bios initialization, th e ehci controllers will be function 0. table 9-1. pci devi ces and functions bus:device:function fu nction description bus 0:device 30:function 0 pci-to-pci bridge bus 0:device 31:function 0 lpc controller 1 bus 0:device 31:function 2 sata controller #1 bus 0:device 31:function 3 smbus controller bus 0:device 31:function 5 sata controller #2 2 bus 0:device 31:function 6 thermal subsystem bus 0:device 29:function 0 usb ehci controller #1 bus 0:device 26:function 0 usb ehci controller #2 bus 0:device 28:function 0 pci express* port 1 bus 0:device 28:function 1 pci express port 2 bus 0:device 28:function 2 pci express port 3 bus 0:device 28:function 3 pci express port 4 bus 0:device 28:function 4 pci express port 5 bus 0:device 28:function 5 pci express port 6 bus 0:device 28:function 6 pci express port 7 bus 0:device 28:function 7 pci express port 8 bus 0:device 27:function 0 intel ? high definition audio controller bus 0:device 25:function 0 gigabit ethernet controller bus 0:device 22:function 0 intel ? management engine interface #1 bus 0:device 22:function 1 intel ? management engine interface #2 bus 0:device 22:function 2 ide-r bus 0:device 22:function 3 kt
datasheet 379 register and memory mapping 9.2 pci configuration map each pci function on the pch has a set of pci configuration registers. the register address map tables for these register sets are included at the beginning of the chapter for the particular function. configuration space registers are accessed th rough configuration cycles on the pci bus by the host bridge using configur ation mechanism #1 detailed in the pci local bus specification, revision 2.3 . some of the pci registers contain reserved bits. software must deal correctly with fields that are reserved. on reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. on writes, software must ensure that the values of re served bit positions are preserved. that is, the values of reserved bit positions must fi rst be read, merged with the new values for other bit positions and then written back. no te the software does not need to perform read, merge, write operation for the configuration address register. in addition to reserved bits within a register, the configuration space contains reserved locations. software should not write to re served pci configuration locations in the device-specific region (above address offset 3fh). 9.3 i/o map the i/o map is divided into fixed and variable address ranges. fixed ranges cannot be moved, but in some cases can be disabled. variable ranges can be moved and can also be disabled. 9.3.1 fixed i/o address ranges table 9-2 shows the fixed i/o decode ranges from the processor perspective. note that for each i/o range, there may be separate behavior for reads and writes. dmi (direct media interface) cycles that go to target ranges that are marked as ?reserved? will not be decoded by the pch, and will be passed to pci unless the subtractive decode policy bit is set (d31:f0:offset 42h, bit 0). if a pci master targets one of the fixed i/o target ranges, it will be positively deco ded by the pch in medium speed. address ranges that are not listed or marked ?reserved? are not decoded by the pch (unless assigned to one of the variable ranges). table 9-2. fixed i/o ranges decoded by intel ? pch (sheet 1 of 3) i/o address read target write target internal unit 00h?08h dma controller dma controller dma 09h?0eh reserved dma controller dma 0fh dma controller dma controller dma 10h?18h dma controller dma controller dma 19h?1eh reserved dma controller dma 1fh dma controller dma controller dma 20h?21h interrupt controller interrupt controller interrupt 24h?25h interrupt controller interrupt controller interrupt 28h?29h interrupt controller interrupt controller interrupt 2ch?2dh interrupt controller interrupt controller interrupt 2e?2f lpc sio lpc sio forwarded to lpc
register and memory mapping 380 datasheet 30h?31h interrupt controller interrupt controller interrupt 34h?35h interrupt controller interrupt controller interrupt 38h?39h interrupt controller interrupt controller interrupt 3ch?3dh interrupt controller interrupt controller interrupt 40h?42h timer/counter timer/counter pit (8254) 43h reserved timer/counter pit 4e?4f lpc sio lpc sio forwarded to lpc 50h?52h timer/counter timer/counter pit 53h reserved timer/counter pit 60h microcontroller microcontroller forwarded to lpc 61h nmi controller nmi controller processor i/f 62h microcontroller microcontroller forwarded to lpc 64h microcontroller microcontroller forwarded to lpc 66h microcontroller microcontroller forwarded to lpc 70h reserved 1 nmi and rtc controller rtc 71h rtc controller rtc controller rtc 72h rtc controller nmi and rtc controller rtc 73h rtc controller rtc controller rtc 74h rtc controller nmi and rtc controller rtc 75h rtc controller rtc controller rtc 76h rtc controller nmi and rtc controller rtc 77h rtc controller rtc controller rtc 80h dma controller, or lpc, or pci dma controller and lpc or pci dma 81h?83h dma controller dma controller dma 84h?86h dma controller dma controller and lpc or pci dma 87h dma controller dma controller dma 88h dma controller dma controller and lpc or pci dma 89h?8bh dma controller dma controller dma 8ch?8eh dma controller dma controller and lpc or pci dma 08fh dma controller dma controller dma 90h?91h dma controller dma controller dma 92h reset generator reset generator processor i/f 93h?9fh dma controller dma controller dma a0h?a1h interrupt controller interrupt controller interrupt a4h?a5h interrupt controller interrupt controller interrupt a8h?a9h interrupt controller interrupt controller interrupt ach?adh interrupt controller interrupt controller interrupt b0h?b1h interrupt controller interrupt controller interrupt b2h?b3h power management power management power management b4h?b5h interrupt controller interrupt controller interrupt b8h?b9h interrupt controller interrupt controller interrupt table 9-2. fixed i/o ranges decoded by intel ? pch (sheet 2 of 3) i/o address read target write target internal unit
datasheet 381 register and memory mapping note: 1. see section 13.7.2 . bch?bdh interrupt controller interrupt controller interrupt c0h?d1h dma controller dma controller dma d2h?ddh reserved 1 dma controller dma deh?dfh dma controller dma controller dma f0h ferr# / interrupt controller ferr# / interrupt controller processor i/f 170h?177h sata controller or pci sata controller or pci forwarded to sata 1f0h?1f7h sata controller or pci sata controller or pci forwarded to sata 200h-207h gameport low gameport low forwarded to lpc 208h-20fh gameport high gameport high forwarded to lpc 376h sata controller or pci sata controller or pci forwarded to sata 3f6h sata controller or pci sata controller or pci forwarded to sata 4d0h?4d1h interrupt controller interrupt controller interrupt cf9h reset generator reset generator processor i/f table 9-2. fixed i/o ranges decoded by intel ? pch (sheet 3 of 3) i/o address read target write target internal unit
register and memory mapping 382 datasheet 9.3.2 variable i/o decode ranges table 9-3 shows the variable i/o decode ranges. they are set using base address registers (bars) or other configuration bits in the various pci configuration spaces. the pnp software (pci or acpi) can use their configuration mechanisms to set and adjust these values. warning: the variable i/o ranges should not be set to conflict with the fixed i/o ranges. unpredictable results if the configuration so ftware allows conflicts to occur. the pch does not perform any checks for conflicts. note: 1. all ranges are decoded directly from dmi. the i/o cycles will not be seen on pci, except the range associated with pci bridge. 2. the lan range is typically not used, as the registers can also be accessed via a memory space. 3. there is also an alias 400h above the parallel port range that is used for ecp parallel ports. table 9-3. variable i/o decode ranges range name mappable size (bytes) target acpi anywhere in 64 kb i/o space 64 power management ide bus master anywhere in 64 kb i/o space 1. 16 or 32 2. 16 1. sata host controller #1, #2 2. ide-r native ide command anywhere in 64 kb i/o space 1 8 1. sata host controller #1, #2 2. ide-r native ide control anywhere in 64 kb i/o space 1 4 1. sata host controller #1, #2 2. ide-r sata index/data pair anywhere in 64 kb i/o space 16 sata host controller #1, #2 smbus anywhere in 64 kb i/o space 32 smb unit tco 96 bytes above acpi base 32 tco unit gpio anywhere in 64 kb i/o space 128 gpio unit parallel port 3 ranges in 64 kb i/o space 8 3 lpc peripheral serial port 1 8 ranges in 64 kb i/o space 8 lpc peripheral serial port 2 8 ranges in 64 kb i/o space 8 lpc peripheral floppy disk controller 2 ranges in 64 kb i/o space 8 lpc peripheral lan anywhere in 64 kb i/o space 32 2 lan unit lpc generic 1 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 2 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 3 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 4 anywhere in 64 kb i/o space 4 to 256 lpc peripheral i/o trapping ranges anywhere in 64 kb i/o space 1 to 256 trap on backbone pci bridge anywhere in 64 kb i/o space i/o base/ limit pci bridge pci express root ports anywhere in 64 kb i/o space i/o base/ limit pci express root ports 1-8 kt anywhere in 64 kb i/o space 8 kt
datasheet 383 register and memory mapping 9.4 memory map table 9-4 shows (from the processor perspective) the memory ranges that the pch decodes. cycles that arrive from dmi that are not directed to any of the internal memory targets that decode directly from dmi will be driven out on pci unless the subtractive decode policy bit is set (d31:f0:offset 42h, bit 0). pci cycles generated by external pci masters will be positively decoded unless they fall in the pci-to-pci bridge memory forwarding ranges (those addresses are reserved for pci peer-to-peer traffic). if the cycle is not in the internal lan controller?s range, it will be forwarded up to dmi. software must not attempt locks to the pch memory-mapped i/o ranges for ehci and hpet. if attempte d, the lock is not honored which means potential deadlock conditions may occur. table 9-4. memory decode ranges from processor perspective (sheet 1 of 3) memory range target dependency/comments 0000 0000h?000d ffffh 0010 0000h?tom (top of memory) main memory tom registers in host controller 000e 0000h?000e ffffh lpc or spi bit 6 in bios decode enable register is set 000f 0000h?000f ffffh lpc or spi bit 7 in bios decode enable register is set fec_ _000h?fec_ _040h io(x) apic inside pch _ _is controlled using apic range select (asel) field and apic enable (aen) bit fec1 0000h?fec1 7fff pci express* port 1 pci express* root port 1 i/oxapic enable (pae) set fec1 8000h?fec1 ffffh pci express* port 2 pci express* root port 2 i/oxapic enable (pae) set fec2 0000h?fec2 7fffh pci express* port 3 pci express* root port 3 i/oxapic enable (pae) set fec2 8000h?fec2 ffffh pci express* port 4 pci express* root port 4 i/oxapic enable (pae) set fec3 0000h?fec3 7fffh pci express* port 5 pci express* root port 5 i/oxapic enable (pae) set fec3 8000h?fec3 ffffh pci express* port 6 pci express* root port 6 i/oxapic enable (pae) set fec4 0000 - fec4 7fff pci express* port 7 pci express* root port 7i/oxapic enable (pae) set fec4 8000 - fec4 ffff pci express* port 8 pci express* root port 8i/oxapic enable (pae) set fed4 0000h?fed4 bfffh tpm on lpc none ffc0 0000h?ffc7 ffffh ff80 0000h?ff87 ffffh lpc or spi (or pci) 2 bit 8 in bios decode enable register is set ffc8 0000h?ffcf ffffh ff88 0000h?ff8f ffffh lpc or spi (or pci) 2 bit 9 in bios decode enable register is set ffd0 0000h?ffd7 ffffh ff90 0000h?ff97 ffffh lpc or spi (or pci) 2 bit 10 in bios decode en able register is set ffd8 0000h?ffdf ffffh ff98 0000h?ff9f ffffh lpc or spi (or pci) 2 bit 11 in bios decode en able register is set ffe0 000h?ffe7 ffffh ffa0 0000h?ffa7 ffffh lpc or spi (or pci) 2 bit 12 in bios decode en able register is set
register and memory mapping 384 datasheet ffe8 0000h?ffef ffffh ffa8 0000h?ffaf ffffh lpc or spi (or pci) 2 bit 13 in bios decode enable register is set fff0 0000h?fff7 ffffh ffb0 0000h?ffb7 ffffh lpc or spi (or pci) 2 bit 14 in bios decode enable register is set fff8 0000h?ffff ffffh ffb8 0000h?ffbf ffffh lpc or spi (or pci) 2 always enabled. the top two, 64 kb blocks of this range can be swapped, as described in section 9.4.1 . ff70 0000h?ff7f ffffh ff30 0000h?ff3f ffffh lpc or spi (or pci) 2 bit 3 in bios decode en able register is set ff60 0000h?ff6f ffffh ff20 0000h?ff2f ffffh lpc or spi (or pci) 2 bit 2 in bios decode en able register is set ff50 0000h?ff5f ffffh ff10 0000h?ff1f ffffh lpc or spi (or pci) 2 hub (or pci) 2 bit 1 in bios decode en able register is set ff40 0000h?ff4f ffffh ff00 0000h?ff0f ffffh lpc or spi (or pci) 2 bit 0 in bios decode en able register is set 128 kb anywhere in 4-gb range integrated lan controller enable using bar in device 25:function 0 (integrated lan controller mbara) 4 kb anywhere in 4 gb range integrated lan controller enable using bar in device 25:function 0 (integrated lan controller mbarb) 1 kb anywhere in 4-gb range usb ehci controller #1 1 enable using standa rd pci mechanism (device 29, function 0) 1 kb anywhere in 4-gb range usb ehci controller #2 1 enable using standa rd pci mechanism (device 26, function 0) 512 b anywhere in 64-bit addressing space intel ? high definition audio host controller enable using standa rd pci mechanism (device 27, function 0) fed4 0000h?fed4 ffffh tpm on lpc none memory base/limit anywhere in 4 gb range pci bridge enable via standard pci mechanism (device 30: function 0) prefetchable memory base/limit anywhere in 64-bit address range pci bridge enable via standard pci mechanism (device 30: function 0) 64 kb anywhere in 4 gb range lpc lpc generic memory range. enable via setting bit[0] of th e lpc generic memory range register (d31:f0:offset 98h). 32 bytes anywhere in 64- bit address range smbus enable using standa rd pci mechanism (device 31: function 3) 2 kb anywhere above 64 kb to 4 gb range sata host controller #1 ahci memory-mapped registers. enable using standard pci mechanism (device 31: function 2) memory base/limit anywhere in 4 gb range pci express root ports 1-8 enable via standard pci mechanism (device 28: function 0-7) prefetchable memory base/limit anywhere in 64-bit address range pci express root ports 1-8 enable using standa rd pci mechanism (device 28: function 0-7) 4 kb anywhere in 64-bit address range thermal reporting enable using standa rd pci mechanism (device 31: functi on 6 tbar/tbarh) 4 kb anywhere in 64-bit address range thermal reporting enable using standa rd pci mechanism (device 31: function 6 tbarb/tbarbh) table 9-4. memory decode ranges from processor perspect ive (sheet 2 of 3) memory range target dependency/comments
datasheet 385 register and memory mapping notes: 1. software must not attempt locks to memory mapped i/o ranges for usb ehci or high precision event timers. if attempted, the lock is not honored, which means potential deadlock conditions may occur. 2. pci is the target when the boot bios destination selection bits are set to 10b (chipset config registers:offset 3401 bits 11:10). when pci selected, the firmware hub decode enable bits have no effect. 9.4.1 boot-block update scheme the pch supports a ?top-block swap? mode that has the pch swap the top block in the fwh or spi flash (the boot block) with anothe r location. this allows for safe update of the boot block (even if a power failure occurs). when the ?top_swap? enable bit is set, the pch will invert a16 for cycles going to the upper two 64 kb blocks in the fwh or appropriate address lines as selected in boot block size (boot_block_size) soft strap for spi. specifically for fhw, in this mode accesses to ffff_0000h-ffff_ffffh are directed to fffe_0000h-fffe_ffffh and vice versa. when the top swap enable bit is 0, the pch will not invert a16. specifically for spi, in this mode the ?top-b lock swap? behavior is as described below. when the top swap enable bit is 0, the pch will not invert any address bit. this bit is automatically set to 0 by rtcrst#, but not by pltrst#. the scheme is based on the concept that the top block is reserved as the ?boot? block, and the block immediately below the top block is reserved for doing boot-block updates. 16 bytes anywhere in 64- bit address range intel ? mei #1, #2 enable using standard pci mechanism (device 22: function 1:0) 4 kb anywhere in 4 gb range kt enable using standard pci mechanism (device 22: function 3) 16 kb anywhere in 4 gb range root complex register block (rcrb) enable using setting bit[0] of the root complex base address register (d31:f0:offset f0h). fed0 x000h?fed0 x3ffh high precision event timers 1 bios determines the ?fixed? location which is one of four, 1-kb ranges where x (in the first column) is 0h, 1h, 2h, or 3h. all other pci none table 9-4. memory decode ranges from processor perspective (sheet 3 of 3) memory range target dependency/comments table 9-5 spi mode address swapping boot_block_size value accesses to being directed to 000 (64kb) ffff_0000h?ffff_ffffh fffe_0000h?fffe_ffffh and vice versa 001 (128kb) fffe_0000h?ffff_ffffh fffc_0000h?fffd_ffffh and vice versa 010 (256kb) fffc_0000h?ffff_ffffh fff8_0000h?fffb_ffffh and vice versa 011 (512kb) fff8_0000h?ffff_ffffh fff0_0000h?fff7_ffffh and vice versa 100 (1mb) fff0_0000h?ffff_ffffh ffe0_0 000h?ffef_ffffh and vice versa 101 - 111 reserved reserved
register and memory mapping 386 datasheet the algorithm is: 1. software copies the top block to the block immediately below the top 2. software checks that the copied block is correct. this could be done by performing a checksum calculation. 3. software sets the top_swap bit. this will invert the appropriate address bits for the cycles going to the fwh or spi. 4. software erases the top block 5. software writes the new top block 6. software checks the new top block 7. software clears the top_swap bit 8. software sets the top_swap lock-down bit if a power failure occurs at any point after st ep 3, the system will be able to boot from the copy of the boot block that is stored in the block below the top. this is because the top_swap bit is backed in the rtc well. note: the top-block swap mode may be forced by an external strapping option (see section 2.28 ). when top-block swap mode is forced in this manner, the top_swap bit cannot be cleared by software. a re-boot with the strap removed will be required to exit a forced top-block swap mode. note: top-block swap mode only affects accesses to the firmware hub space, not feature space for fwh. note: the top-block swap mode has no effect on accesses below fffe_0000h for fwh.
datasheet 387 chipset configuration registers 10 chipset configuration registers this section describes all registers and base functionality that is related to chipset configuration and not a specific interface (s uch as lpc, pci, or pci express*). it contains the root complex register block, which describes the behavior of the upstream internal link. this block is mapped into memory space, using the root complex base address (rcba) register of the pci-to-lpc bridge. accesses in this space must be limited to 32-(dw) bit quantities. burst accesses are not allowed. all chipset configuration registers are lo cated in the core well unless otherwise indicated. 10.1 chipset configuration registers (memory space) note: address locations that are not shown should be treated as reserved (see section 9.2 for details). . table 10-1. chipset configurat ion register memory map (mem ory space) (sheet 1 of 3) offset mnemonic register name default type 0014?0017h v0ctl vc 0 resource control 800000ffh r/w, ro 001a?001bh v0sts vc 0 resource status 0000h ro 001c?001fh v1cap virtual channel 1 resource capability 00008001h r/wo, ro 0020?0023h v1ctl vc 1 resource control 00000000h r/w 0026?0027h v1sts vc 1 resource status 0000h ro 0050?0053h cir0 chipset initialization register 0 00000000h r/w 0088?008bh cir1 chipset initialization register 1 00000000h r/wo 00ac?00afh rec root error command 0000h r/w 01a0?01a3h ilcl internal link capability list 00010006h ro 01a4?01a7h lcap link capabilities 00012841h ro, r/ wo 01a8?01a9h lctl link control 0000h r/w 01aa?01abh lsts link status 0041h ro 0220?0223h bcr backbone configuration 00000000h r/w 0224?0227h rpc root port configuration 0000000yh r/w, ro 0234?0327h dmic dmi control 00000000h r/w, ro 0238?023bh rpfn root port function number for pci express root ports 76543210h r/wo, ro 0290?0293h flrstat function level reset pending status summary 00000000h ro 1d40?1d47h cir5 chipset initialization register 5 000000000000 0000h r/w
chipset configuration registers 388 datasheet 1e00?1e03h trsr trap status register 00000000h r/wc, ro 1e10?1e17h trcr trapped cycle register 000000000000 0000h ro 1e18?1e1fh twdr trapped write data register 000000000000 0000h ro 1e80?1e87h iotr0 i/o trap register 0 000000000000 0000h r/w 1e88?1e8fh iotr1 i/o trap register 1 000000000000 0000h r/w 1e90?1e97h iotr2 i/o trap register 2 000000000000 0000h r/w 1e98?1e9fh iotr3 i/o trap register 3 000000000000 0000h r/w 2010?2013h dmc dmi miscellaneous control register 00000002h r/w 2024?2027h cir6 cir6?chipset initialization register 6 0b4030c0h r/w 2324?2327h dmc2 dmi miscellaneous control register 2 0fff0fffh r/w 3000?3000h tctl tco configuration 00h r/w 3100?3103h d31ip device 31 interrupt pin 03243200h r/w, ro 3104?3107h d30ip device 30 interrupt pin 00000000h ro 3108?310bh d29ip device 29 interrupt pin 10004321h r/w 310c?310fh d28ip device 28 interrupt pin 00214321h r/w 3110?3113h d27ip device 27 interrupt pin 00000001h r/w 3114?3117h d26ip device 26 interrupt pin 30000321h r/w 3118?311bh d25ip device 25 interrupt pin 00000001h r/w 3124?3127h d22ip device 22 interrupt pin 00000001h r/w 3140?3141h d31ir device 31 interrupt route 3210h r/w 3142?3143h d30ir device 30 interrupt route 0000h ro 3144?3145h d29ir device 29 interrupt route 3210h r/w 3146?3147h d28ir device 28 interrupt route 3210h r/w 3148?3149h d27ir device 27 interrupt route 3210h r/w 314c?314fh d26ir device 26 interrupt route 3210h r/w 3150?3153h d25ir device 25 interrupt route 3210h r/w 3154?3157h d24ir device 24 interrupt route 3210h r/w 315c?316fh d22ir device 22 interrupt route 3210h r/w 31fe?31ffh oic other interrupt control 0000h r/w 3310?3313h prsts power and reset status 02020000h ro, r/ wc 3314?3317h cir7 chipset initalization register 7 00000000h r/w table 10-1. chipset configuration register memory map (memory sp ace) (sheet 2 of 3) offset mnemonic register name default type
datasheet 389 chipset configuration registers 3324?3327h cir8 chipset initalization register 8 00000000h r/w 3330?3333h cir9 chipset initalization register 9 00000000h r/w 3340?3343h cir10 chipset initalization register 10 00000000h r/w 3350?3353h cir13 chipset initalization register 13 00000000h r/w 3368?336bh cir14 chipset initalization register 14 00000000h r/w 3378?337bh cir15 chipset initalization register 15 00000000h r/w 3388?338bh cir16 chipset initalization register 16 00000000h r/w 33a0?33a3h cir17 chipset initalization register 17 00000000h r/w 33a8?33abh cir18 chipset initalization register 18 00000000h r/w 33c0?33c3h cir19 chipset initalization register 19 00000000h r/w 33cc?33cfh cir20 chipset initalization register 20 00000000h r/w 33d0?33d3h cir21 chipset initalization register 21 00000000h r/w 33d4?33d7h cir22 chipset initalization register 22 00000000h r/w 3400?3403h rc rtc configuration 00000000h r/w, r/wlo 3404?3407h hptc high precision timer configuration 00000000h r/w 3410?3413h gcs general control and status 000000yy0h r/w, r/wlo 3414?3414h buc backed up control 00h r/w 3418?341bh fd function disable 00000000h r/w 341c?341fh cg clock gating 00000000h r/w 3420?3420h fdsw function disable sus well 00h r/w 3428?342bh fd2 function disable 2 00000000h r/w 3590?3594h miscctl miscellaneous control register 00000000h r/w 35a0?35a3h usbocm1 usb overcurrent map register 1 00000000h r/wo 35a4?35a7h usbocm2 usb overcurrent map register 2 00000000h r/wo 35b0?35b3h rmhwkctl usb remap control 00000000h r/wo table 10-1. chipset configurat ion register memory map (mem ory space) (sheet 3 of 3) offset mnemonic register name default type
chipset configuration registers 390 datasheet 10.1.1 v0ctl?virtual channel 0 resource control register offset address: 0014?0017h attribute: r/w, ro default value: 80000023h size: 32-bit 10.1.2 v0sts?virtual channel 0 resource status register offset address: 001a?001bh attribute: ro default value: 0000h size: 16-bit bit description 31 virtual channel enable (en)? ro. always set to 1. vc0 is always enabled and cannot be disabled. 30:27 reserved 26:24 virtual channel identifier (id) ?ro. indicates the id to use for this virtual channel. 23:16 reserved 15:8 extended tc/vc map (etvm): defines the upper 8-bits of the vc0 16-bit tc/vc mapping registers. these registers use the pci express reserved tc[3] traffic class bit. 7:1 transaction class / virtual channel map (tvm) ?r/w. indicates which transaction classes are mapped to this virt ual channel. when a bit is set, this transaction class is mapped to the virtual channel. 0 reserved bit description 15:2 reserved 1 vc negotiation pending (np) ?ro. when set, indicates the virtual channel is still being negotiated wi th ingress ports. 0 reserved
datasheet 391 chipset configuration registers 10.1.3 v1ctl?virtual channel 1 resource control register offset address: 0020?0023h attribute: r/w, ro default value: 00000000h size: 32-bit 10.1.4 v1sts?virtual channel 1 resource status register offset address: 0026?0027h attribute: ro default value: 0000h size: 16-bit 10.1.5 cir0?chipset init ialization register 0 offset address: 0050?0053h attribute: r/w default value: 00000000h size: 32-bit bit description 31 virtual channel enable (en) ?r/w. enables the vc when set. disables the vc when cleared. 30:28 reserved 27:24 virtual channel identifier (id) ?r/w. indicates the id to use for this virtual channel. 23:16 reserved 15:8 extended tc/vc map (etvm): defines the upper 8-bits of the vc0 16-bit tc/vc mapping registers. these registers use the pci express reserved tc[3] traffic class bit. 7:1 transaction class / virtual channel map (tvm) ?r/w. indicates which transaction classes are mapped to this virtual channel. when a bit is set, this transaction class is mapped to the virtual channel. 0 reserved bit description 15:2 reserved 1 vc negotiation pending (np) ?ro. when set, indicates the virtual channel is still being negotiated wi th ingress ports. 0 reserved bit description 31:0 cir0 field 0 ?r/w. bios must set this field.
chipset configuration registers 392 datasheet 10.1.6 cir1?chipset initia lization register 1 offset address: 0088?008bh attribute: r/wo default value: 00000000h size: 32-bit 10.1.7 rec?root error command register offset address: 00ac?00afh attribute: r/w default value: 0000h size: 32-bit 10.1.8 ilcl?internal link ca pabilities li st register offset address: 01a0?01a3h attribute: ro default value: 00010006h size: 32-bit bit description 31:21 reserved 20 cir1 field 3 ?r/wo. bios must set this bit. 19:16 reserved 15 cir1 field 2 ?r/wo. bios must set this bit. 14:13 reserved 12 cir1 field 1 ?r/wo. bios must set this bit. 11:0 reserved bit description 31 drop poisoned downstream packets (dpdp) ?r/w. determines how downstream packets on dmi are handled that are received with the ep field set, indicating poisoned data: 1 = this packet and all subseque nt packets with data received on dmi for any vc will have their unsupported transaction (ut) field set causing them to master abort downstream. packets without data such as memory, io and config read requests are allowed to proceed. 1 = packets are forwarded downstream without forcing the ut field set. 30:0 reserved bit description 31:20 next capability offset (next)? ro. indicates this is the last item in the list. 19:16 capability version (cv) ?ro. indicates the version of the capability structure. 15:0 capability id (cid) ?ro. indicates this is capability for dmi.
datasheet 393 chipset configuration registers 10.1.9 lcap?link capabilities register offset address: 01a4?01a7h attribute: r/wo, ro default value: 00012841h size: 32-bit 10.1.10 lctl?link control register offset address: 01a8?01a9h attribute: r/w default value: 0000h size: 16-bit bit description 31:18 reserved 17:15 l1 exit latency (el1) ?r/wo. 000b = less than 1 s 001b = 1 s to less than 2 s 010b = 2 s to less than 4 s 011b = 4 s to less than 8 s 100b = 8 s to less than 16 s 101b = 16 s to less than 32 s 110b = 32 s to 64 s 111b = more than 64 s 14:12 l0s exit latency (el0) ?r/w. this field indicates that exit latency is 128 ns to less than 256 ns. 11:10 active state link pm support (apms) ?r/w. indicates the level of aspm support on dmi. 00 = disabled 01 = l0s entry supported 10 = reserved 11 = l0s and l1 entry supported 9:4 maximum link width (mlw) ?ro. indicates the maximum link width is 4 ports. 3:0 maximum link speed (mls) ?ro. indicates the link speed is 2.5 gb/s. bit description 15:8 reserved 7 extended synch (es) ?r/w. when set, forces exte nded transmission of fts ordered sets when exiting l0s prior to entering l0 and extra ts1 sequences at exit from l1 prior to entering l0. 6:2 reserved 1:0 active state link pm control (aspm) ?r/w. indicates whether dmi should enter l0s, l1, or both. 00 = disabled 01 = l0s entry enabled 10 = l1 entry enabled 11 = l0s and l1 entry enabled
chipset configuration registers 394 datasheet 10.1.11 lsts?link status register offset address: 01aa?01abh attribute: ro default value: 0041h size: 16-bit 10.1.12 bcr?backbone co nfiguration register offset address: 0220?0223h attribute: r/w default value: 00000000h size: 32-bit 10.1.13 rpc?root port configuration register offset address: 0224?0227h attribute: r/w, ro default value: 0000000yh (y = 00xxb) size: 32-bit bit description 15:10 reserved 9:4 negotiated link width (nlw)? ro. negotiated link width is x4 (000100b). 3:0 link speed (ls) ?ro. link is 2.5 gb/s. bit description 31:7 reserved 6 bcr field 2 ?r/w. bios must set this bit. 5:3 reserved 2:0 bcr field 1 ?r/w. bios program this field to 101b bit description 31:12 reserved 11 gbe over pcie root port enable (gbepcierpen) ?rw. 0 = gbe mac/phy communication is not enabled over pci express. 1 = the pci express port selected by the gb epcieportsel register will be used for gbe mac/phy over pci express communication the default value for this register is set by the gbe_pcie_en soft strap. note: gbe and pcie will use the output of this register and not the soft strap.
datasheet 395 chipset configuration registers 10:8 gbe over pcie root port select (gbepcierpsel) ?rw. if the gbepcierpen is a ?1?, then this regi ster determines which port is used for gbe mac/phy communication over pci express. this register is set by soft strap and is writable to support separate phy on motherboard and docking station. 111 = port 8 (lane 7) 110 = port 7 (lane 6) 101 = port 6 (lane 5) 100 = port 5 (lane 4) 011 = port 4 (lane 3) 010 = port 3 (lane 2) 001 = port 2 (lane 1) 000 = port 1 (lane 0) the default value for this re gister is set by the gbe_pcieportsel[2:0] soft strap. note: gbe and pcie will use the output of this register and not the soft strap. 7 high priority port enable (hpe) ?r/w. 0 = the high priority path is not enabled. 1 = the port selected by the hpp field in this register is enabled for high priority. it will be arbitrated above all other vc0 (including integrated vc0) devices. 6:4 high priority port (hpp) ?r/w. this controls which port is enabled for high priority when the hpe bit in this register is set. 111 = port 8 110 = port 7 101 = port 6 100 = port 5 101 = port 4 010 = port 3 001 = port 2 000 = port 1 3:2 port configuration2 (pc2) ?ro. this controls how the pci bridges are organized in various modes of operation for ports 5-8. fo r the following mappings, if a port is not shown, it is considered a x1 port with no connection. this bit is set by the pciepcs2[1:0] soft strap. 11 = 1 x4, port 5 (x4) 10 = 2 x2, port 5 (x2), port 7 (x2) 01 = 1 x2 and 2 x1s, port 5 (x2), port 7 (x1) and port 8 (x1) 00 = 4 x1s, port 5 (x1), port 6 (x1), port 7 (x1) and port 8 (x1) this bit is in the resume well and is only reset by rsmrst#. 1:0 port configuration (pc) ?ro. this controls how the pci bridges are organized in various modes of operation for ports 1-4. fo r the following mappings, if a port is not shown, it is considered a x1 port with no connection. these bits are set by the pciepcs1[1:0] soft strap. 11 = 1 x4, port 1 (x4) 10 = 2 x2, port 1 (x2), port 3 (x2) 01 = 1x2 and 2x1s, port 1 (x2), port 3 (x1) and port 4 (x1) 00 = 4 x1s, port 1 (x1), port 2 (x1), port 3 (x1) and port 4 (x1) these bits are in the resume well and are only reset by rsmrst#. bit description
chipset configuration registers 396 datasheet 10.1.14 dmic?dmi control register offset address: 0234?0237h attribute: r/w default value: 00000000h size: 32-bit 10.1.15 rpfn?root port function number and hide for pci express* root ports register offset address: 0238?023ch attribute: r/wo, ro default value: 76543210h size: 32-bit for the pci express root ports, the assignment of a function number to a root port is not fixed. bios may re-assign the function numbers on a port by port basis. this capability will allow bios to disable/hide any root port and still have functions 0 thru n- 1 where n is the total number of enabled root ports. port numbers will remain fixed to a physical root port. the existing root port function disable registers operate on physical ports (not functions). port configuration (1x4, 4x1, etc.) is not affected by the logical function number assignment and is associated with physical ports. bit description 31:2 reserved 1:0 dmi clock gate enable (dmicgen) ?r/w. bios must program this field to 10b. bit description 31 root port 8 config hide (rp8ch)? rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 30:28 root port 8 function number (rp8fn) ?r/wo. these bits set the function number for pci express root port 8. this root port function number must be a unique value from the other r oot port function numbers 27 root port 7 config hide (rp7ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 26:24 root port 7 function number (rp7fn) ?r/wo. these bits set the function number for pci express root port 7. this root port function number must be a unique value from the other r oot port function numbers 23 root port 6 config hide (rp6ch)? rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 22:20 root port 6 function number (rp6fn) ?r/wo. these bits set the function number for pci express root port 6. this root port function number must be a unique value from the other r oot port function numbers 19 root port 5 config hide (rp5ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions.
datasheet 397 chipset configuration registers 10.1.16 flrstat?flr pend ing status register offset address: 0290?0293h attribute: ro default value: 00000000h size: 32-bit 18:16 root port 5 function number (rp5fn) ?r/wo. these bits set the function number for pci express root port 5. this root port function number must be a unique value from the other r oot port function numbers 15 root port 4 config hide (rp4ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 14:12 root port 4 function number (rp4fn) ?r/wo. these bits set the function number for pci express root port 4. this root port function number must be a unique value from the other r oot port function numbers 11 root port 3 config hide (rp3ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 10:8 root port 3 function number (rp3fn) ?r/wo. these bits set the function number for pci express root port 3. this root port function number must be a unique value from the other r oot port function numbers 7 root port 2 config hide (rp2ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 6:4 root port 2 function number (rp2fn) ?r/wo. these bits set the function number for pci express root port 2. this root port function number must be a unique value from the other r oot port function numbers 3 root port 1 config hide (rp1ch) ?rw. this bit is used to hide the root port and any devices behind it from being discovered by the os. when set to 1, the root port will not claim any downstream configuration transactions. 2:0 root port 1 function number (rp1fn) ?r/wo. these bits set the function number for pci express root port 1. this root port function number must be a unique value from the other r oot port function numbers bit description bit description 31:17 reserved 16 flr pending status for d29:f0, ehci #1? r0. 0 = function level reset is not pending. 1 = function level reset is pending. 15 flr pending status for d26:f0, ehci #2? r0. 0 = function level reset is not pending. 1 = function level reset is pending. 10:9 reserved 8 flr pending status for d26:f0, ehci#2? r0. 0 = function level reset is not pending. 1 = function level reset is pending. 7:0 reserved
chipset configuration registers 398 datasheet 10.1.17 cir5?chipset init ialization register 5 offset address: 1d40h?1d47h attribute: r/w default value: 0000000000000000h size: 64-bit 10.1.18 trsr?trap status register offset address: 1e00?1e03h attribute: r/wc, ro default value: 00000000h size: 32-bit 10.1.19 trcr?trapped cycle register offset address: 1e10?1e17h attribute: ro default value: 0000000000000000h size: 64-bit this register saves information about the i/o cycle that was trapped and generated the smi# for software to read. bit description 63:1 reserved 0 cir5 field 1 ?r/w. bios must program this field to 1b. bit description 31:4 reserved 3:0 cycle trap smi# status (ctss) ?r/wc. these bits are set by hardware when the corresponding cycle trap register is enable d and a matching cycle is received (and trapped). these bits are or?ed together to create a single status bit in the power management register space. note that the smi# and trapping mu st be enabled to set these bits. these bits are set before the completion is generated for the trapped cycle, thereby ensuring that the processor can enter the smi# handler wh en the instruction completes. each status bit is cleared by writing a 1 to th e corresponding bit location in this register. bit description 63:25 reserved 24 read/write# (rwi) ?ro. 0 = trapped cycle was a write cycle. 1 = trapped cycle was a read cycle. 23:20 reserved 19:16 active-high byte enables (ahbe) ?ro. this is the dword-aligned byte enables associated with the trapped cycle. a 1 in any bit location indicates that the corresponding byte is enabled in the cycle. 15:2 trapped i/o address (tioa) ?ro. this is the dword- aligned address of the trapped cycle. 1:0 reserved
datasheet 399 chipset configuration registers 10.1.20 twdr?trapped write data register offset address: 1e18?1e1fh attribute: ro default value: 0000000000000000h size: 64-bit this register saves the data from i/o write cycles that are trapped for software to read. 10.1.21 iotrn?i/o trap register (0?3) offset address: 1e80?1e87h register 0 attribute: r/w 1e88?1e8fh register 1 1e90?1e97h register 2 1e98?1e9fh register 3 default value: 0000000000000000h size: 64-bit these registers are used to specify the set of i/o cycles to be trapped and to enable this functionality. bit description 63:32 reserved 31:0 trapped i/o data (tiod) ?ro. dword of i/o write data. this field is undefined after trapping a read cycle. bit description 63:50 reserved 49 read/write mask (rwm) ?r/w. 0 = the cycle must match the type specified in bit 48. 1 = trapping logic will operate on both read and write cycles. 48 read/write# (rwio) ?r/w. 0 = write 1 = read note: the value in this field does not matter if bit 49 is set. 47:40 reserved 39:36 byte enable mask (bem) ?r/w. a 1 in any bit position indicates that any value in the corresponding byte enable bit in a received cycle will be treated as a match. the corresponding bit in the byte en ables field, below, is ignored. 35:32 byte enables (tbe) ?r/w. active-high dword- aligned byte enables. 31:24 reserved 23:18 address[7:2] mask (adma) ?r/w. a 1 in any bit position indicates that any value in the corresponding address bit in a receiv ed cycle will be treated as a match. the corresponding bit in the addres s field, below, is ignored. the mask is only provided for the lower 6 bits of the dword address, al lowing for traps on address ranges up to 256 bytes in size. 17:16 reserved 15:2 i/o address[15:2] (ioad) ?r/w. dword-aligned address 1 reserved 0 trap and smi# enable (trse) ?r/w. 0 = trapping and smi# logic disabled. 1 = the trapping logic specified in this register is enabled.
chipset configuration registers 400 datasheet 10.1.22 dmc?dmi miscella neous control register offset address: 2010?2013h attribute: r/w default value: 00000002h size: 32-bit 10.1.23 cir6?chipset init ialization register 6 offset address: 2024?2027h attribute: r/w default value: 0b4030c0h size: 32-bit 10.1.24 dmc2?dmi miscellane ous control register 2 offset address: 2324?2327h attribute: r/w default value: 0fff0fffh size: 32-bit bit description 31:20 reserved 19 dmi misc. control field 1 ?r/w. bios shall always program this field. 0 = disable dmi power savings. 1 = enable dmi power savings. 18:0 reserved bit description 31:24 (mobile only) reserved 23:21 (mobile only) cir6 field 2 ?r/w. bios must program this field to 011b. 20:8 (mobile only) reserved 31:8 (desktop only) reserved 7 cir6 field 1 ?r/w. bios must clear this bit. 6:0 reserved bit description 31:28 reserved 27:16 dmi misc. control field 2 ?r/w. bios shall always program this field. 15:0 reserved
datasheet 401 chipset configuration registers 10.1.25 tctl?tco confi guration register offset address: 3000?3000h attribute: r/w default value: 00h size: 8-bit bit description 7 tco irq enable (ie) ?r/w. 0 = tco irq is disabled. 1 = tco irq is enabled, as sele cted by the tco_irq_sel field. 6:3 reserved 2:0 tco irq select (is) ?r/w. specifies on which irq the tco will internally appear. if not using the apic, the tco interrupt must be routed to irq9?11, and that interrupt is not sharable with the seri rq stream, but is shareable wi th other pci interrupts. if using the apic, the tco interrupt can also be mapped to irq20?23, and can be shared with other interrupt. 000 = irq 9 001 = irq 10 010 = irq 11 011 = reserved 100 = irq 20 (only if apic enabled) 101 = irq 21 (only if apic enabled) 110 = irq 22 (only if apic enabled) 111 = irq 23 (only if apic enabled) when setting the these bits, the ie bit should be cleared to prevent glitching. when the interrupt is mapped to apic interrupts 9, 10, or 11, the apic should be programmed for active-high reception. wh en the interrupt is mapped to apic interrupts 20 through 23, th e apic should be programme d for active-low reception.
chipset configuration registers 402 datasheet 10.1.26 d31ip?device 31 in terrupt pin register offset address: 3100?3103h attribute: r/w, ro default value: 03243200h size: 32-bit bit description 31:28 reserved 27:24 thermal sensor pin (tsip)? r/w. indicates which pin the thermal sensor controller drives as its interrupt 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 23:20 sata pin 2 (sip2)? r/w. indicates which pin the sata controller 2 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 19:16 reserved 15:12 smbus pin (smip) ?r/w. indicates which pin the sm bus controller drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 11:8 sata pin (sip) ?r/w. indicates which pin the sata controller drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 7:4 reserved 3:0 lpc bridge pin (lip)?ro. curr ently, the lpc bridge does not generate an interrupt, so this field is read-only and 0.
datasheet 403 chipset configuration registers 10.1.27 d30ip?device 30 in terrupt pi n register offset address: 3104?3107h attribute: ro default value: 00000000h size: 32-bit 10.1.28 d29ip?device 29 in terrupt pi n register offset address: 3108?310bh attribute: r/w default value: 10004321h size: 32-bit bit description 31:4 reserved 3:0 pci bridge pin (pip)?ro. currently, the pci bridge does not gene rate an interrupt, so this field is read-only and 0. bit description 31:4 reserved 3:0 ehci #1 pin (e1p) ?r/w. indicates which pin the ehci controller #1 drives as its interrupt, if controller exists. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?7h = reserved note: ehci controller #1 is mapped to devi ce 29 function 0 when rmh is enabled.
chipset configuration registers 404 datasheet 10.1.29 d28ip?device 28 in terrupt pin register offset address: 310c?310fh attribute: r/w default value: 00214321h size: 32-bit bit description 31:28 pci express* #8 pin (p8ip) ?r/w. indicates which pin th e pci express* port #8 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?7h = reserved 27:24 pci express #7 pin (p7ip) ?r/w. indicates which pin the pci express port #7 drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?7h = reserved 23:20 pci express* #6 pin (p6ip) ?r/w. indicates which pin th e pci express* port #6 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?7h = reserved 19:16 pci express #5 pin (p5ip) ?r/w. indicates which pin the pci express port #5 drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?7h = reserved 15:12 pci express #4 pin (p4ip) ?r/w. indicates which pin th e pci express* port #4 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# (default) 5h?7h = reserved 11:8 pci express #3 pin (p3ip) ?r/w. indicates which pin the pci express port #3 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# (default) 4h = intd# 5h?7h = reserved
datasheet 405 chipset configuration registers 10.1.30 d27ip?device 27 in terrupt pi n register offset address: 3110?3113h attribute: r/w default value: 00000001h size: 32-bit 7:4 pci express #2 pin (p2ip) ?r/w. indicates which pin the pci express port #2 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?7h = reserved 3:0 pci express #1 pin (p1ip) ?r/w. indicates which pin the pci express port #1 drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?7h = reserved bit description bit description 31:4 reserved 3:0 intel ? high definition audio pin (zip)? r/w. indicates which pin the intel ? high definition audio controller drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved
chipset configuration registers 406 datasheet 10.1.31 d26ip?device 26 in terrupt pin register offset address: 3114?3117h attribute: r/w default value: 30000321h size: 32-bit 10.1.32 d25ip?device 25 in terrupt pin register offset address: 3118?311bh attribute: r/w default value: 00000001h size: 32-bit bit description 31:4 reserved 3:0 ehci #2 pin (e2p)? r/w. indicates which pin ehci controller #2 drives as its interrupt, if controller exists. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserve note: ehci controller #2 is ma pped to device 26 function 0 when rmh is enabled and device 26 function 7 when rmh is disabled. bit description 31:4 reserved 3:0 gbe lan pin (lip)? r/w. indicates which pin the internal gbe lan controller drives as its interrupt 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved
datasheet 407 chipset configuration registers 10.1.33 d22ip?device 22 in terrupt pi n register offset address: 3124?3127h attribute: r/w default value: 00000001h size: 32-bit 10.1.34 d31ir?device 31 in terrupt route register offset address: 3140?3141h attribute: r/w default value: 3210h size: 16-bit bit description 31:16 reserved 15:12 kt pin (ktip)? r/w. indicates which pin the keyboa rd text pci functionality drives as its interrupt 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 11:8 ide-r pin (iderip)? r/w. indicates which pin the id e redirect pci functionality drives as its interrupt 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 7:4 intel ? mei #2 pin (mei2ip)? r/w. indicates which pin the management engine interface #2 drives as its interrupt 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 3:0 intel ? mei #1 pin (mei1ip)? r/w. indicates which pin the management engine interface controller #1 drives as its interrupt 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved bit description 15 reserved
chipset configuration registers 408 datasheet 10.1.35 d30ir?device 30 in terrupt route register offset address: 3142?3143h attribute: ro default value: 0000h size: 16-bit 14:12 interrupt d pin route (idr) ?r/w. indicates which physical pin on the pch is connected to the intd# pin repo rted for device 31 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which phys ical pin on the pch is connected to the intc# pin repo rted for device 31 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which phys ical pin on the pch is connected to the intb# pin repo rted for device 31 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 31 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# bit description bit description 15:0 reserved. no interrupt s generated from device 30.
datasheet 409 chipset configuration registers 10.1.36 d29ir?device 29 in terrupt route register offset address: 3144?3145h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which phys ical pin on the pch is connected to the intd# pin repo rted for device 29 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 29 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which physical pin on the pch is connected to the intb# pin repo rted for device 29 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 29 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
chipset configuration registers 410 datasheet 10.1.37 d28ir?device 28 in terrupt route register offset address: 3146?3147h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which physical pin on the pch is connected to the intd# pin repo rted for device 28 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 28 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which phys ical pin on the pch is connected to the intb# pin repo rted for device 28 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 28 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
datasheet 411 chipset configuration registers 10.1.38 d27ir?device 27 in terrupt route register offset address: 3148?3149h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which phys ical pin on the pch is connected to the intd# pin repo rted for device 27 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 27 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which physical pin on the pch is connected to the intb# pin repo rted for device 27 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 27 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
chipset configuration registers 412 datasheet 10.1.39 d26ir?device 26 in terrupt route register offset address: 314c?314fh attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr)? r/w. indicates which phys ical pin on the pch is connected to the intd# pin repo rted for device 26 functions: 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 26 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which phys ical pin on the pch is connected to the intb# pin repo rted for device 26 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 26 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
datasheet 413 chipset configuration registers 10.1.40 d25ir?device 25 in terrupt route register offset address: 3150?3151h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which phys ical pin on the pch is connected to the intd# pin repo rted for device 25 functions: 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 25 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which physical pin on the pch is connected to the intb# pin repo rted for device 25 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 25 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
chipset configuration registers 414 datasheet 10.1.41 d24ir?device 24 in terrupt route register offset address: 3154?3155h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which physical pin on the pch is connected to the intd# pin repo rted for device 24 functions: 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 24 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which phys ical pin on the pch is connected to the intb# pin repo rted for device 24 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 24 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
datasheet 415 chipset configuration registers 10.1.42 d22ir?device 22 in terrupt route register offset address: 315c?315fh attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ?r/w. indicates which phys ical pin on the pch is connected to the intd# pin repo rted for device 22 functions: 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 11 reserved 10:8 interrupt c pin route (icr) ?r/w. indicates which physical pin on the pch is connected to the intc# pin repo rted for device 22 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 7 reserved 6:4 interrupt b pin route (ibr) ?r/w. indicates which physical pin on the pch is connected to the intb# pin repo rted for device 22 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# 3 reserved 2:0 interrupt a pin route (iar) ?r/w. indicates which phys ical pin on the pch is connected to the inta# pin repo rted for device 22 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh#
chipset configuration registers 416 datasheet 10.1.43 oic?other interrupt control register offset address: 31fe?31ffh attribute: r/w default value: 0000h size: 16-bit note: fec10000h?fec4ffffh is allocated to pcie when i/oxapic enable (pae) bit is set. bit description 15:10 reserved 9 coprocessor error enable (cen) ?r/w. 0 = ferr# will not generate irq13 nor ignne#. 1 = if ferr# is low, the pch generates irq13 internally and holds it until an i/o port f0h write. it will also drive ignne# active. 8 apic enable (aen) ?r/w. 0 = the internal ioxapic is disabled. 1 = enables the internal ioxa pic and its address decode. note: software should read this register af ter modifying apic enable bit prior to access to the ioxapic address range. 7:0 apic range select (asel)? r/w.these bits define a ddress bits 19:12 for the ioxapic range. the default value of 00h enab les compatibility with prior pch products as an initial value. this value must not be changed unless the ioxapic enable bit is cleared.
datasheet 417 chipset configuration registers 10.1.44 prsts?power and reset status offset address: 3310?3313h attribute: ro, r/wc default value: 02020000h size: 32-bit 10.1.45 cir7?chipset init alization register 7 offset address: 3314?3317h attribute: r/w default value: 00000000h size: 32-bit bit description 31:16 reserved 15 power management watchdog timer ?r/wc. this bit is set when the power management watchdog time r causes a global reset. 14:7 reserved 6 intel ? management engine watchdog timer status ?r/wc. this bit is set when the intel management engine watchd og timer causes a global reset. 5 wake on lan override wake status (wol_ovr_wk_sts) ?r/wc. this bit gets set when all of the following conditions are met: ? integrated lan signals a power management event ? the system is not in s0 ? the ?wol enable override? bit is set in configuration space. bios can read this status bit to determine this wake source. software clears this bi t by writing a 1 to it. 4 reserved 3 me host power down (me_host_pwrdn)? r/wc.this bit is set when the intel management engine generates a host reset with power down. 2 me host reset warm status (me_hrst_warm_sts) ?r/wc. this bit is set when the intel ? management engine generates a ho st reset without power cycling. software clears this bit by wr iting a 1 to this bit position. 1 me host reset cold status (me_hrst_cold_sts) ?r/wc. this bit is set when the intel management engine generates a ho st reset with power cycling. software clears this bit by writing a 1 to this bit position. 0 me wake status (me_wake_sts) ?r/wc. this bit is set when the intel management engine generates a non-maskable wake event, and is not affected by any other enable bit. when this bit is set, the host power management logic wakes to s0. bit description 31:4 reserved 3:0 cir7 field 1 ?r/w. bios must program this field to 1111b.
chipset configuration registers 418 datasheet 10.1.46 cir8?chipset init ialization register 8 offset address: 3324?3327h attribute: r/w default value: 00000000h size: 32-bit 10.1.47 cir9?chipset init ialization register 9 offset address: 3330?3333h attribute: r/w default value: 00000000h size: 32-bit 10.1.48 cir10?chipset initialization register 10 offset address: 3340?3343h attribute: r/w default value: 00000000h size: 32-bit 10.1.49 cir13?chipset initialization register 13 offset address: 3350?3353h attribute: r/w default value: 00000000h size: 32-bit 10.1.50 cir14?chipset initialization register 14 offset address: 3368?336bh attribute: r/w default value: 00000000h size: 32-bit bit description 31:0 cir8 field 1? r/w. bios must program this field to 04000000h. bit description 31:0 cir9 field 1? r/w. bios must program this field to 00000000h. bit description 31:0 cir10 field 1? r/w. bios must program this field to 00000000h for intel ? core? i5 processor-based systems. bit description 31:0 cir13 field 1? r/w. bios must program this field to 000fffffh for intel ? core? i5 processorbased systems. bit description 31:0 cir14 field 1? r/w. bios must program this field to 00061080h for intel ? core? i5 processor-based systems.
datasheet 419 chipset configuration registers 10.1.51 cir15?chipset init ialization register 15 offset address: 3378?337bh attribute: r/w default value: 00000000h size: 32-bit 10.1.52 cir16?chipset init ialization register 16 offset address: 3388?338bh attribute: r/w default value: 00000000h size: 32-bit 10.1.53 cir17?chipset init ialization register 17 offset address: 33a0?33a3h attribute: r/w default value: 00000000h size: 32-bit 10.1.54 cir18?chipset init ialization register 18 offset address: 33a8?33abh attribute: r/w default value: 00000000h size: 32-bit 10.1.55 cir19?chipset init ialization register 19 offset address: 33c0?33c3h attribute: r/w default value: 00000000h size: 32-bit bit description 31:0 cir15 field 1? r/w. bios must program this field to 00000000h for intel ? core? i5 processor-based systems. bit description 31:0 cir16 field 1? r/w. bios must program this field to 7f8f9f80h for intel ? core? i5 processor-based systems. bit description 31:0 cir17 field 1? r/w. bios must program this field to 00000000h for intel ? core? i5 processor-based systems. bit description 31:0 cir18 field 1? r/w. bios must program this field to 00003900 for intel ? core? i5 processor-based systems. bit description 31:0 cir19 field 1? r/w. bios must program this field to 00020002h for intel ? core? i5 processor-based systems.
chipset configuration registers 420 datasheet 10.1.56 cir20?chipset initialization register 20 offset address: 33cc?33cfh attribute: r/w default value: 00000000h size: 32-bit 10.1.57 cir21?chipset initialization register 21 offset address: 33d0?33d3h attribute: r/w default value: 00000000h size: 32-bit 10.1.58 cir22?chipset initialization register 22 offset address: 33d4?33d7h attribute: r/w default value: 00000000h size: 32-bit bit description 31:0 cir20 field 1? r/w. bios must program this field to 00044b00h for intel ? core? i5 processor-based systems. bit description 31:0 cir21 field 1? r/w. bios must program this field to 00002000h for intel ? core? i5 processor-based systems. bit description 31:0 cir22 field 1? r/w. bios must program this field to 00020000h for intel ? core? i5 processor-based systems. program this register after all registers in the 3330-33d3 range and d31:f0:a9h are already programmed.
datasheet 421 chipset configuration registers 10.1.59 rc?rtc conf iguration register offset address: 3400?3403h attribute: r/w, r/wlo default value: 00000000h size: 32-bit 10.1.60 hptc?high precision ti mer configuration register offset address: 3404?3407h attribute: r/w default value: 00000000h size: 32-bit bit description 31:5 reserved 4 upper 128 byte lock (ul) ?r/wlo. 0 = bytes not locked. 1 = bytes 38h?3fh in the upper 128-byte bank of rtc ram are locked and cannot be accessed. writes will be dr opped and reads will not re turn any ensured data. bit reset on system reset. 3 lower 128 byte lock (ll) ?r/wlo. 0 = bytes not locked. 1 = bytes 38h?3fh in the lower 128-byte bank of rtc ram are locked and cannot be accessed. writes will be dr opped and reads will not re turn any ensured data. bit reset on system reset. 2 upper 128 byte enable (ue) ?r/w. 0 = bytes locked. 1 = the upper 128-byte bank of rtc ram can be accessed. 1:0 reserved bit description 31:8 reserved 7 address enable (ae) ?r/w. 0 = address disabled. 1 = the pch will decode the high precisio n timer memory address range selected by bits 1:0 below. 6:2 reserved 1:0 address select (as) ?r/w. this 2-bit field selects 1 of 4 possible memory address ranges for the high precision time r functionality. the encodings are: 00 = fed0_0000h?fed0_03ffh 01 = fed0_1000h?fed0_13ffh 10 = fed0_2000h?fed0_23ffh 11 = fed0_3000h?fed0_33ffh
chipset configuration registers 422 datasheet 10.1.61 gcs?general control and status register offset address: 3410?3413h attribute: r/w, r/wlo default value: 00000yy0h (yy = xx0000x0b)size: 32-bit bit description 31:13 reserved 12 function level reset capability structure select (flrcssel) ?r/w. 0 = function level reset (flr) will use the standard capability structure with unique capability id assigned by pcisig. 1 = vendor specific capability structure is selected for flr. 11:10 boot bios straps (bbs)? r/w. this field dete rmines the destination of accesses to the bios memory range. the default values for these bits represent the strap values of gnt1# /gpio51 (bit 11) at the rising edge of pwrok and gnt0# (bit 10) at the rising edge of pwrok. when pci is selected, the top 16 mb of memory below 4 gb (ff00_0000h to ffff_ffffh) is accepted by the primary side of the pci p2p bridge and forwarded to the pci bus. this allows systems with corru pted or unprogrammed flash to boot from a pci device. the pci-to-pci br idge memory space enable bi t does not need to be set (nor any other bits) for these cycles to go to pci. note that bios decode range bits and the other bios protection bits have no effect when pci is selected. this functionality is intended for debug/testing only. when spi or lpc is selected, the range that is decoded is furthe r qualified by other configuration bits described in the respective sections. the value in this field can be overwritten by software as long as the bios interface lock-down (bit 0) is not set. note: booting to pci is intended for debug/ testing only. boot bios destination select to lpc/pci by functi onal strap or using boot bios destination bit will not affect spi accesses initiated by intel ? management engine or integrated gbe lan. 9 server error reporting mode (serm) ?r/w. 0 = the pch is the final target of all erro rs. the processor sends a messages to the pch for the purpose of generating nmi. 1 = the processor is the final target of all errors from pci express* and dmi. in this mode, if the pch detects a fatal, non-fata l, or correctable er ror on dmi or its downstream ports, it sends a message to the processor. if the pch receives an err_* message from the downstream po rt, it sends that message to the processor. 8:7 reserved 6 ferr# mux enable (fme) ?r/w. this bit enables ferr # to be a processor break event indication. 0 = disabled. 1 = the pch examines ferr# during a c2 , c3, or c4 state as a break event. see chapter 5.13.4 for a functional description. bits 11:10 description 00b lpc 01 reserved 10b pci 11b spi
datasheet 423 chipset configuration registers 5 no reboot (nr) ?r/w. this bit is set when the ?no reboot? strap (spkr pin on the pch) is sampled high on pwrok. this bit may be set or cleared by software if the strap is sampled low but may not override the strap when it in dicates ?no reboot?. 0 = system will reboot upon the second timeout of the tco timer. 1 = the tco timer will count down and gene rate the smi# on th e first timeout, but will not reboot on the second timeout. 4 alternate access mode enable (ame) ?r/w. 0 = disabled. 1 = alternate access read only registers ca n be written, and writ e only registers can be read. before entering a low power state, seve ral registers from powered down parts may need to be saved. in the majori ty of cases, this is not an issue, as registers have read and write paths. ho wever, several of the isa compatible registers are either read only or write only. to get data out of write-only registers, and to restore data into read -only registers, the pch implements an alternate access mode. for a list of these registers see section 5.13.10 . 3 shutdown policy select (sps) ?r/w. 0 = pch will drive init# in response to the shutdown vendor defined message (vdm). (default) 1 = pch will treat the shutdown vdm similar to receiving a cf9h i/o write with data value06h, and will drive pltrst# active. 2 reserved page route (rpr) ?r/w. determines where to send the reserved page registers. these addresses are sent to pci or lpc for the purpose of generating post codes. the i/o addresses modified by this field are: 80h, 84h, 85h, 86h, 88h, 8ch, 8dh, and 8eh. 0 = writes will be forwarded to lpc, shadowed within the pch, and reads will be returned from the internal shadow 1 = writes will be forwarded to pci, shad owed within the pch, and reads will be returned from the internal shadow. note: if some writes are done to lpc/pci to these i/o ranges, and then this bit is flipped, such that writes will now go to the other interface, the reads will not return what was last written. shadow ing is performed on each interface. the aliases for these registers, at 90h, 94 h, 95h, 96h, 98h, 9ch, 9dh, and 9eh, are always decoded to lpc. 1 reserved 0 bios interface lock-down (bild) ?r/wlo. 0 = disabled. 1 = prevents buc.ts (offset 3414, bit 0) and gcs.bbs (offset 3410h, bits 11:10) from being changed. this bit can on ly be written from 0 to 1 once. bit description
chipset configuration registers 424 datasheet 10.1.62 buc?backed up control register offset address: 3414?3414h attribute: r/w default value: 0000000xb size: 8-bit all bits in this register are in th e rtc well and only cleared by rtcrst# bit description 7:6 reserved 5 lan disable? r/w. 0 = lan is enabled 1 = lan is disabled. changing the internal gbe controller from disabled to enable d requires a system reset (write of 0eh to cf9h (rst_cnt regi ster)) immediately af ter clearing the lan disable bit. a reset is not required if changing the bit from enabled to disabled. this bit is locked by the function disabl e sus well lockdown register. once locked this bit can not be changed by software. 4 daylight savings override (sdo)? r/w. 0 = daylight savings is enabled. 1 = the dse bit in rtc register b is set to read-only with a value of 0 to disable daylight savings. 3:1 reserved 0 top swap (ts) ?r/w. 0 = pch will not invert a16. 1 = pch will invert a16, a17, or a18 for cycles going to the bios space . if booting from lpc (fwh), then the boot-blo ck size is 64 kb and a16 is inverted if top swap is enabled. if booting from spi, then the bios boot-block size soft strap determines if a16, a17, or a18 should be inverted if top swap is enabled. if pch is strapped for top-swap (gnt3#/gpi o55 is low at rising edge of pwrok), then this bit cannot be clea red by software. the strap ju mper should be removed and the system rebooted.
datasheet 425 chipset configuration registers 10.1.63 fd?function disable register offset address: 3418?341bh attribute: r/w default value: see bit description size: 32-bit when disabling a function, only the config uration space is disabled. software must ensure that all functionality within a controller that is not desired (such as memory spaces, i/o spaces, and dma engines) is di sabled prior to disabling the function. when a function is disabled, software must not attempt to re-enable it. a disabled function can only be re-enabled by a platform reset. bit description 31:26 reserved 25 serial ata disable 2 (sad2)? r/w. default is 0. 0 = the sata controller #2 (d31:f5) is enabled. 1 = the sata controller #2 (d31:f5) is disabled. 24 thermal sensor regi sters disable (ttd)? r/w. default is 0. 0 = thermal sensor registers (d31:f6) are enabled. 1 = thermal sensor register s (d31:f6) are disabled. 23 pci express* 8 disable (pe8d) ?r/w. default is 0. when disabled, the link for this port is put into the ?link down? state. 0 = pci express* port #8 is enabled. 1 = pci express port #8 is disabled. 22 pci express 7 disable (pe7d) ?r/w. default is 0. when disabled, the link for this port is put into the link down state. 0 = pci express port #7 is enabled. 1 = pci express port #7 is disabled. 21 pci express* 6 disable (pe6d) ?r/w. default is 0. when disabled, the link for this port is put into the ?link down? state. 0 = pci express* port #6 is enabled. 1 = pci express port #6 is disabled. 20 pci express 5 disable (pe5d) ?r/w. default is 0. when disabled, the link for this port is put into the link down state. 0 = pci express port #5 is enabled. 1 = pci express port #5 is disabled. 19 pci express 4 disable (pe4d) ?r/w. default is 0. when disabled, the link for this port is put into the ?link down? state. 0 = pci express port #4 is enabled. 1 = pci express port #4 is disabled. note: this bit must be set when po rt 1 is configured as a x4. 18 pci express 3 disable (pe3d) ?r/w. default is 0. when disabled, the link for this port is put into the link down state. 0 = pci express port #3 is enabled. 1 = pci express port #3 is disabled. note: this bit must be set when po rt 1 is configured as a x4. 17 pci express 2 disable (pe2d) ?r/w. default is 0. when disabled, the link for this port is put into the link down state. 0 = pci express port #2 is enabled. 1 = pci express port #2 is disabled. note: this bit must be set wh en port 1 is configured as a x4 or a x2.
chipset configuration registers 426 datasheet 16 pci express 1 disable (pe1d) ?r/w. default is 0. when di sabled, the link for this port is put into the link down state. 0 = pci express port #1 is enabled. 1 = pci express port #1 is disabled. 15 ehci #1 disable (ehci1d) ?r/w. default is 0. 0 = the ehci #1 is enabled. 1 = the ehci #1 is disabled. 14 lpc bridge disable (lbd) ?r/w. default is 0. 0 = the lpc bridge is enabled. 1 = the lpc bridge is disabled. unlike the ot her disables in this register, the following additional spaces will no longer be decoded by the lpc bridge: ? memory cycles below 16 mb (1000000h) ? i/o cycles below 64 kb (10000h) ? the internal i/oxapic at fec0_0000 to fecf_ffff memory cycle in the lpc bios range below 4 gb will still be decode d when this bit is set; however, the aliases at the top of 1 mb (the e and f segment) no longer will be decoded. 13 ehci #2 disable (ehci2d) ?r/w. default is 0. 0 = the ehci #2 is enabled. 1 = the ehci #2 is disabled. 12:5 reserved 4 intel ? high definition audio disable (hdad) ?r/w. default is 0. 0 = the intel ? high definition audio controller is enabled. 1 = the intel ? high definition audio controller is disabled and its pci configuration space is not accessible. 3 smbus disable (sd) ?r/w. default is 0. 0 = the smbus controller is enabled. 1 = the smbus controller is disabled. se tting this bit only disables the pci configuration space. 2 serial ata disable 1 (sad1) ?r/w. default is 0. 0 = the sata controller #1 (d31:f2) is enabled. 1 = the sata controller #1 (d31:f2) is disabled. 1 reserved 0 bios must set this bit to 1b. bit description
datasheet 427 chipset configuration registers 10.1.64 cg?clock gating register offset address: 341c?341fh attribute: r/w default value: 00000000h size: 32-bit bit description 31 legacy (lpc) dynamic clock gate enable? r/w. 0 = legacy dynamic clock gating is disabled 1 = legacy dynamic clock gating is enabled 30 reserved 29.28 cg field 1 ?r/w. bios must program this field to 11b. 27 sata port 3 dynamic clock gate enable? r/w. 0 = sata port 3 dynamic clock gating is disabled 1 = sata port 3 dynamic clock gating is enabled 26 sata port 2 dynamic clock gate enable? r/w. 0 = sata port 2 dynamic clock gating is disabled 1 = sata port 2 dynamic clock gating is enabled 25 sata port 1 dynamic clock gate enable? r/w. 0 = sata port 1 dynamic clock gating is disabled 1 = sata port 1 dynamic clock gating is enabled 24 sata port 0 dynamic clock gate enable? r/w. 0 = sata port 0 dynamic clock gating is disabled 1 = sata port 0 dynamic clock gating is enabled 23 lan static clock gating enable (lanscge)? r/w. 0 = lan static clock gating is disabled 1 = lan static clock gating is enabled when the lan disable bit is set in the backed up control rtc register. 22 high definition audio dynamic clock gate enable? r/w. 0 = high definition audio dynamic clock gating is disabled 1 = high definition audio dynamic clock gating is enabled 21 high definition audio static clock gate enable? r/w. 0 = high definition audio static clock gating is disabled 1 = high definition audio static clock gating is enabled 20 usb ehci static clock gate enable? r/w. 0 = usb ehci static cl ock gating is disabled 1 = usb ehci static clock gating is enabled 19 usb ehci dynamic clock gate enable? r/w. 0 = usb ehci dynamic clock gating is disabled 1 = usb ehci dynamic clock gating is enabled 18 sata port 5 dynamic clock gate enable? r/w. 0 = sata port 5 dynamic clock gating is disabled 1 = sata port 5 dynamic clock gating is enabled 17 sata port 4 dynamic clock gate enable? r/w. 0 = sata port 4 dynamic clock gating is disabled 1 = sata port 4 dynamic clock gating is enabled 16 pci dynamic gate enable? r/w. 0 = pci dynamic gating is disabled 1 = pci dynamic gating is enabled 15:6 reserved
chipset configuration registers 428 datasheet 10.1.65 fdsw?function disa ble sus well register offset address: 3420h attribute: r/w default value: 00h size: 8-bit 10.1.66 fd2?function disable 2 register offset address: 3428?342bh attribute: r/w default value: 00000000h size: 32-bit 5 smbus clock gating enable (smbcgen)? r/w. 0 = smbus clock gating is disabled. 1 = smbus clock gating is enabled. 4:1 reserved 0 pci express root port static clock gate enable? r/w. 0 = pci express root port stat ic clock gating is disabled 1 = pci express root port stat ic clock gating is enabled bit description bit description 7 function disable sus well lockdown (fdswl) ?r/w 0 = fdsw registers are not locked down 1 = fdsw registers are locked down note: this bit must be set when intel ? active management technology is enabled. 6:0 reserved bit description 31:5 reserved 4 kt disable (ktd)? r/w. default is 0. 0 = keyboard text controller (d22:f3) is enabled. 1 = keyboard text controller (d22:f3) is disabled 3 ide-r disabl e (irerd)? r/w. default is 0. 0 = ide redirect controll er (d22:f2) is enabled. 1 = ide redirect controller (d22:f2) is disabled. 2 intel ? mei #2 disable (mei2d)? r/w. default is 0. 0 = intel ? mei controller #2 (d22:f1) is enabled. 1 = intel ? mei controller #2 (d22:f1) is disabled. 1 intel ? mei #1 disable (mei1d)? r/w. default is 0. 0 = intel ? mei controller #1 (d22:f0) is enabled. 1 = intel ? mei controller #1 (d22:f0) is disabled. 0 reserved
datasheet 429 chipset configuration registers 10.1.67 miscctl?miscellaneous control register offset address: 3590?3593h attribute: r/w default value: 00000000h size: 32-bit this register is in the suspend well. this register is not reset on d3-to-d0, hcreset nor core well reset. bit description 31:2 reserved 1 ehci 2 usbr enable? r/w. when set, this bit en ables support for the usb-r redirect device on the ehci controller in device 26. sw must complete programming the following registers be fore this bit is set: 1. enable rmh 2. hcsparams (n_cc, n_ports) 0 ehci 1 usbr enable? r/w. when set, this bit en ables support for the usb-r redirect device on the ehci controller in device 29. sw must complete programming the following registers be fore this bit is set: 1. enable rmh 2. hcsparams (n_cc, n_ports)
chipset configuration registers 430 datasheet 10.1.68 usbocm1?overcurre nt map register 1 offset address: 35a0?35a3h attribute: r/w0 default value: c0300c03h size: 32-bit all bits in this register are in the resu me well and is only cleared by rsmrst#. bit description 31:24 oc3 mapping each bit position maps oc3# to a set of ports as follows: the oc3# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 23:16 oc2 mapping each bit position maps oc2# to a set of ports as follows: the oc2# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 15:8 oc1 mapping each bit position maps oc1# to a set of ports as follows: the oc1# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 7:0 oc0 mapping each bit position maps oc0# to a set of ports as follows: the oc0# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. bit 31 30 29 28 27 26 25 24 port 76543210 bit 23 22 21 20 19 18 17 16 port 76543210 bit 15 14 13 12 11 10 9 8 port 76543210 bit 76543210 port 76543210
datasheet 431 chipset configuration registers 10.1.69 usbocm2?overcurr ent map register 2 offset address: 35a4?35a7h attribute: r/w0 default value: 00h size: 32-bit all bits in this register are in the resume well and is only cleared by rsmrst# bit description 31:30 reserved 29:24 oc7 mapping each bit position maps oc7# to a set of ports as follows: the oc7# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 23:22 reserved 21:16 oc6 mapping each bit position maps oc6# to a set of ports as follows: the oc6# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 15:14 reserved 13:8 oc5 mapping each bit position maps oc5# to a set of ports as follows: the oc5# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. 7:6 reserved 5:0 oc4 mapping each bit position maps oc4# to a set of ports as follows: the oc4# pin is ganged to the overcurrent signal of ea ch port that has its corresponding bit set. it is software responsibility to ensure that a given port?s bit map is set only for one oc pin. bit 29 28 27 26 25 24 port 13 12 11 10 9 8 bit 21 20 19 18 17 16 port 13 12 11 10 9 8 bit 13 12 11 10 9 8 port 13 12 11 10 9 8 bit 543210 port 13 12 11 10 9 8
chipset configuration registers 432 datasheet 10.1.70 rmhwkctl?rate matching hub wake control register offset address: 35b0?35b3h attribute: r/w default value: 00000000h size: 32-bit all bits in this register are in the resume well and is only cleared by rsmrst#. bit description 31:10 reserved 9 rmh 2 inherit ehci2 wa ke control settings: when this bit is set, the rmh behaves as if bits 6:4 of th is register reflect the appropriate bits of ehci portsc0 bits 22:20. 8 rmh 1 inherit ehci1 wa ke control settings: when this bit is set, the rmh behaves as if bits 2:0 of th is register reflect the appropriate bits of ehci portsc0 bits 22:20. 7 rmh 2 upstream wake on device resume this bit governs the hub behavior when globally suspended and the system is in sx. 0 = enables the port to be sensitive to device initiated resume events as system wake-up events. that is, the hub will init iate a resume on it s upstream port and cause a wake from sx when a device re sume occurs on an enabled ds port 1 = device resume event is seen on a down stream port, the hub does not initiate a wake upstream and does not cause a wake from sx 6 rmh 2 upstream wake on oc disable this bit governs the hub behavior when globally suspended and the system is in sx. 0 = enables the port to be sensitive to over-current conditions as system wake-up events. that is, the hub will initiate a resume on its upstre am port and cause a wake from sx when an oc conditio n occurs on an enabled ds port 1 = over-current event does not initiate a wake upstream and does not cause a wake from sx 5 rmh 2 upstream wake on disconnect disable this bit governs the hub behavior when globally suspended and the system is in sx 0 = enables disconnect events on downstream port to be treate d as resume events to be propagated upstream. in this case, it is allowed to initiate a wake on its upstream port and cause a system wake from sx in response to a disconnect event on a downstream port 1 = downstream disconnect events do not initiate a resu me on its upstream port or cause a resume from sx. 4 rmh 2 upstream wake on connect enable this bit governs the hub behavior when globally suspended and the system is in sx. 0 = enables connect events on a downstream port to be treated as resume events to be propagated upstream. as well as waking up the system from sx. 1 = downstream connect events do not wake the system from sx nor does it initiate a resume on its upstream port. 3 rmh 1 upstream wake on device resume this bit governs the hub behavior when globally suspended and the system is in sx. 0 = enables the port to be sensitive to device initiated resume events as system wake-up events. that is, the hub will init iate a resume on it s upstream port and cause a wake from sx when a device re sume occurs on an enabled ds port 1 = device resume event is seen on a down stream port, the hub does not initiate a wake upstream and does not cause a wake from sx
datasheet 433 chipset configuration registers 2 rmh 1 upstream wake on oc disable this bit governs the hub behavior when globally suspended and the system is in sx. 0 = enables the port to be sensitive to ov er-current conditions as system wake-up events. that is, the hub will initiate a resume on its upstre am port and cause a wake from sx when an oc conditio n occurs on an enabled ds port 1 = over-current event does not initiate a wake upstream and does not cause a wake from sx 1 rmh 1 upstream wake on disconnect disable this bit governs the hub behavior when globally suspended an d the system is in sx 0 = enables disconnect events on downstream port to be treated as resume events to be propagated upstream. in this case, it is allowed to initiate a wake on its upstream port and cause a system wake from sx in response to a disconnect event on a downstream port 1 = downstream disconnect events do not init iate a resume on it s upstream port or cause a resume from sx. 0 rmh 1 upstream wake on connect enable this bit governs the hub behavior when globally suspended an d the system is in sx. 0 = enables connect events on a downstream port to be treated as resume events to be propagated upstream. as well as waking up the system from sx. 1 = downstream connect events do not wake the system from sx nor does it initiate a resume on its upstream port. bit description
chipset configuration registers 434 datasheet
datasheet 435 pci-to-pci bridge registers (d30:f0) 11 pci-to-pci bridge registers (d30:f0) the pch pci bridge resides in pci device 30, function 0 on bus #0. this implements the buffering and control logic between pci and the backbone. the arbitration for the pci bus is handled by this pci device. 11.1 pci configuration registers (d30:f0) note: address locations that are not shown should be treated as reserved (see section 9.2 for details). . table 11-1. pci bridge register address ma p (pci-pci?d30:f0) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h psts pci status 0010h r/wc, ro 08h rid revision identification see register description ro 09h?0bh cc class code 060401h ro 0dh pmlt primary master latency timer 00h ro 0eh headtyp header type 01h ro 18h?1ah bnum bus number 000000h ro 1bh smlt secondary master latency timer 00h r/w 1ch?1dh iobase_limit i/o ba se and limit 0000h r/w, ro 1eh?1fh secsts secondary status 0280h r/wc, ro 20h?23h membase_ limit memory base and limit 00000000h r/w 24h?27h pref_mem_ base_limit prefetchable memory base and limit 00010001h r/w, ro 28h?2bh pmbu32 prefetchable memory upper 32 bits 00000000h r/w 2ch?2fh pmlu32 prefetchable memory limit upper 32 bits 00000000h r/w 34h capp capability list pointer 50h ro 3ch?3dh intr interrupt information 0000h r/w, ro 3eh?3fh bctrl bridge control 0000h r/wc, ro, r/w 40h?41h spdh secondary pci device hiding 0000h r/w, ro 44h?47h dtc delayed transaction control 00000000h r/w 48h?4bh bps bridge proprietary status 00000000h r/wc, ro 4ch?4fh bpc bridge policy configuration 00001200h r/w ro 50?51h svcap subsystem vendor capability pointer 000dh ro 54h?57h svid subsystem vendor ids 00000000 r/wo
pci-to-pci bridge registers (d30:f0) 436 datasheet 11.1.1 vid?vendor identification register (pci-pci?d30:f0) offset address: 00h?01h attribute: ro default value: 8086h size: 16 bits 11.1.2 did?device identification register (pci-pci?d30:f0) offset address: 02h?03h attribute: ro default value: see bit description size: 16 bits 11.1.3 pcicmd?pci command re gister (pci-pci?d30:f0) offset address: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 vendor id ?ro. this is a 16-bit value assi gned to intel. intel vid = 8086h. bit description 15:0 device id? ro. this is a 16-bit value assi gned to the pci bridge. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id)?ro. hardwired to 0. the pci bridge has no interrupts to disable 9 fast back to back enable (fbe )?ro. hardwired to 0, per the pci express* base specification, revision 1.0a . 8 serr# enable (serr_en) ?r/w. 0 = disable. 1 = enable the pch to generate an nmi (or smi# if nmi routed to smi#) when the d30:f0 sse bit (offset 06h, bit 14) is set. 7 wait cycle control (wcc)?ro. hardwired to 0, per the pci express* base specification, revision 1.0a . 6 parity error response (per)? r/w. 0 = the pch ignores parity errors on the pci bridge. 1 = the pch will set the sse bit (d30:f0, of fset 06h, bit 14) when parity errors are detected on the pci bridge. 5 vga palette snoop (vps)?ro. hardwired to 0, per the pci express* base specification, revision 1.0a . 4 memory write and invalidate enable (mwe)?ro. hardwired to 0, per the pci express* base specification, revision 1.0a 3 special cycle enable (sce)?ro. hardwired to 0, per the pci express* base specification, revision 1.0a and the pci- to-pci bridge specification.
datasheet 437 pci-to-pci bridge registers (d30:f0) 11.1.4 psts?pci status register (pci-pci?d30:f0) offset address: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 2 bus master enable (bme)? r/w. 0 = disable 1 = enable. allows the pci-to-pci br idge to accept cycles from pci. 1 memory space enable (mse) ?r/w. controls the response as a target for memory cycles targeting pci. 0 = disable 1 = enable 0 i/o space enable (iose)? r/w. controls the response as a target for i/o cycles targeting pci. 0 = disable 1 = enable bit description bit description 15 detected parity error (dpe)? r/wc. 0 = parity error not detected. 1 = indicates that the pch detect ed a parity error on the inte rnal backbone. this bit gets set even if the parity error response bit (d30:f0:04 bit 6) is not set.
pci-to-pci bridge registers (d30:f0) 438 datasheet 14 signaled system error (sse) ?r/wc. several internal an d external sources of the bridge can cause serr#. the first class of errors is parity e rrors related to the backbone. the pci bridge captures generic da ta parity errors (errors it finds on the backbone) as well as errors returned on backbone cycles wher e the bridge was the master. if either of these two conditions is met, and the primary side of the bridge is enabled for parity error response, serr# will be captured as shown below. as with the backbone, the pci bus captures the same sets of e rrors. the pci bridge captures generic data parity erro rs (errors it finds on pci) as well as errors returned on pci cycles where the bridge was the master. if either of these two conditions is met, and the secondary side of the bridge is enable d for parity error response, serr# will be captured as shown below. the final class of errors is system bus errors. there are three status bits associated with system bus errors, each with a corresponding enable. the diagram capturing this is shown below. after checking for the three above classes of errors, an serr# is generated, and psts.sse logs the generation of serr#, if cm d.see (d30:f0:04, bit 8) is set, as shown below. 13 received master abort (rma)? r/wc. 0 = no master abort received. 1 = set when the bridge receives a ma ster abort status from the backbone. 12 received target abort (rta) ?r/wc. 0 = no target abort received. 1 = set when the bridge receives a ta rget abort status from the backbone. bit description
datasheet 439 pci-to-pci bridge registers (d30:f0) 11.1.5 rid?revision identificati on register (pci-pci?d30:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 11.1.6 cc?class code register (pci-pci?d30:f0) offset address: 09h?0bh attribute: ro default value: 060401h size: 24 bits 11 signaled target abort (sta) ?r/wc. 0 = no signaled target abort 1 = set when the bridge generates a completion packet with target abort status on the backbone. 10:9 reserved 8 data parity error detected (dpd)? r/wc. 0 = data parity error not detected. 1 = set when the bridge receives a comp letion packet from the backbone from a previous request, and detects a parity error, and cmd. pere is set (d30:f0:04 bit 6). 7:5 reserved 4 capabilities list (clist) ?ro. hardwired to 1. capability list exist on the pci bridge. 3 interrupt status (is) ?ro. hardwired to 0. the pci bridge does not generate interrupts. 2:0 reserved bit description bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 23:16 base class code (bcc) ?ro. hardwired to 06h. indicates this is a bridge device. 15:8 sub class code (scc) ?ro. hardwired to 04h. indicates th is device is a pci-to-pci bridge. 7:0 programming interface (pi) ?ro. hardwired to 01h. indicates the bridge is subtractive decode
pci-to-pci bridge registers (d30:f0) 440 datasheet 11.1.7 pmlt?primary master latency timer register (pci-pci?d30:f0) offset address: 0dh attribute: ro default value: 00h size: 8 bits 11.1.8 headtyp?header type register (pci-pci?d30:f0) offset address: 0eh attribute: ro default value: 01h size: 8 bits 11.1.9 bnum?bus number re gister (pci-pci?d30:f0) offset address: 18h?1ah attribute: r/w default value: 000000h size: 24 bits bit description 7:3 master latency timer count (m ltc)?ro. reserved per the pci express* base specification, revision 1.0a . 2:0 reserved bit description 7 multi-function device (mfd) ?ro. a 0 indicates a single function device 6:0 header type (htype)? ro. this 7-bit field identifies the header layout of the configuration space, which is a pci-to-pci bridge in this case. bit description 23:16 subordinate bus number (sbbn) ?r/w. indicates the highest pci bus number below the bridge. 15:8 secondary bus number (scbn) ?r/w. indicates the bus number of pci. 7:0 primary bus number (pbn) ?r/w. this field is default to 00h. in a multiple-pch system, programmable pbn allows an pch to be located on any bus. system configuration software is responsible for in itializing these registers to appropriate values. pbn is not used by hardwa re in determinin g its bus number.
datasheet 441 pci-to-pci bridge registers (d30:f0) 11.1.10 smlt?secondary master latency timer register (pci-pci?d30:f0) offset address: 1bh attribute: r/w default value: 00h size: 8 bits this timer controls the amount of time the pch pci-to-pci bridge will burst data on its secondary interface. the counter starts co unting down from the assertion of frame#. if the grant is removed, then the expirati on of this counter will result in the de- assertion of frame#. if the grant has not been removed, then the pch pci-to-pci bridge may continue ownership of the bus. 11.1.11 iobase_limit?i/o ba se and limit register (pci-pci?d30:f0) offset address: 1ch?1dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 7:3 master latency timer count (mltc)? r/w. this 5-bit field indicates the number of pci clocks, in 8-clock increments, that the pch remains as master of the bus. 2:0 reserved bit description 15:12 i/o limit address limit bits [15:12]?r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11: 0 are assumed to be padded to fffh. 11:8 i/o limit address capability (iolc)? ro. indicates that the bridge does not support 32-bit i/o addressing. 7:4 i/o base address (ioba) ?r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bi ts 11:0 are assumed to be padded to 000h. 3:0 i/o base address capability (iobc) ?ro. indicates that the bridge does not support 32-bit i/o addressing.
pci-to-pci bridge registers (d30:f0) 442 datasheet 11.1.12 secsts?secondary status register (pci-pci?d30:f0) offset address: 1eh ? 1fh attribute: r/wc, ro default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ?r/wc. 0 = parity error not detected. 1 = pch pci bridge detected an address or data parity error on the pci bus 14 received system error ( rse)? r/wc. 0 = serr# assertion not received 1 = serr# assertion is received on pci. 13 received master abort (rma)? r/wc. 0 = no master abort. 1 = this bit is set whenever th e bridge is acting as an in itiator on the pci bus and the cycle is master-aborted. for processor/pch interface packets that have completion required, this must also ca use a target abort to be re turned and sets psts.sta. (d30:f0:06 bit 11) 12 received target abort (rta) ?r/wc. 0 = no target abort. 1 = this bit is set whenever the bridge is acting as an initiator on pci and a cycle is target-aborted on pci. for processor/pch interface packets that have completion required, this event must also cause a target abort to be returned, and sets psts.sta. (d30:f0:06 bit 11). 11 signaled target abort (sta)? r/wc. 0 = no target abort. 1 = this bit is set when the br idge is acting as a target on the pci bus and signals a target abort. 10:9 devsel# timing (devt) ? ro. 01h = medium decode timing. 8 data parity error detected (dpd) ?r/wc. 0 = conditions de scribed below not met. 1 = the pch sets this bit when all of the following three conditions are met: ? the bridge is the initiator on pci. ? perr# is detected asserted or a parity error is detected internally ? bctrl.pere (d30:f0:3e bit 0) is set. 7 fast back to back capable (fbc)?ro. hardwi red to 1 to indicate that the pci to pci target logic is capable of rece iving fast back-to-back cycles. 6 reserved 5 66 mhz capable (66mhz_cap)?ro. hardwired to 0. this bridge is 33 mhz capable only. 4:0 reserved
datasheet 443 pci-to-pci bridge registers (d30:f0) 11.1.13 membase_limit?memory base and limit register (pci-pci?d30:f0) offset address: 20h?23h attribute: r/w default value: 00000000h size: 32 bits this register defines the base and limit, aligned to a 1-mb boundary, of the non- prefetchable memory area of the bridge. a ccesses that are within the ranges specified in this register will be sent to pci if cmd. mse is set. accesses from pci that are outside the ranges specified will be accepted by the bridge if cmd.bme is set. 11.1.14 pref_mem_base_limit?prefetchable memory base and limit register (pci-pci?d30:f0) offset address: 24h?27h attribute: r/w, ro default value: 00010001h size: 32-bit defines the base and limit, aligned to a 1- mb boundary, of the prefetchable memory area of the bridge. accesses that are within th e ranges specified in this register will be sent to pci if cmd.mse is set. accesses from pci that are outside the ranges specified will be accepted by the bridge if cmd.bme is set. bit description 31:20 memory limit (ml) ?r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1-mb alig ned value (exclusive) of the range. the incoming address must be less than this value. 19:16 reserved 15:4 memory base (mb) ?r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1-mb alig ned value (inclusive) of the range. the incoming address must be greate r than or equal to this value. 3:0 reserved bit description 31:20 prefetchable memory limit (pml)? r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1-mb aligned value (exclusive) of the range. the incoming address mu st be less than this value. 19:16 64-bit indicator (i64l) ? ro. indicates support fo r 64-bit addressing. 15:4 prefetchable memory base (pmb)? r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1-mb aligned value (inclusive) of the range. the incoming address must be greater than or equal to this value. 3:0 64-bit indicator (i64b) ? ro. indicates support for 64-bit addressing.
pci-to-pci bridge registers (d30:f0) 444 datasheet 11.1.15 pmbu32?prefetchable memory base upper 32 bits register (pci-pci?d30:f0) offset address: 28h?2bh attribute: r/w default value: 00000000h size: 32 bits 11.1.16 pmlu32?prefetchable memory limit upper 32 bits register (pci-pci?d30:f0) offset address: 2c?2fh attribute: r/w default value: 00000000h size: 32 bits 11.1.17 capp?capability list poin ter register (pci-pci?d30:f0) offset address: 34h attribute: ro default value: 50h size: 8 bits 11.1.18 intr?interrupt informat ion register (pci-pci?d30:f0) offset address: 3ch ? 3dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 31:0 prefetchable memory base upper portion (pmbu) ?r/w. upper 32-bits of the prefetchable address base. bit description 31:0 prefetchable memory limit upper portion (pmlu) ?r/w. upper 32-bits of the prefetchable address limit. bit description 7:0 capabilities pointer (ptr)? ro. indicates that the pointe r for the first entry in the capabilities list is at 50h in configuration space. bit description 15:8 interrupt pin (ipin)? ro. the pci bridge does not assert an interrupt. 7:0 interrupt line (iline) ?r/w. software written value to indicate which interrupt line (vector) the interrupt is conn ected to. no hardware action is taken on this register. since the bridge does not gene rate an interrupt, bios should program this value to ffh as per the pci bri dge specification.
datasheet 445 pci-to-pci bridge registers (d30:f0) 11.1.19 bctrl?bridge control register (pci-pci?d30:f0) offset address: 3eh ? 3fh attribute: r/wc, ro, r/w default value: 0000h size: 16 bits bit description 15:12 reserved 11 discard timer serr# enable (dte )?r/w. controls the generation of serr# on the primary interface in response to the dts bit being set: 0 = do not generate serr# on a secondary timer discard 1 = generate serr# in response to a secondary timer discard 10 discard timer status (dts)? r/wc. this bit is set to 1 when the secondary discard timer (see the sdt bit below) expires for a delayed transaction in the hard state. 9 secondary discard timer (sdt) ?r/w. this bit sets the maximum number of pci clock cycles that the pch waits for an initia tor on pci to repeat a delayed transaction request. the counter starts once the delayed transaction data is has been returned by the system and is in a buffer in the pch pci bridge. if the master has not repeated the transaction at least once before the counter expires, the pch pci bridge discards the transaction from its queue. 0 = the pci master timeout value is between 2 15 and 2 16 pci clocks 1 = the pci master timeout value is between 2 10 and 2 11 pci clocks 8 primary discard timer (pdt )?r/w. this bit is r/w for software compatibility only. 7 fast back to back enable (fbe)?ro. hardwi red to 0. the pci logi c will not generate fast back-to-back cycles on the pci bus. 6 secondary bus reset (sbr)? r/w. controls pcirst# assertion on pci. 0 = bridge de-asserts pcirst# 1 = bridge asserts pcirst#. when pcirst # is asserted, the delayed transaction buffers, posting buffers, and the pci bus ar e initialized back to reset conditions. the rest of the part and the config uration registers are not affected. 5 master abort mode (mam )?r/w. controls the pch pci bridge?s behavior when a master abort occurs: master abort on processor /pch interconnect (dmi): 0 = bridge asserts trdy# on pci. it drives all 1s for read s, and discards data on writes. 1 = bridge returns a target abort on pci. master abort pci (non-locked cycles): 0 = normal completion status will be retu rned on the processo r/pch interconnect. 1 = target abort completion st atus will be returned on th e processor/pch interconnect. note: all locked reads will return a comple ter abort completion status on the processor/pch interconnect. 4 vga 16-bit decode (v16d)? r/w. enables the pch pci bridge to provide 16-bits decoding of vga i/o address precluding the decode of vga alias addresses every 1 kb. this bit requires the vgae bi t in this register be set.
pci-to-pci bridge registers (d30:f0) 446 datasheet 3 vga enable (vgae) ?r/w. when set to a 1, the pch pci bridge forwards the following transactions to pci regardless of th e value of the i/o base and limit registers. the transactions are qualified by cm d.mse (d30:f0:04 bit 1) and cmd.iose (d30:f0:04 bit 0) being set. ? memory addresses: 000a0000h?000bffffh ? i/o addresses: 3b0h?3bbh an d 3c0h?3dfh. for the i/o a ddresses, bits [63:16] of the address must be 0, an d bits [15:10] of the address are ignored (that is, aliased). the same holds true from secondary accesses to the primary interface in reverse. that is, when the bit is 0, memory and i/o a ddresses on the second ary interface between the above ranges will be claimed. 2 isa enable (ie) ?r/w. this bit only applies to i/o addresses that are enabled by the i/o base and i/o limit registers and are in the fi rst 64 kb of pci i/o space. if this bit is set, the pch pci bridge will block any forwarding from primary to secondary of i/o transactions addressing the last 768 bytes in each 1-kb block (o ffsets 100h to 3ffh). 1 serr# enable (see)? r/w. controls the forwarding of secondary interface serr# assertions on the primary interface. when se t, the pci bridge will forward serr# pin. ? serr# is asserted on the secondary interface. ? this bit is set. ? cmd.see (d30:f0:04 bit 8) is set. 0 parity error response enable (pere)?r/w. 0 = disable 1 = the pch pci bridge is enabled for parity error reporting based on parity errors on the pci bus. bit description
datasheet 447 pci-to-pci bridge registers (d30:f0) 11.1.20 spdh?secondary pci device hiding register (pci-pci?d30:f0) offset address: 40h?41h attribute: r/w, ro default value: 0000h size: 16 bits this register allows software to hide the pci devices, either plugged into slots or on the motherboard. 11.1.21 dtc?delayed transa ction control register (pci-pci?d30:f0) offset address: 44h ? 47h attribute: r/w default value: 00000000h size: 32 bits bit description 15:4 reserved 3 hide device 3 (hd3) ?r/w, ro. same as bit 0 of this register, except for device 3 (ad[19]) 2 hide device 2 (hd2)? r/w, ro. same as bit 0 of this register, except for device 2 (ad[18]) 1 hide device 1 (hd1) ?r/w, ro. same as bit 0 of this register, except for device 1 (ad[17]) 0 hide device 0 (hd0)? r/w, ro. 0 = the pci configuration cycles for this slot are not affected. 1 = the pch hides device 0 on the pci bu s. this is done by masking the idsel (keeping it low) for configuration cycles to that device. since the device will not see its idsel go active, it will not respond to pci configuration cycles and the processor will think the device is not present. ad[16] is used as idsel for device 0. bit description 31 discard delayed transactions (ddt)? r/w. 0 = logged delayed transactions are kept. 1 = the pch pci bridge will discard any de layed transactions it has logged. this includes transactions in th e pending queue, and any transactions in the active queue, whether in the hard or soft dt st ate. the prefetchers will be disabled and return to an idle state. notes: if a transaction is running on pci at the time this bit is set, that transaction will continue until either the pci master di sconnects (by de-asserting frame#) or the pci bridge disconnects (by asserting stop#). this bit is cleared by the pci bridge when the delayed transaction queu es are empty and have returned to an idle state. software sets this bit and polls for its completion 30 block delayed transactions (bdt) ?r/w. 0 = delayed transactions accepted 1 = the pch pci bridge will not accept incoming transactions which will result in delayed transactions. it will blindly retr y these cycles by asserting stop#. all postable cycles (memory writes) will still be accepted. 29:8 reserved
pci-to-pci bridge registers (d30:f0) 448 datasheet 7:6 maximum delayed transactions (mdt) ?r/w. controls the maximum number of delayed transactions that the pch pc i bridge will run. encodings are: 00 =) 2 active, 5 pending 01 =) 2 active, no pending 10 =) 1 active, no pending 11 =) reserved 5 reserved 4 auto flush after disco nnect enable (afade) ?r/w. 0 = the pci bridge will retain any fetched data until requir ed to discard by producer/ consumer rules. 1 = the pci bridge will flush any prefetched data after either the pci master (by de- asserting frame#) or the pci bridge (b y asserting stop#) disconnects the pci transfer. 3 never prefetch (np) ?r/w. 0 = prefetch enabled 1 = the pch will only fetch a single dw and will not enable prefet ching, regardless of the command being an memory read (mr), memory read line (mrl), or memory read multiple (mrm). 2 memory read multiple prefetch disable (mrmpd)? r/w. 0 = mrm commands will fetch multiple ca che lines as defined by the prefetch algorithm. 1 = memory read multiple (mrm) commands wi ll fetch only up to a single, 64-byte aligned cache line. 1 memory read line prefetch disable (mrlpd)? r/w. 0 = mrl commands will fetch multiple cache lines as defined by the prefetch algorithm. 1 = memory read line (mrl) commands will fe tch only up to a single, 64-byte aligned cache line. 0 memory read prefetch disable (mrpd)? r/w. 0 = mr commands will fetch up to a 64-byte aligned cache line. 1 = memory read (mr) commands will fetch only a single dw. bit description
datasheet 449 pci-to-pci bridge registers (d30:f0) 11.1.22 bps?bridge proprietary status register (pci-pci?d30:f0) offset address: 48h ? 4bh attribute: r/wc, ro default value: 00000000h size: 32 bits bit description 31:17 reserved 16 perr# assertion detected (pad) ?r/wc. this bit is set by hardware whenever the perr# pin is asserted on the ri sing edge of pci clock. this includes cases in which the chipset is the agent driving perr#. it re mains asserted until cleared by software writing a 1 to this location. when enabled by the perr#-to-serr# enable bit (in the bridge policy configuration register), a 1 in this bit can generate an internal serr# and be a source for the nmi logic. this bit can be used by software to de termine the source of a system problem. 15:7 reserved 6:4 number of pending transactions (npt)? ro. this read-only indicator tells debug software how many transactions are in the pending queue. po ssible values are: 000 = no pending transaction 001 = 1 pending transaction 010 = 2 pending transactions 011 = 3 pending transactions 100 = 4 pending transactions 101 = 5 pending transactions 110?111 = reserved note: this field is not valid if dtc.mdt (offset 44h:bits 7:6) is any value other than ?00?. 3:2 reserved 1:0 number of active transactions (nat)? ro. this read-only in dicator tells debug software how many transactions are in the active queue. possible values are: 00 = no active transactions 01 = 1 active transaction 10 = 2 active transactions 11 = reserved
pci-to-pci bridge registers (d30:f0) 450 datasheet 11.1.23 bpc?bridge policy configuration register (pci-pci?d30:f0) offset address: 4ch ? 4fh attribute: r/w default value: 00001200h size: 32 bits bit description 31:14 reserved 13:8 upstream read latency threshold (urlt) ?r/w: this field specifies the number of pci clocks after internally en queuing an upstream memory read request at which point the pci target logic should insert wait stat es to optimize lead-off latency. when the master returns after this th reshold has been reached and data has not arrived in the delayed transaction completion queue, then th e pci target logic will insert wait states instead of immediately retrying the cycle. the pci target logic will insert up to 16 clocks of target initial latency (from frame# asse rtion to trdy# or stop # assertion) before retrying the pci read cycle (if th e read data has not arrived yet). note that the starting event for this read latency timer is not explicitly visible externally. a value of 0h disables this policy completely such that wait states will never be inserted on the read lead-off data phase. the default value (12h) specifies 18 pci clocks (540 ns) and is a pproximately 4 clocks less than the typical idle lead-off latency ex pected for desktop pch systems. this value may need to be changed by bi os, depending on the platform. 7 subtractive decode policy (sdp) ?r/w. 0 = the pci bridge always forwards memory and i/o cycles that ar e not claimed by any other device on the backbone (primary interface) to the pci bus (secondary interface). 1 = the pci bridge will not cl aim and forward memory or i/ o cycles at all unless the corresponding space enable bit is set in the command register. note: the boot bios destination selection strap can force the bios accesses to pci. 6 perr#-to-serr# enable (pse) ?r/w. when this bit is set, a 1 in the perr# assertion status bit (in the bri dge proprietary status register) will result in an internal serr# assertion on the primary side of th e bridge (if also en abled by the serr# enable bit in the primary command re gister). serr# is a source of nmi. 5 secondary discard timer testmode (sdtt)? r/w. 0 = the secondary discard timer expiration will be defined in bctrl.sdt (d30:f0:3e, bit 9) 1 = the secondary discard timer will expire after 128 pci clocks. 4:3 reserved cmd.mse bpc.sdp range forwarding policy 00don?t care forward unclaimed cycles 0 1 don?t care forwarding prohibited 1xwithin range positive decode and forward 1xoutside subtractive decode & forward
datasheet 451 pci-to-pci bridge registers (d30:f0) 11.1.24 svcap?subsystem vend or capability register (pci-pci?d30:f0) offset address: 50h ? 51h attribute: ro default value: 000dh size: 16 bits 11.1.25 svid?subsystem vendor ids register (pci-pci?d30:f0) offset address: 54h ? 57h attribute: r/wo default value: 00000000h size: 32 bits 2 peer decode enable (pde)? r/w. 0 = the pci bridge assumes that all memory cycles target main memory, and all i/o cycles are not claimed. 1 = the pci bridge will perform peer decode on any memory or i/o cycle from pci that falls outside of the memory and i/o window registers 1 reserved 0 received target abort serr# enable (rtae) ?r/w. when set, th e pci bridge will report serr# when psts.rta (d30:f0:06 bit 12) or ssts.rta (d30:f0:1e bit 12) are set, and cmd.see (d30:f0:04 bit 8) is set. bit description bit description 15:8 next capability (next)? ro. value of 00h indicates this is the last item in the list. 7:0 capability identifier (cid)? ro. value of 0dh indicates this is a pci bridge subsystem vendor capability. bit description 31:16 subsystem identifier (sid)? r/wo. indicates the subsystem as identified by the vendor. this field is write once and is locked down until a bridge reset occurs (not the pci bus reset). 15:0 subsystem vendor identifier (svid)? r/wo. indicates the manufacturer of the subsystem. this field is write once and is locked down unti l a bridge reset occurs (not the pci bus reset).
pci-to-pci bridge registers (d30:f0) 452 datasheet
datasheet 453 gigabit lan configuration registers 12 gigabit lan configuration registers 12.1 gigabit lan configuration registers (gigabit lan?d25:f0) note: register address locations that are not shown in ta b l e 12-1 should be treated as reserved. / table 12-1. gigabit lan configuration registers address map (gigabit lan?d25:f0) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h r/wc, ro 08h rid revision identification see register description ro 09h?0bh cc class code 020000h ro 0ch cls cache line size 00h r/w 0dh plt primary latency timer 00h ro 0eh headtyp header type 00h ro 10h?13h mbara memory base address a 00000000h r/w, ro 14h?17h mbarb memory base address b 00000000h r/w, ro 18h?1bh mbarc memory base address c 00000001h r/w, ro 2ch?2dh sid subsystem id see register description ro 2eh?2fh svid subsystem vendor id see register description ro 30h?33h erba expansion rom base address see register description ro 34h capp capabilities list pointer c8h ro 3ch?3dh intr interrupt information see register description r/w, ro 3eh mlmg maximum latency/minimum grant 00h ro c8h?c9h clist1 capabilities list 1 d001h ro cah?cbh pmc pci power ma nagement capability see register description ro cch?cdh pmcs pci power management control and status see register description r/wc, r/w, ro
gigabit lan configuration registers 454 datasheet 12.1.1 vid?vendor identi fication register (gigabit lan?d25:f0) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 12.1.2 did?device identi fication register (gigabit lan?d25:f0) address offset: 02h?03h attribute: ro default value: see bit description size: 16 bits cfh dr data register see register description ro d0h?d1h clist2 capabilities list 2 e005h r/wo, ro d2h?d3h mctl message control 0080h r/w, ro d4h?d7h maddl message address low see register description r/w d8h?dbh maddh message address high see register description r/w dch?ddh mdat message data see register description r/w e0h?e1h flrcap function level reset capability 0009h ro e2h?e3h flrclv function level re set capability length and value see register description r/wo, ro e4h?e5h devctrl device control 0000h r/w, ro table 12-1. gigabit lan config uration registers address map (gigabit lan?d25:f0) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id? ro. this is a 16-bit value assigned to intel. the field may be auto-loaded from the nvm at address 0eh during init ti me depending on the "load vendor/device id" bit field in nvm word 0ah with a default value of 8086h. bit description 15:0 device id ?ro. this is a 16-bit value assigned to the pch gigabit lan controller. the field may be auto-loaded from the nvm word 0dh during initialization time depending on the "load vendor/device id" bit field in nvm word 0ah.
datasheet 455 gigabit lan configuration registers 12.1.3 pcicmd?pci command register (gigabit lan?d25:f0) address offset: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable ?r/w. this disables pin-based intx# interrupts on enabled hot- plug and power management events. this bit has no e ffect on msi operation. 0 = internal intx# messages are generated if there is an interrupt for hot-plug or power management and msi is not enabled. 1 = internal intx# messages will not be generated. this bit does not affect inte rrupt forwarding from devices connected to the root port. assert_intx and deassert_intx messages wi ll still be forwarded to the internal interrupt controllers if this bit is set. 9 fast back to back enable (fbe)?ro. hardwired to 0. 8 serr# enable (see) ?r/w. 0 = disable 1 = enables the gb lan controller to gene rate an serr# message when psts.sse is set. 7 wait cycle control (wcc) ? ro. hardwired to 0. 6 parity error response (per) ?r/w. 0 = disable. 1 = indicates that the device is capable of reporting pa rity errors as a master on the backbone. 5 palette snoop enable (pse)?ro. hardwired to 0. 4 postable memory write enable (pmwe)?ro. hardwired to 0. 3 special cycle enable (sce) ? ro. hardwired to 0. 2 bus master enable (bme) ?r/w. 0 = disable. all cycles from the device are master aborted 1 = enable. allows the root port to forwar d cycles onto the backbone from a gigabit lan* device. 1 memory space enable (mse) ?r/w. 0 = disable. memory cycles within the rang e specified by the memory base and limit registers are master aborted on the backbone. 1 = enable. allows memory cycles within th e range specified by the memory base and limit registers can be forwarde d to the gigabi t lan device. 0 i/o space enable (iose) ?r/w. this bit controls access to the i/o space registers. 0 = disable. i/o cycles within the range spec ified by the i/o base and limit registers are master aborted on the backbone. 1 = enable. allows i/o cycles within the range specified by the i/o base and limit registers can be forwarded to the gigabit lan device.
gigabit lan configuration registers 456 datasheet 12.1.4 pcists?pci status register (gigabit lan?d25:f0) address offset: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits bit description 15 detected parity error (dpe)? r/wc. 0 = no parity error detected. 1 = set when the gb lan controller receiv es a command or data from the backbone with a parity error. this is set even if pcimd.per (d25:f0, bit 6) is not set. 14 signaled system error (sse)? r/wc. 0 = no system error signaled. 1 = set when the gb lan controller signals a system error to the internal serr# logic. 13 received master abort (rma)? r/wc. 0 = root port has not received a completion with unsupported re quest status from the backbone. 1 = set when the gbe lan controller receiv es a completion with unsupported request status from the backbone. 12 received target abort (rta)? r/wc. 0 = root port has not received a completion with completer abort from the backbone. 1 = set when the gb lan controller receiv es a completion with completer abort from the backbone. 11 signaled target abort (sta)? r/wc. 0 = no target abort received. 1 = set whenever the gb lan controller fo rwards a target abort received from the downstream device onto the backbone. 10:9 devsel# timing status (dev_sts) ? ro. hardwired to ?0?. 8 master data parity error detected (dped) ?r/wc. 0 = no data parity error received. 1 = set when the gb lan controller receives a completion with a data parity error on the backbone and pcimd.per (d25:f0, bit 6) is set. 7 fast back to back capable (fb2bc)?ro. hardwired to ?0?. 6reserved 5 66 mhz capable?ro. hardwired to 0. 4 capabilities list?ro. hardwired to 1. indi cates the presence of a capabilities list. 3 interrupt status ? ro. indicates status of hot-plug and power management interrupts on the root port that result in intx# message generation. 0 = interrupt is de-asserted. 1 = interrupt is asserted. this bit is not set if msi is enabled. if msi is not enabled, this bit is set regardless of the state of pcicmd.interrupt disable bit (d25:f0:04h:bit 10). 2:0 reserved
datasheet 457 gigabit lan configuration registers 12.1.5 rid?revision identification register (gigabit lan?d25:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 12.1.6 cc?class code register (gigabit lan?d25:f0) address offset: 09h ? 0bh attribute: ro default value: 020000h size: 24 bits 12.1.7 cls?cache line size register (gigabit lan?d25:f0) address offset: 0ch attribute: r/w default value: 00h size: 8 bits 12.1.8 plt?primary late ncy timer register (gigabit lan?d25:f0) address offset: 0dh attribute: ro default value: 00h size: 8 bits 12.1.9 ht?header type register (gigabit lan?d25:f0) address offset: 0eh attribute: ro default value: 00h size: 8 bits bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 23:0 class code ?ro. identifies the device as an ethernet adapter. 020000h = ethernet adapter. bit description 7:0 cache line size ?r/w. this field is impl emented by pci devices as a read write field for legacy compatibility purposes but has no impact on any de vice functionality. bit description 7:0 latency timer (lt) ?ro. hardwired to 0. bit description 7:0 header type (ht) ?ro. 00h = indicates this is a single function device.
gigabit lan configuration registers 458 datasheet 12.1.10 mbara?memory base address register a (gigabit lan?d25:f0) address offset: 10h ? 13h attribute: r/w, ro default value: 00000000h size: 32 bits the internal csr registers and memories are accessed as direct memory mapped offsets from the base address register. sw may only access whole dword at a time. 12.1.11 mbarb?memory base address register b (gigabit lan?d25:f0) address offset: 14h ? 17h attribute: r/w, ro default value: 00000000h size: 32 bits the internal registers that are used to access the lan space in the external flash device. access to these registers are direct memory mapped offsets from the base address register. software may only access a dword at a time. bit description 31:17 base address (ba)?r/w . software programs this field with the base a ddress of this region. 16:4 memory size (msize)?r/w . memory size is 128 kb. 3 prefetchable memory (pm)? ro. the gbe lan controller does not implement prefetchable memory. 2:1 memory type (mt) ?ro. set to 00b indicating a 32 bit bar. 0 memory / io space (mios) ?ro. set to 0 indicating a memory space bar. bit description 31:12 base address (ba)?r/w . software programs this field with the base a ddress of this region. 11:4 memory size (msize)?r/w . memory size is 4 kb. 3 prefetchable memory (pm) ?ro. the gb lan controller does not implement prefetchable memory. 2:1 memory type (mt) ?ro. set to 00b indicating a 32 bit bar. 0 memory / io space (mios) ?ro. set to 0 indicating a memory space bar.
datasheet 459 gigabit lan configuration registers 12.1.12 mbarc?memory base address register c (gigabit lan?d25:f0) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000001h size: 32 bits internal registers, and memories, can be accessed using i/o operations. there are two 4b registers in the i/o mapping window: a ddr reg and data reg. software may only access a dword at a time. 12.1.13 svid?subsystem vendor id register (gigabit lan?d25:f0) address offset: 2ch ? 2dh attribute: ro default value: see bit description size: 16 bits 12.1.14 sid?subsys tem id register (gigabit lan?d25:f0) address offset: 2eh ? 2fh attribute: ro default value: see bit description size: 16 bits 12.1.15 erba?expansion ro m base address register (gigabit lan?d25:f0) address offset: 30h ? 33h attribute: ro default value: see bit description size: 32 bits bit description 31:5 base address (ba)?r/w . software programs this field with the base address of this region. 4:1 i/o size (iosize)? ro. i/o space size is 32 bytes. 0 memory / i/o space (mios)? ro. set to 1 indicating an i/o space bar. bit description 15:0 subsystem vendor id (svid)? ro. this value may be loaded automatically from the nvm word 0ch upon power up depending on the "load subsystem id" bit field in nvm word 0ah. a value of 8086h is default fo r this field upon power up if the nvm does not respond or is not programmed. all func tions are initialized to the same value. bit description 15:0 subsystem id (sid) ?ro. this value may be loaded automatically from the nvm word 0bh upon power up or reset dependin g on the ?load subsystem id? bit field in nvm word 0ah with a default value of 0000h. this value is loadable from nvm word location 0ah. bit description 31:0 expansion rom base address (erba)? ro. this register is used to define the address and size information for boot-time ac cess to the optional flash memory. if no flash memory exists, this register reports 00000000h.
gigabit lan configuration registers 460 datasheet 12.1.16 capp?capabilities list pointer register (gigabit lan?d25:f0) address offset: 34h attribute: r0 default value: c8h size: 8 bits 12.1.17 intr?interrupt information register (gigabit lan?d25:f0) address offset: 3ch?3dh attribute: r/w, ro default value: 0100h size: 16 bits function level reset: no 12.1.18 mlmg?maximum latenc y/minimum grant register (gigabit lan?d25:f0) address offset: 3eh attribute: ro default value: 00h size: 8 bits 12.1.19 clist 1?capabilities list register 1 (gigabit lan?d25:f0) address offset: c8h?c9h attribute: ro default value: d001h size: 16 bits bit description 7:0 capabilities pointer (ptr)? ro. indicates that the pointer for the first entry in the capabilities list is at c8h in configuration space. bit description 15:8 interrupt pin (ipin)? ro. indicates the interrupt pin driven by the gbe lan controller. 01h = the gbe lan controller implem ents legacy interrupts on inta. 7:0 interrupt line (iline)? r/w. default = 00h. software wr itten value to indicate which interrupt line (vector) the inte rrupt is connected to. no hardwa re action is taken on this register. bit description 7:0 maximum latency/minimum grant (mlmg)?ro. not used. hardwired to 00h. bit description 15:8 next capability (next)? ro. value of d0h indicates the location of the next pointer. 7:0 capability id (cid)? ro. indicates the linked list item is a pci power management register.
datasheet 461 gigabit lan configuration registers 12.1.20 pmc?pci power manageme nt capabilities register (gigabit lan?d25:f0) address offset: cah ? cbh attribute: ro default value: see bit descriptions size: 16 bits function level reset: no (bits 15:11 only) bit description 15:11 pme_support (pmes) ?ro. this five-bit field indicate s the power states in which the function may assert pm e#. it depend on pm ena and au x-pwr bits in word 0ah in the nvm: these bits are not reset by function level reset. 10 d2_support (d2s) ?ro. the d2 state is not supported. 9 d1_support (d1s)? ro. the d1 state is not supported. 8:6 aux_current (ac) ?ro. required current defi ned in the data register. 5 device specific initialization (dsi) ?ro. set to 1. the gbe lan controller requires its device driver to be executed following transition to the d0 un-initialized state. 4 reserved 3 pme clock (pmec)?ro. hardwired to 0. 2:0 version (vs) ?ro. hardwired to 010b to indicate support for revision 1.1 of the pci power management specification . condition function value pm ena=0 no pme at all states 0000b pm ena & aux-pwr=0 pme at d0 and d3hot 01001b pm ena & aux-pwr=1 pme at d0, d3hot and d3cold 11001b
gigabit lan configuration registers 462 datasheet 12.1.21 pmcs?pci power mana gement control and status register (gigabit lan?d25:f0) address offset: cch ? cdh attribute: r/wc, r/w, ro default value: see bit description size: 16 bits function level reset: no (bit 8 only) bit description 15 pme status (pmes)? r/wc. this bit is set to 1 when the function de tects a wake-up event independent of the state of the pmee bit. writing a 1 will clear this bit. 14:13 data scale (dsc)? r/w. this field indicates the sc aling factor to be used when interpreting the value of the data register. for the gbe lan and common functions this fi eld equals 01b (indicating 0.1 watt units) if the pm is enabled in the nvm, and the data_s elect field is set to 0, 3, 4, 7, (or 8 for function 0). else it equals 00b. for the manageability functions this field eq uals 10b (indicating 0.01 watt units) if the pm is enabled in the nvm, and the data_select fi eld is set to 0, 3, 4, 7. else it equals 00b. 12:9 data select (dsl)? r/w. this four-bit field is used to select which data is to be reported through the data register (offset cfh) and data_scale fi eld. these bits are writeable only when the power ma nagement is enabled using nvm. 0h = d0 power consumption 3h = d3 power consumption 4h = d0 power dissipation 7h = d3 power dissipation 8h = common power all other values are reserved. 8 pme enable (pmee)? r/w. if power management is enabled in the nvm, writing a 1 to this register will enable wakeup. if power ma nagement is disabled in the nvm, writing a 1 to this bit has no affect, and will not set th e bit to 1. this bit is not reset by function level reset. 7:4 reserved - returns a value of 0000. 3 no soft reset (nsr)? ro. defines if the device exec uted internal reset on the transition to d0. the lan controller always reports 0 in this field. 2 reserved - returns a value of 0b. 1:0 power state (ps)? r/w. this field is used both to determine the current power state of the gbe lan controller and to se t a new power state. the values are: 00 = d0 state (default) 01 = ignored 10 = ignored 11 = d3 state (power management must be enables in the nvm or this cycle will be ignored).
datasheet 463 gigabit lan configuration registers 12.1.22 dr?data register (gigabit lan?d25:f0) address offset: cfh attribute: ro default value: see bit description size: 8 bits 12.1.23 clist 2?capabiliti es list register 2 (gigabit lan?d25:f0) address offset: d0h?d1h attribute: r/wo, ro default value: e005h size: 16 bits function level reset: no (bits 15:8 only) 12.1.24 mctl?message control register (gigabit lan?d25:f0) address offset: d2h?d3h attribute: r/w, ro default value: 0080h size: 16 bits bit description 7:0 reported data (rd) ?ro. this register is used to report power cons umption and heat dissipation. this register is controlled by the data_select field in the pmcs (offset cch, bits 12:9), and the power scal e is reported in the data_sca le field in the pmcs (offset cch, bits 14:13). the data of this field is loaded from the nvm if pm is enabled in the nvm or with a default value of 00h otherwise. bit description 15:8 next capability (next)? r/wo. value of e0h points to the function level reset capability structure. these bits are not reset by function level reset. 7:0 capability id (cid)? ro. indicates the linked list item is a message signaled interrupt register. bit description 15:8 reserved 7 64-bit capable (cid)? ro. set to 1 to indicate that the gbe lan controller is capable of generating 64-bit message addresses. 6:4 multiple message enable (mme)? ro. returns 000b to indicate that the gbe lan controller only supports a single message. 3:1 multiple message capable (mmc)? ro. the gbe lan controller does not support multiple messages. 0 msi enable (msie)? r/w. 0 = msi generation is disabled. 1 = the gb lan controller will generate ms i for interrupt assertion instead of intx signaling.
gigabit lan configuration registers 464 datasheet 12.1.25 maddl?message address low register (gigabit lan?d25:f0) address offset: d4h?d7h attribute: r/w default value: see bit description size: 32 bits 12.1.26 maddh?message address high register (gigabit lan?d25:f0) address offset: d8h?dbh attribute: r/w default value: see bit description size: 32 bits 12.1.27 mdat?message data register (gigabit lan?d25:f0) address offset: dch?ddh attribute: r/w default value: see bit description size: 16 bits 12.1.28 flrcap?function level reset capability (gigabit lan?d25:f0) address offset: e0h?e1h attribute: ro default value: 0009h size: 16 bits bit description 31:0 message addre ss low (maddl)? r/w. written by the system to indicate the lower 32 bits of the address to use for the msi memory write transaction. the lower two bits will always return 0 regardless of the write operation. bit description 31:0 message address high (maddh)? r/w. written by the system to indicate the upper 32 bits of the address to use for the msi memory write transaction. bit description 31:0 message data (mdat)? r/w. written by the system to indicate the lower 16 bits of the data written in the msi memory write dw ord transaction. the upper 16 bits of the transaction are written as 0000h. bit description 15:8 next pointer? ro. this field provides an offset to the next capability item in the capability list. the value of 00h in dicates the last item in the list. 7:0 capability id? ro. the value of this field depends on the flrcssel bit. 13h = if flrcssel = 0 09h = if flrcssel = 1, indicating vendor specific capability.
datasheet 465 gigabit lan configuration registers 12.1.29 flrclv?function level re set capability length and version (gigabit lan?d25:f0) address offset: e2h?e3h attribute: r/wo, ro default value: see description. size: 16 bits function level reset: no (bit s 9:8 only when flrcssel = 0) when flrcssel = 0, this register is defined as follows: when flrcssel = 1, this register is defined as follows: 12.1.30 devctrl?device control (gigabit lan?d25:f0) address offset: e4?e5h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:10 reserved 9 function level reset capability? r/wo. 1 = support for function level reset. this bit is not reset by function level reset. 8 txp capability? r/wo. 1 = indicates support for the tr ansactions pending (txp) bit. txp must be supported if flr is supported. 7:0 capability length? ro. the value of this field indicates the number of bytes of the vendor specific capability as require by th e pci spec. it has the value of 06h for the function level reset capability. bit description 15:12 vendor specific capability id? ro. a value of 2h in this field identifies this capability as function level reset. 11:8 capability version ?ro. the value of this field indicates the version of the function level reset capability. default is 0h. 7:0 capability length? ro. the value of this field indicates the number of bytes of the vendor specific capability as require by th e pci spec. it has the value of 06h for the function level reset capability. bit description 15:9 reserved 8 transactions pending (txp)? r/w. 1 = indicates the controller has issued non-posted requests which have not been completed. 0 = indicates that completions for all no n-posted requests have been received. 7:1 reserved 0 initiate function level reset? ro. this bit is used to initiate an flt transition. a write of 1 initiates the transition. since hardware must not respond to any cycles until function level reset completion, the valu e read by software from this bit is 0.
gigabit lan configuration registers 466 datasheet
datasheet 467 lpc interface bridge registers (d31:f0) 13 lpc interface bridge registers (d31:f0) the lpc bridge function of the pch resides in pci device 31:function 0. this function contains many other functional units, such as dma and interrupt controllers, timers, power management, system management , gpio, rtc, and lpc configuration registers. registers and functions associated with other functional units are described in their respective sections. 13.1 pci configuration registers (lpc i/f?d31:f0) note: address locations that are not shown should be treated as reserved. . table 13-1. lpc interface pci register address map (lpc i/f?d31:f0) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0007h r/w, ro 06h?07h pcists pci status 0210h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 00h ro 0ah scc sub class code 01h ro 0bh bcc base class code 06h ro 0dh plt primary latency timer 00h ro 0eh headtyp header type 80h ro 2ch?2fh ss sub system identifiers 00000000h r/wo 34h capp capability list pointer e0h ro 40h?43h pmbase acpi base address 00000001h r/w, ro 44h acpi_cntl acpi control 00h r/w 48h?4bh gpiobase gpio base address 00000001h r/w, ro 4c gc gpio control 00h r/w 60h?63h pirq[ n ]_rout pirq[a?d] routing control 80808080h r/w 64h sirq_cntl serial irq control 10h r/w, ro 68h?6bh pirq[ n ]_rout pirq[e?h] routing control 80808080h r/w 6ch?6dh lpc_ibdf ioxapic bus:device:function 00f8h r/w 70h?7f hpet configuration 80h lpc_i/o_dec i/o decode ranges 0000h r/w
lpc interface bridge registers (d31:f0) 468 datasheet 13.1.1 vid?vendor identification register (lpc i/f?d31:f0) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16-bit lockable: no power well: core 13.1.2 did?device identification register (lpc i/f?d31:f0) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16-bit lockable: no power well: core 82h?83h lpc_en lpc i/f enables 0000h r/w 84h?87h gen1_dec lpc i/f generic decode range 1 00000000h r/w 88h?8bh gen2_dec lpc i/f generic decode range 2 00000000h r/w 8ch?8eh gen3_dec lpc i/f generic decode range 3 00000000h r/w 90h?93h gen4_dec lpc i/f generic decode range 4 00000000h r/w 94h?97h ulkmc usb legacy keyboard / mouse control 98h?9bh lgmr lpc generic memory range 00000000h r/w a0h?cfh power management (see section 13.8.1 ) d0h?d3h fwh_sel1 firmware hub select 1 00112233h r/w, ro d4h?d5h fwh_sel2 firmware hub select 2 4567h r/w d8h?d9h fwh_dec_en1 firmware hub decode enable 1 ffcfh r/w, ro dch bios_cntl bios control 00h r/wlo, r/w, ro e0h?e1h fdcap feature detect ion capability id 0009h ro e2h fdlen feature detection capability length 0ch ro e3h fdver feature detection version 10h ro e4h?ebh fdvct feature vector see description ro f0h?f3h rcba root complex base address 00000000h r/w table 13-1. lpc interface pci register addr ess map (lpc i/f?d31:f0) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id ?ro. this is a 16-bit value assi gned to intel. intel vid = 8086h bit description 15:0 device id? ro. this is a 16-bit value assigned to the pch lpc bridge. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register.
datasheet 469 lpc interface bridge registers (d31:f0) 13.1.3 pcicmd?pci command re gister (lpc i/f?d31:f0) offset address: 04h ? 05h attribute: r/w, ro default value: 0007h size: 16-bit lockable: no power well: core bit description 15:10 reserved 9 fast back to back enable (fbe)?ro. hardwired to 0. 8 serr# enable (serr_en)? r/w. the lpc bridge generate s serr# if this bit is set. 7 wait cycle control (wcc)?ro. hardwired to 0. 6 parity error respon se enable (pere)? r/w. 0 = no action is taken when detecting a parity error. 1 = enables the pch lpc bridge to respond to parity errors detected on backbone interface. 5 vga palette snoop (vps)?ro. hardwired to 0. 4 memory write and invalidate enable (mwie)?ro. hardwired to 0. 3 special cycle en able (sce)?ro. hardwired to 0. 2 bus master enable (bme)?ro. bus masters cannot be disabled. 1 memory space enable (mse)?ro. memory space cannot be disabled on lpc. 0 i/o space enable (ios e)?ro. i/o space cannot be disabled on lpc.
lpc interface bridge registers (d31:f0) 470 datasheet 13.1.4 pcists?pci status re gister (lpc i/f?d31:f0) offset address: 06h ? 07h attribute: ro, r/wc default value: 0210h size: 16-bit lockable: no power well: core note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe)? r/wc. set when the lpc br idge detects a parity error on the internal backbone. set even if the pcicmd.pere bit (d31:f0:04, bit 6) is 0. 0 = parity error not detected. 1 = parity error detected. 14 signaled system error (sse) ?r/wc. set when the lpc bridge signals a system error to the internal serr# logic. 13 master abort status (rma)? r/wc. 0 = unsupported request status not received. 1 = the bridge received a completion with unsupported request stat us from the backbone. 12 received target abort (rta)? r/wc. 0 = completion abort not received. 1 = completion with completion ab ort received from the backbone. 11 signaled target abort (sta)? r/wc. 0 = target abort not generated on the backbone. 1 = lpc bridge generated a completion pa cket with target abort status on the backbone. 10:9 devsel# timing status (dev_sts)? ro. 01 = medium timing. 8 data parity error detected (dped)? r/wc. 0 = all conditions listed below not met. 1 = set when all three of the following conditions are met: ? lpc bridge receives a co mpletion packet from the backbone from a previous request, ? parity error has been detected (d31:f0:06, bit 15) ? pcicmd.pere bit (d31:f0 :04, bit 6) is set. 7 fast back to back capable (fbc): reserv ed ? bit has no meaning on the internal backbone. 6 reserved 5 66 mhz capable (66mhz_cap)?reserved ? bit has no meaning on the internal backbone. 4 capabilities list (clist)? ro. capability list exists on the lpc bridge. 3 interrupt status (is) ?ro. the lpc bridge does not generate interrupts. 2:0 reserved
datasheet 471 lpc interface bridge registers (d31:f0) 13.1.5 rid?revision identification register (lpc i/f?d31:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 13.1.6 pi?programming interface register (lpc i/f?d31:f0) offset address: 09h attribute: ro default value: 00h size: 8 bits 13.1.7 scc?sub class code register (lpc i/f?d31:f0) offset address: 0ah attribute: ro default value: 01h size: 8 bits 13.1.8 bcc?base clas s code register (lpc i/f?d31:f0) offset address: 0bh attribute: ro default value: 06h size: 8 bits 13.1.9 plt?primary la tency timer register (lpc i/f?d31:f0) offset address: 0dh attribute: ro default value: 00h size: 8 bits bit description 7:0 revision id (rid)? ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 7:0 programming interface ?ro. bit description 7:0 sub class code ?ro. 8-bit value that indicates th e category of bridge for the lpc bridge. 01h = pci-to-isa bridge. bit description 7:0 base class code ?ro. 8-bit value that indicates the type of device fo r the lpc bridge. 06h = bridge device. bit description 7:3 master latency count (mlc)?reserved. 2:0 reserved
lpc interface bridge registers (d31:f0) 472 datasheet 13.1.10 headtyp?header type register (lpc i/f?d31:f0) offset address: 0eh attribute: ro default value: 80h size: 8 bits 13.1.11 ss?sub system identifier s register (lpc i/f?d31:f0) offset address: 2ch ? 2fh attribute: r/wo default value: 00000000h size: 32 bits this register is initialized to logic 0 by th e assertion of pltrst#. this register can be written only once after pltrst# de-assertion. 13.1.12 capp?capability list poin ter register (lpc i/f?d31:f0) offset address: 34h attribute: ro default value: e0h size: 8 bits 13.1.13 pmbase?acpi base addres s register (lpc i/f?d31:f0) offset address: 40h ? 43h attribute: r/w, ro default value: 00000001h size: 32 bit lockable: no usage: acpi, legacy power well: core sets base address for acpi i/o registers, gpio registers and tco i/o registers. these registers can be mapped anywhere in the 64-k i/o space on 128-byte boundaries. bit description 7 multi-function device? ro. this bit is 1 to indicate a multi-function device. 6:0 header type? ro. this 7-bit field identifies the header layout of the configuration space. bit description 31:16 subsystem id (ssid)? r/wo. this is written by bios. no hardware action taken on this value. 15:0 subsystem vendor id (ssvid)? r/wo. this is written by bios. no hardware action taken on this value. bit description 7:0 capability pointer (cp)? ro. indicates the offset of the first capability item. bit description 31:16 reserved 15:7 base address ?r/w. this field provides 128 byte s of i/o space for acpi, gpio, and tco logic. this is placed on a 128-byte boundary. 6:1 reserved 0 resource type indicator (rte)?ro. ha rdwired to 1 to indicate i/o space.
datasheet 473 lpc interface bridge registers (d31:f0) 13.1.14 acpi_cntl?acpi control register (lpc i/f?d31:f0) offset address: 44h attribute: r/w default value: 00h size: 8 bit lockable: no usage: acpi, legacy power well: core 13.1.15 gpiobase?gpio ba se address register (lpc i/f?d31:f0) offset address: 48h?4bh attribute: r/w, ro default value: 00000001h size: 32 bit bit description 7 acpi enable (acpi_en)? r/w. 0 = disable. 1 = decode of the i/o range pointed to by th e acpi base register is enabled, and the acpi power management fu nction is enabled. no te that the apm power management ranges (b2/b3h) are always en abled and are not affected by this bit. 6:3 reserved 2:0 sci irq select (sci_irq_sel)? r/w. specifies on which irq the sci will internally appear. if not using the apic, the sci must be routed to irq9?11, and that interrupt is not sharable with the serirq stream, but is shareable with other pci interrupts. if using the apic, the sci can also be mapped to irq20?23, and can be shared with other interrupts. when the interrupt is mapped to apic interrupts 9, 10, or 11, the apic should be programmed for active-high re ception. when the interrupt is mapped to apic interrupts 20 through 23, the apic should be programmed for active-low reception. 000b irq9 001b irq10 010b irq11 011b reserved 100b irq20 (only available if apic enabled) 101b irq21 (only available if apic enabled) 110b irq22 (only available if apic enabled) 111b irq23 (only available if apic enabled) bit description 31:16 reserved. always 0. 15:7 base address (ba)? r/w. provides the 128 bytes of i/o space for gpio. 6:1 reserved. always 0. 0 ro. hardwired to 1 to indicate i/o space.
lpc interface bridge registers (d31:f0) 474 datasheet 13.1.16 gc?gpio control regi ster (lpc i/f?d31:f0) offset address: 4ch attribute: r/w default value: 00h size: 8 bit bit description 7:5 reserved 4 gpio enable (en)? r/w. this bit enables/ disables decode of the i/o range pointed to by the gpio base address register (d31:f0:48h) and enables the gpio function. 0 = disable. 1 = enable. 3:1 reserved 0 gpio lockdown enable (gle) ?r/w. this bit enables lockdown of the following gpio registers: ? offset 00h: gpio_use_sel ? offset 04h: gp_io_sel ? offset 0ch: gp_lvl ? offset 30h: gpio_use_sel2 ? offset 34h: gp_io_sel2 ? offset 38h: gp_lvl2 ? offset 40h: gpio_use_sel3 ? offset 44h: gp_io_sel3 ? offset 48h: gp_lvl3 ? offset 60h: gp_rst_sel 0 = disable. 1 = enable. when this bit is written from 1-to-0, an smi# is generated, if en abled. this ensures that only smm code can change the above gp io registers after they are locked down.
datasheet 475 lpc interface bridge registers (d31:f0) 13.1.17 pirq[n]_rout?pirq[a,b,c, d] routing control register (lpc i/f?d31:f0) offset address: pirqa ? 60h, pirqb ? 61h, attribute: r/w pirqc ? 62h, pirqd ? 63h default value: 80h size: 8 bit lockable: no power well: core bit description 7 interrupt routing enable (irqen)? r/w. 0 = the corresponding pirq is routed to one of the isa-compatible interrupts specified in bits[3:0]. 1 = the pirq is not routed to the 8259. note: bios must program this bit to 0 during post for any of the pirqs that are being used. the value of this bit may subsequently be changed by the os when setting up for i/o apic interrupt delivery mode. 6:4 reserved 3:0 irq routing ?r/w. (isa compatible.) value irq value irq 0000b reserved 1000b reserved 0001b reserved 1001b irq9 0010b reserved 1010b irq10 0011b irq3 1011b irq11 0100b irq4 1100b irq12 0101b irq5 1101b reserved 0110b irq6 1110b irq14 0111b irq7 1111b irq15
lpc interface bridge registers (d31:f0) 476 datasheet 13.1.18 sirq_cntl?serial irq control register (lpc i/f?d31:f0) offset address: 64h attribute: r/w, ro default value: 10h size: 8 bit lockable: no power well: core bit description 7 serial irq enable (sirqen)? r/w. 0 = the buffer is input only and internally serirq will be a 1. 1 = serial irqs will be recognized. the se rirq pin will be configured as serirq. 6 serial irq mode select (sirqmd)? r/w. 0 = the serial irq machine will be in quiet mode. 1 = the serial irq machine wi ll be in continuous mode. note: for systems using quiet mode, this bit sh ould be set to 1 (continuous mode) for at least one frame after coming out of reset before switching back to quiet mode. failure to do so will result in the pch not recognizing serirq interrupts. 5:2 serial irq frame size (sirqsz)? ro. fixed field that indicates the size of the serirq frame as 21 frames. 1:0 start frame pulse width (sfpw)? r/w. this is the number of pci clocks that the serirq pin will be driven low by the serial irq machine to signal a start frame. in continuous mode, the pch will drive the start frame for the number of clocks specified. in quiet mode, the pch will drive the start frame for the number of clocks specified minus one, as the first clock was driven by the peripheral. 00 = 4 clocks 01 = 6 clocks 10 = 8 clocks 11 = reserved
datasheet 477 lpc interface bridge registers (d31:f0) 13.1.19 pirq[n]_rout?pirq[e,f,g, h] routing control register (lpc i/f?d31:f0) offset address: pirqe ? 68h, pirqf ? 69h, attribute: r/w pirqg ? 6ah, pirqh ? 6bh default value: 80h size: 8 bit lockable: no power well: core 13.1.20 lpc_ibdf?ioxapic bu s:device:function register (lpc i/f?d31:f0) offset address: 6ch?6dh attribute: r/w default value: 00f8h size: 16 bit bit description 7 interrupt routing enable (irqen)? r/w. 0 = the corresponding pirq is routed to on e of the isa-compatible interrupts specified in bits[3:0]. 1 = the pirq is not routed to the 8259. note: bios must program this bit to 0 during post for any of the pirqs that are being used. the value of this bit may su bsequently be changed by the os when setting up for i/o apic interrupt delivery mode. 6:4 reserved 3:0 irq routing ?r/w. (isa compatible.) qq 0000b reserved 1000b reserved 0001b reserved 1001b irq9 0010b reserved 1010b irq10 0011b irq3 1011b irq11 0100b irq4 1100b irq12 0101b irq5 1101b reserved 0110b irq6 1110b irq14 0111b irq7 1111b irq15 bit description 15:0 ioxapic bus:device:function (ibdf) ?r/w. this field specifies the bus:device:function that pch?s ioxapi c will be using for the following: ? as the requester id when initiating interrupt messages to the processor. ? as the completer id when responding to the reads targeting the ioxapic?s memory-mapped i/o registers. the 16-bit field comp rises the following: this field defaults to bus 0: device 31: fu nction 0 after reset. bios can program this field to provide a unique bus:device:fun ction number for the internal ioxapic. p 15:8 bus number 7:3 device number 2:0 function number
lpc interface bridge registers (d31:f0) 478 datasheet 13.1.21 lpc_hnbdf?hpet n bu s:device:function register (lpc i/f?d31:f0) address offset h 0bdf 70h?71h h 1bdf 72h?73h h 2bdf 74h?75h h 3bdf 76h?77h h 4bdf 78h?79h h 5bdf 7ah?7bh h 6bdf 7ch?7dh h 7bdf 7eh?7fh attribute: r/w default value: 00f8h size: 16 bit bit description 15:0 hpet n bus:device:function (hnbdf) ? r/w. this field specifies the bus:device:function that the pch?s hpet n will be using in the following: ? as the requester id when initiating interrupt messages to the processor ? as the completer id when responding to the reads targeting the corresponding hpet?s memory-mapped i/o registers the 16-bit field comprises the following: this field is default to bus 0: device 31: fu nction 0 after reset. bi os shall program this field accordingly if unique bus:device :function number is required for the corresponding hpet. bits description 15:8 bus number 7:3 device number 2:0 function number
datasheet 479 lpc interface bridge registers (d31:f0) 13.1.22 lpc_i/o_dec?i/o de code ranges register (lpc i/f?d31:f0) offset address: 80h attribute: r/w default value: 0000h size: 16 bit bit description 15:13 reserved 12 fdd decode range ?r/w. determines which range to decode for the fdd port 0 = 3f0h?3f5h, 3f7h (primary) 1 = 370h?375h, 377h (secondary) 11:10 reserved 9:8 lpt decode range ?r/w. this field determines which range to decode for the lpt port. 00 = 378h?37fh and 778h?77fh 01 = 278h?27fh (port 279h is read only) and 678h?67fh 10 = 3bch ?3beh and 7bch?7beh 11 = reserved 7reserved 6:4 comb decode range ?r/w. this field determines wh ich range to decode for the comb port. 000 = 3f8h?3ffh (com1) 001 = 2f8h?2ffh (com2) 010 = 220h?227h 011 = 228h?22fh 100 = 238h?23fh 101 = 2e8h?2efh (com4) 110 = 338h?33fh 111 = 3e8h?3efh (com3) 3reserved 2:0 coma decode range ?r/w. this field determines wh ich range to decode for the coma port. 000 = 3f8h?3ffh (com1) 001 = 2f8h?2ffh (com2) 010 = 220h?227h 011 = 228h?22fh 100 = 238h?23fh 101 = 2e8h?2efh (com4) 110 = 338h?33fh 111 = 3e8h?3efh (com3)
lpc interface bridge registers (d31:f0) 480 datasheet 13.1.23 lpc_en?lpc i/f enables register (lpc i/f?d31:f0) offset address: 82h ? 83h attribute: r/w default value: 0000h size: 16 bit power well: core bit description 15:14 reserved 13 cnf2_lpc_en ?r/w. microcontroller enable # 2. 0 = disable. 1 = enables the decoding of the i/o locati ons 4eh and 4fh to the lpc interface. this range is used for a microcontroller. 12 cnf1_lpc_en ?r/w. super i/o enable. 0 = disable. 1 = enables the decoding of the i/o locati ons 2eh and 2fh to the lpc interface. this range is used for super i/o devices. 11 mc_lpc_en ?r/w. microcontroller enable # 1. 0 = disable. 1 = enables the decoding of the i/o location s 62h and 66h to the lpc interface. this range is used for a microcontroller. 10 kbc_lpc_en ?r/w. keyboard enable. 0 = disable. 1 = enables the decoding of the i/o location s 60h and 64h to the lpc interface. this range is used for a microcontroller. 9 gameh_lpc_en ?r/w. high gameport enable 0 = disable. 1 = enables the decoding of the i/o locations 208h to 20fh to the lpc interface. this range is used for a gameport. 8 gamel_lpc_en ?r/w. low gameport enable 0 = disable. 1 = enables the decoding of the i/o locations 200h to 207h to the lpc interface. this range is used for a gameport. 7:4 reserved 3 fdd_lpc_en ?r/w. floppy drive enable 0 = disable. 1 = enables the decoding of the fdd range to the lpc interface. this range is selected in the lpc_fdd/lpt decode range register (d31:f0:80h, bit 12). 2 lpt_lpc_en ?r/w. parallel port enable 0 = disable. 1 = enables the decoding of the lptrange to th e lpc interface. this range is selected in the lpc_fdd/lpt decode range register (d31:f0:80h, bit 9:8). 1 comb_lpc_en ?r/w. com port b enable 0 = disable. 1 = enables the decoding of the comb rang e to the lpc interface. this range is selected in the lpc_com decode rang e register (d31:f0:80h, bits 6:4). 0 coma_lpc_en ?r/w. com port a enable 0 = disable. 1 = enables the decoding of the coma ra nge to the lpc interface. this range is selected in the lpc_com decode rang e register (d31:f0:80h, bits 3:2).
datasheet 481 lpc interface bridge registers (d31:f0) 13.1.24 gen1_dec?lpc i/f generi c decode range 1 register (lpc i/f?d31:f0) offset address: 84h ? 87h attribute: r/w default value: 00000000h size: 32 bit power well: core 13.1.25 gen2_dec?lpc i/f generi c decode range 2 register (lpc i/f?d31:f0) offset address: 88h ? 8bh attribute: r/w default value: 00000000h size: 32 bit power well: core bit description 31:24 reserved 23:18 generic i/o decode rang e address[7:2] mask? r/w. a 1 in any bit position indicates that any value in the correspondin g address bit in a rece ived cycle will be treated as a match. the corresponding bit in the address field, belo w, is ignored. the mask is only provided for the lower 6 bits of the dword address, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 1 base address (gen1_base)? r/w. note: the pch does not provide decode do wn to the word or byte level 1reserved 0 generic decode range 1 enable (gen1_en)? r/w. 0 = disable. 1 = enable the gen1 i/o range to be forwarded to the lpc i/f bit description 31:24 reserved 23:18 generic i/o decode rang e address[7:2] mask? r/w. a 1 in any bit position indicates that any value in the correspondin g address bit in a rece ived cycle will be treated as a match. the corresponding bit in the address field, belo w, is ignored. the mask is only provided for the lower 6 bits of the dword address, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 2 base address (gen1_base)? r/w. note: the pch does not provide decode down to the word or byte level. 1reserved 0 generic decode range 2 enable (gen2_en)? r/w. 0 = disable. 1 = enable the gen2 i/o range to be forwarded to the lpc i/f
lpc interface bridge registers (d31:f0) 482 datasheet 13.1.26 gen3_dec?lpc i/f generi c decode range 3 register (lpc i/f?d31:f0) offset address: 8ch?8eh attribute: r/w default value: 00000000h size: 32 bit power well: core 13.1.27 gen4_dec?lpc i/f generi c decode range 4 register (lpc i/f?d31:f0) offset address: 90h?93h attribute: r/w default value: 00000000h size: 32 bit power well: core bit description 31:24 reserved 23:18 generic i/o decode range address[7:2] mask? r/w. a 1 in any bit position indicates that any value in the corresponding address bit in a received cycle will be treated as a match. the corresponding bit in the address field, belo w, is ignored. the mask is only provided for the lower 6 bits of the dword address, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 3 base address (gen3_base)? r/w. note: the pch does not provide decode down to the word or byte level 1 reserved 0 generic decode range 3 enable (gen3_en)? r/w. 0 = disable. 1 = enable the gen3 i/o range to be forwarded to the lpc i/f bit description 31:24 reserved 23:18 generic i/o decode range address[7:2] mask? r/w. a 1 in any bit position indicates that any value in the corresponding address bit in a received cycle will be treated as a match. the corresponding bit in the address field, belo w, is ignored. the mask is only provided for the lower 6 bits of the dword address, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 4 base address (gen4_base)? r/w. note: the pch does not provide decode down to the word or byte level 1 reserved 0 generic decode range 4 enable (gen4_en)? r/w. 0 = disable. 1 = enable the gen4 i/o range to be forwarded to the lpc i/f
datasheet 483 lpc interface bridge registers (d31:f0) 13.1.28 ulkmc?usb legacy ke yboard / mouse control register (lpc i/f?d31:f0) offset address: 94h?97h attribute: ro, rwc, r/w default value: 00002000h size: 32 bit power well: core bit description 31:16 reserved 15 smi caused by end of pass-through (smibyendps)? r/wc. this bit indicates if the event occurred. note that even if the co rresponding enable bit is not set in bit 7, then this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred 14:12 reserved 11 smi caused by port 64 write (trapby64w)? r/wc. this bit indicates if the event occurred. note that even if the corresponding enable bit is not set in bit 3, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. note that the a20gate pass-through logic allows specific port 64h writes to complete without setting this bit. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 10 smi caused by port 64 read (trapby64r)? r/wc. this bit indicates if the event occurred. note that even if the corresponding enable bit is not set in bit 2, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 9 smi caused by port 60 write (trapby60w)? r/wc. this bit indicates if the event occurred. note that even if the corresponding enable bit is not set in bit 1, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. note that the a20gate pass-through logic allows specific port 64h writes to complete without setting this bit. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 8 smi caused by port 60 read (trapby60r)? r/wc. this bit indicates if the event occurred. note that even if the corresponding enable bit is not set in the bit 0, then this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 7 smi at end of pass-through enable (smiatendps)? r/w. this bit enables smi at the end of a pass-through. this can occur if an smi is generated in the middle of a pass-through, and needs to be serviced later. 0 = disable 1 = enable 6 pass through state (pstate) ?ro. 0 = if software needs to reset this bit, it shou ld set bit 5 in all of the host controllers to 0. 1 = indicates that the state machine is in the middle of an a20gate pass-through sequence.
lpc interface bridge registers (d31:f0) 484 datasheet 13.1.29 lgmr?lpc i/f generic memory range register (lpc i/f?d31:f0) offset address: 98h?9bh attribute: r/w default value: 00000000h size: 32 bit power well: core 5 a20gate pass-through enable (a20passen)? r/w. 0 = disable. 1 = enable. allows a20gate sequence pass-through function. a specific cycle sequence involving writes to port 60h and 64h does not result in the setting of the smi status bits. 4 smi on usb irq enable (usbsmien)? r/w. 0 = disable 1 = enable. usb interrupt will cause an smi event. 3 smi on port 64 writes enable (64wen)? r/w. 0 = disable 1 = enable. a 1 in bit 11 will cause an smi event. 2 smi on port 64 reads enable (64ren)? r/w. 0 = disable 1 = enable. a 1 in bit 10 will cause an smi event. 1 smi on port 60 writes enable (60wen)? r/w. 0 = disable 1 = enable. a 1 in bit 9 will cause an smi event. 0 smi on port 60 reads enable (60ren)? r/w. 0 = disable 1 = enable. a 1 in bit 8 will cause an smi event. bit description bit description 31:16 memory address[31:16]? r/w. this field specifies a 64 kb memory block anywhere in the 4 gb memory space that will be deco ded to lpc as standard lpc memory cycle if enabled. 15:1 reserved 0 lpc memory range decode enable ?r/w. when this bit is set to 1, then the range specified in bits 31:16 of this regi ster is enabled fo r decoding to lpc.
datasheet 485 lpc interface bridge registers (d31:f0) 13.1.30 fwh_sel1?firmware hub select 1 register (lpc i/f?d31:f0) offset address: d0h ? d3h attribute: r/w, ro default value: 00112233h size: 32 bits bit description 31:28 fwh_f8_idsel ?ro. idsel for two 512-kb firmwa re hub memory ranges and one 128-kb memory range. this field is fixed at 0000. the idsel programmed in this field addresses the following memory ranges: fff8 0000h?ffff ffffh ffb8 0000h?ffbf ffffh 000e 0000h?000f ffffh 27:24 fwh_f0_idsel ?r/w. idsel for two 512-kb firm ware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: fff0 0000h?fff7 ffffh ffb0 0000h?ffb7 ffffh 23:20 fwh_e8_idsel ?r/w. idsel for two 512-kb firm ware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffe8 0000h?ffef ffffh ffa8 0000h?ffaf ffffh 19:16 fwh_e0_idsel ?r/w. idsel for two 512-kb firm ware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffe0 0000h?ffe7 ffffh ffa0 0000h?ffa7 ffffh 15:12 fwh_d8_idsel ?r/w. idsel for two 512-kb firm ware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffd8 0000h?ffdf ffffh ff98 0000h?ff9f ffffh 11:8 fwh_d0_idsel ?r/w. idsel for two 512-kb firm ware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffd0 0000h?ffd7 ffffh ff90 0000h?ff97 ffffh 7:4 fwh_c8_idsel ?r/w. idsel for two 512-kb firmware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffc8 0000h?ffcf ffffh ff88 0000h?ff8f ffffh 3:0 fwh_c0_idsel ?r/w. idsel for two 512-kb firmware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffc0 0000h?ffc7 ffffh ff80 0000h?ff87 ffffh
lpc interface bridge registers (d31:f0) 486 datasheet 13.1.31 fwh_sel2?firmware hub select 2 register (lpc i/f?d31:f0) offset address: d4h ? d5h attribute: r/w default value: 4567h size: 16 bits bit description 15:12 fwh_70_idsel ?r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field addresse s the following memory ranges: ff70 0000h?ff7f ffffh ff30 0000h?ff3f ffffh 11:8 fwh_60_idsel ?r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field addresse s the following memory ranges: ff60 0000h?ff6f ffffh ff20 0000h?ff2f ffffh 7:4 fwh_50_idsel ?r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field addresse s the following memory ranges: ff50 0000h?ff5f ffffh ff10 0000h?ff1f ffffh 3:0 fwh_40_idsel ?r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field addresse s the following memory ranges: ff40 0000h?ff4f ffffh ff00 0000h?ff0f ffffh
datasheet 487 lpc interface bridge registers (d31:f0) 13.1.32 fwh_dec_en 1?firmware hub decode enable register (lpc i/f?d31:f0) offset address: d8h ? d9h attribute: r/w, ro default value: ffcfh size: 16 bits bit description 15 fwh_f8_en ?ro. this bit enables decoding two 512-kb firmware hub memory ranges, and one 128-kb memory range. 0 = disable 1 = enable the following ranges for the firmware hub fff80000h?ffffffffh ffb80000h?ffbfffffh 14 fwh_f0_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: fff00000h?fff7ffffh ffb00000h?ffb7ffffh 13 fwh_e8_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: ffe80000h?ffeffffh ffa80000h?ffafffffh 12 fwh_e0_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: ffe00000h?ffe7ffffh ffa00000h?ffa7ffffh 11 fwh_d8_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffd80000h?ffdfffffh ff980000h?ff9fffffh 10 fwh_d0_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffd00000h?ffd7ffffh ff900000h?ff97ffffh 9 fwh_c8_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffc80000h?ffcfffffh ff880000h?ff8fffffh 8 fwh_c0_en ?r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffc00000h?ffc7ffffh ff800000h?ff87ffffh
lpc interface bridge registers (d31:f0) 488 datasheet note: this register effects the bios decode regardless of whether the bios is resident on lpc or spi. the concept of feature space does not apply to spi-based flash. the pch simply decodes these ranges as memory accesses when enabled for the spi flash interface. 7 fwh_legacy_f_en ?r/w. this enables the decoding of the legacy 64kb range at f0000h?fffffh. 0 = disable. 1 = enable the following legacy ranges for the firmware hub f0000h?fffffh note: the decode for the bios legacy f segment is enabled only by this bit and is not affected by the gen_pmcon_1.ia64_en bit. 6 fwh_legacy_e_en ?r/w. this enables the decoding of the legacy 64kb range at e0000h?effffh. 0 = disable. 1 = enable the following legacy ranges for the firmware hub e0000h?effffh note: the decode for the bios legacy e segment is enabled only by this bit and is not affected by the gen_pmcon_1.ia64_en bit. 5:4 reserved 3 fwh_70_en ?r/w. enables decoding two 1-m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff70 0000h?ff7f ffffh ff30 0000h?ff3f ffffh 2 fwh_60_en ?r/w. enables decoding two 1-m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff60 0000h?ff6f ffffh ff20 0000h?ff2f ffffh 1 fwh_50_en? r/w. enables decoding two 1-m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff50 0000h?ff5f ffffh ff10 0000h?ff1f ffffh 0 fwh_40_en ?r/w. enables decoding two 1-m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff40 0000h?ff4f ffffh ff00 0000h?ff0f ffffh bit description
datasheet 489 lpc interface bridge registers (d31:f0) 13.1.33 bios_cntl?bios control register (lpc i/f?d31:f0) offset address: dch attribute: r/wlo, r/w, ro default value: 20h size: 8 bit lockable: no power well: core bit description 7:6 reserved 5 smm bios write protect disable (smm_bwp) ?r/wlo. this bit set defines when the bios region can be written by the host. 0 = bios region smm protection is disabled. the bios region is writable regardless if processors are in smm or not. (set this field to 0 for legacy behavior) 1 = bios region smm protection is enabled. the bios region is not writable unless all processors are in smm. 4 top swap status (tss)? ro. this bit provides a read-only path to view the state of the top swap bit that is at offset 3414h, bit 0. 3:2 spi read config uration (src)? r/w. this 2-bit field controls two policies related to bios reads on the spi interface: bit 3- prefetch enable bit 2- cache disable settings are su mmarized below: 1 bios lock enable (ble)? r/wlo. 0 = setting the bioswe will not cause smis. 1 = enables setting the bioswe bit to caus e smis. once set, this bit can only be cleared by a pltrst# 0 bios write enable (bioswe)? r/w. 0 = only read cycles result in firmware hub i/f cycles. 1 = access to the bios space is enabled for both read and write cycles. when this bit is written from a 0 to a 1 and bios lock en able (ble) is also set, an smi# is generated. this ensu res that only smi co de can update bios. p 00b no prefetching, but caching enabled. 64b demand reads load the read buffer cache with ?valid ? data, allowing repeated code fetches to the same line to complete quickly 01b no prefetching and no caching. one-to-one co rrespondence of host bios reads to spi cycles. this value can be used to invalidate the cache. 10b prefetching and caching enabled. this mode is used for long sequences of short reads to consecutive addresses (i.e, shadowing). 11b reserved. this is an invalid configuration , caching must be enabled when prefetching is enabled.
lpc interface bridge registers (d31:f0) 490 datasheet 13.1.34 fdcap?feature detection capability id register (lpc i/f?d31:f0) offset address: e0h?e1h attribute: ro default value: 0009h size: 16 bit power well: core 13.1.35 fdlen?feature detection capability length register (lpc i/f?d31:f0) offset address: e2h attribute: ro default value: 0ch size: 8 bit power well: core 13.1.36 fdver?feature detection version register (lpc i/f?d31:f0) offset address: e3h attribute: ro default value: 10h size: 8 bit power well: core bit description 15:8 next item pointer (next)? ro. configuration offset of the next capability item. 00h indicates the last item in the capability list. 7:0 capability id? ro. indicates a vendor specific capability bit description 7:0 capability length? ro. indicates the length of this vendor specific capability, as required by pci specification. bit description 7:4 vendor-specific capability id? ro. a value of 1h in this 4-bit field identifies this capability as feature detectio n type. this field allows so ftware to differentiate the feature detection capability from other vendor-specific capabilities 3:0 capability version? ro. this field indicates the version of the feature detection capability
datasheet 491 lpc interface bridge registers (d31:f0) 13.1.37 fdvct?feature vector register (lpc i/f?d31:f0) offset address: e4h?ebh attribute: ro default value: see description size: 64 bit power well: core 13.1.38 rcba?root complex base address register (lpc i/f?d31:f0) offset address: f0?f3h attribute: r/w default value: 00000000h size: 32 bit bit description 63:45 reserved 44 intel ? identity protection technology?ro 0 = capable 1 = disabled 43:14 reserved 13 usb* 2.0 ports 6 and 7?ro 0 = capable 1 = disabled 12 reserved 11 pci express* ports 7and 8?ro 0 = capable 1 = disabled 10:7 reserved 6 sata ports 2 and 3?ro 0 = capable 1 = disabled 5 sata raid 0/1/5/10 capability?ro 0 = capable 1 = disabled 4:0 reserved bit description 31:14 base address (ba)? r/w. base address for the root complex register block decode range. this address is aligned on a 16-kb boundary. 13:1 reserved 0 enable (en)? r/w. when set, this bit enables the range specified in ba to be claimed as the root complex register block.
lpc interface bridge registers (d31:f0) 492 datasheet 13.2 dma i/o registers table 13-2. dma registers (sheet 1 of 2) port alias register name default type 00h 10h channel 0 dma base & current address undefined r/w 01h 11h channel 0 dma base & current count undefined r/w 02h 12h channel 1 dma base & current address undefined r/w 03h 13h channel 1 dma base & current count undefined r/w 04h 14h channel 2 dma base & current address undefined r/w 05h 15h channel 2 dma base & current count undefined r/w 06h 16h channel 3 dma base & current address undefined r/w 07h 17h channel 3 dma base & current count undefined r/w 08h 18h channel 0?3 dma command undefined wo channel 0?3 dma status undefined ro 0ah 1ah channel 0?3 dma write single mask 000001xxb wo 0bh 1bh channel 0?3 dma channel mode 000000xxb wo 0ch 1ch channel 0?3 dma clear byte pointer undefined wo 0dh 1dh channel 0?3 dma master clear undefined wo 0eh 1eh channel 0?3 dma clear mask undefined wo 0fh 1fh channel 0?3 dma write all mask 0fh r/w 80h 90h reserved page undefined r/w 81h 91h channel 2 dma memory low page undefined r/w 82h ? channel 3 dma memory low page undefined r/w 83h 93h channel 1 dma memory low page undefined r/w 84h?86h 94h?96h reserved pages undefined r/w 87h 97h channel 0 dma memory low page undefined r/w 88h 98h reserved page undefined r/w 89h 99h channel 6 dma memory low page undefined r/w 8ah 9ah channel 7 dma memory low page undefined r/w 8bh 9bh channel 5 dma memory low page undefined r/w 8ch?8eh 9ch?9eh reserved page undefined r/w 8fh 9fh refresh low page undefined r/w c0h c1h channel 4 dma base & current address undefined r/w c2h c3h channel 4 dma base & current count undefined r/w c4h c5h channel 5 dma base & current address undefined r/w c6h c7h channel 5 dma base & current count undefined r/w c8h c9h channel 6 dma base & current address undefined r/w cah cbh channel 6 dma base & current count undefined r/w cch cdh channel 7 dma base & cu rrent address undefined r/w ceh cfh channel 7 dma base & current count undefined r/w
datasheet 493 lpc interface bridge registers (d31:f0) 13.2.1 dmabase_ca?dma base an d current address registers i/o address: ch. #0 = 00h; ch. #1 = 02h attribute: r/w ch. #2 = 04h; ch. #3 = 06h size: 16 bit (per channel), ch. #5 = c4h ch. #6 = c8h but accessed in two 8-bit ch. #7 = cch; quantities default value: undefined lockable: no power well:core d0h d1h channel 4?7 dma command undefined wo channel 4?7 dma status undefined ro d4h d5h channel 4?7 dma write single mask 000001xxb wo d6h d7h channel 4?7 dma channel mode 000000xxb wo d8h d9h channel 4?7 dma clear byte pointer undefined wo dah dbh channel 4?7 dma master clear undefined wo dch ddh channel 4?7 dma clear mask undefined wo deh dfh channel 4?7 dma write all mask 0fh r/w table 13-2. dma registers (sheet 2 of 2) port alias register name default type bit description 15:0 base and current address ?r/w. this register determin es the address for the transfers to be performed. the address specified po ints to two separate registers. on writes, the value is stored in the base address register and copied to the current address register. on read s, the value is returned from the current address register. the address increments/decrements in the current address register after each transfer, depending on the mode of the transfer. if the channel is in auto-initialize mode, the current address register will be reloaded from the base address register after a terminal count is generated. for transfers to/from a 16-bit slave (channels 5?7), the address is shifted left one bit location. bit 15 will be shifted into bit 16. the register is accessed in 8 bit quantities. the byte is po inted to by the current byte pointer flip/flop. before acce ssing an address regi ster, the byte pointer flip/flop should be cleared to ensure that the low byte is accessed first
lpc interface bridge registers (d31:f0) 494 datasheet 13.2.2 dmabase_cc?dma base an d current count registers i/o address: ch. #0 = 01h; ch. #1 = 03h attribute: r/w ch. #2 = 05h; ch. #3 = 07h size: 16-bit (per channel), ch. #5 = c6h; ch. #6 = cah but accessed in two 8-bit ch. #7 = ceh; quantities default value: undefined lockable: no power well:core 13.2.3 dmamem_lp?dma memory low page registers i/o address: ch. #0 = 87h; ch. #1 = 83h ch. #2 = 81h; ch. #3 = 82h ch. #5 = 8bh; ch. #6 = 89h ch. #7 = 8ah; attribute: r/w default value: undefined size: 8-bit lockable: no power well: core bit description 15:0 base and current count ?r/w. this register dete rmines the number of transfers to be performed. the address spec ified points to two separate registers. on writes, the value is stored in the base count register and copied to the current count register. on reads, the value is returned from the current count register. the actual number of transfers is one more than the number programmed in the base count register (that is, programming a count of 4h results in 5 transfers). the count is decrements in the current count register after each transfer. when the value in the register rolls from 0 to ffffh, a terminal count is generated. if the channel is in auto- initialize mode, the current count register will be re loaded from the base count register after a termin al count is generated. for transfers to/from an 8-bit slave (channels 0?3), the count register indicates the number of bytes to be transferred. for tran sfers to/from a 16-bit slave (channels 5?7), the count register indicates the nu mber of words to be transferred. the register is accessed in 8 bit quantities. the byte is po inted to by the current byte pointer flip/flop. before acce ssing a count register, the byte pointer flip/flop should be cleared to ensure that the low byte is ac cessed first. bit description 7:0 dma low page (isa address bits [23:16])?r/w. this register works in conjunction with the dma controller's cu rrent address register to de fine the complete 24-bit address for the dma channel. this register remains static throughout the dma transfer. bit 16 of this register is ignored when in 16 bit i/o count by words mode as it is replaced by the bit 15 shifted out from the current address register.
datasheet 495 lpc interface bridge registers (d31:f0) 13.2.4 dmacmd?dma command register i/o address: ch. #0 ? 3 = 08h; ch. #4 ? 7 = d0h attribute: wo default value: undefined size: 8-bit lockable: no power well: core 13.2.5 dmasta?dma status register i/o address: ch. #0 ? 3 = 08h; ch. #4 ? 7 = d0h attribute: ro default value: undefined size: 8-bit lockable: no power well: core bit description 7:5 reserved. must be 0. 4 dma group arbitration priority ?wo. each channel group is individually assigned either fixed or rotating arbitration priority. at part reset, each group is initialized in fixed priority. 0 = fixed priority to the channel group 1 = rotating priority to the group. 3 reserved. must be 0. 2 dma channel group enable ?wo. both channel groups are enabled following part reset. 0 = enable the dma channel group. 1 = disable. disabling channel group 4?7 al so disables channel group 0?3, which is cascaded through channel 4. 1:0 reserved. must be 0. bit description 7:4 channel request status ?ro. when a valid dma reques t is pending for a channel, the corresponding bit is set to 1. when a dma request is not pending for a particular channel, the corresponding bit is set to 0. the source of the dreq may be hardware or a software request. note that channel 4 is the cascade channel, so the request status of channel 4 is a logical or of the requ est status for chan nels 0 through 3. 4 = channel 0 5 = channel 1 (5) 6 = channel 2 (6) 7 = channel 3 (7) 3:0 channel terminal count status ?ro. when a channel reaches terminal count (tc), its status bit is set to 1. if tc has not been reached, the status bit is set to 0. channel 4 is programmed for cascade, so the tc bi t response for channel 4 is irrelevant: 0 = channel 0 1 = channel 1 (5) 2 = channel 2 (6) 3 = channel 3 (7)
lpc interface bridge registers (d31:f0) 496 datasheet 13.2.6 dma_wrsmsk?dma write single mask register i/o address: ch. #0 ? 3 = 0ah; ch. #4 ? 7 = d4h attribute: wo default value: 0000 01xx size: 8-bit lockable: no power well: core bit description 7:3 reserved. must be 0. 2 channel mask select ?wo. 0 = enable dreq for the selected channel. the channel is selected through bits [1:0]. therefore, only one ch annel can be masked / unmasked at a time. 1 = disable dreq for the selected channel. 1:0 dma channel select ?wo. these bits select the dma channel mode register to program. 00 = channel 0 (4) 01 = channel 1 (5) 10 = channel 2 (6) 11 = channel 3 (7)
datasheet 497 lpc interface bridge registers (d31:f0) 13.2.7 dmach_mode?dma channel mode register i/o address: ch. #0 ? 3 = 0bh; ch. #4 ? 7 = d6h attribute: wo default value: 0000 00xx size: 8-bit lockable: no power well: core bit description 7:6 dma transfer mode ?wo. each dma channel can be programmed in one of four different modes: 00 = demand mode 01 = single mode 10 = reserved 11 = cascade mode 5 address increment/decrement select ?wo. this bit controls address increment/ decrement during dma transfers. 0 = address increment. (default af ter part reset or master clear) 1 = address decrement. 4 autoinitialize enable ?wo. 0 = autoinitialize feature is disabled and dma transfers te rminate on a terminal count. a part reset or master clear disables autoinitialization. 1 = dma restores the base address and co unt registers to th e current registers following a terminal count (tc). 3:2 dma transfer type ?wo. these bits represent the direction of the dma transfer. when the channel is programmed for cascade mode, (bits[7:6] = 11) the transfer type is irrelevant. 00 = verify ? no i/o or memory strobes generated 01 = write ? data transferred from the i/o devices to memory 10 = read ? data transferred from memory to the i/o device 11 = invalid 1:0 dma channel select ?wo. these bits select the dma chan nel mode regist er that will be written by bits [7:2]. 00 = channel 0 (4) 01 = channel 1 (5) 10 = channel 2 (6) 11 = channel 3 (7)
lpc interface bridge registers (d31:f0) 498 datasheet 13.2.8 dma clear byte pointer register i/o address: ch. #0 ? 3 = 0ch; ch. #4 ? 7 = d8h attribute: wo default value: xxxx xxxx size: 8-bit lockable: no power well: core 13.2.9 dma master clear register i/o address: ch. #0 ? 3 = 0dh; ch. #4 ? 7 = dah attribute: wo default value: xxxx xxxx size: 8-bit 13.2.10 dma_clmsk?dma clear mask register i/o address: ch. #0 ? 3 = 0eh; ch. #4 ? 7 = dch attribute: wo default value: xxxx xxxx size: 8-bit lockable: no power well: core bit description 7:0 clear byte pointer ?wo. no specific pattern. command enabled with a write to the i/ o port address. writing to this register initializes the byte pointer flip/flop to a known state. it clears the internal latch used to address the uppe r or lower byte of the 16-bit address and word count registers. the latch is also cleared by part reset and by the master clear command. this command precedes the first access to a 16-bit dma controller register. the first ac cess to a 16-bit register will then access the significant byte, and the second access automatically accesses the most significant byte. bit description 7:0 master clear ?wo. no specific pattern. enabled wi th a write to the port. this has the same effect as the hardware reset. the co mmand, status, reques t, and byte pointer flip/flop registers are cleared and the mask register is set. bit description 7:0 clear mask register ?wo. no specific pattern. comm and enabled with a write to the port.
datasheet 499 lpc interface bridge registers (d31:f0) 13.2.11 dma_wrmsk?dma write all mask register i/o address: ch. #0 ? 3 = 0fh; ch. #4 ? 7 = deh attribute: r/w default value: 0000 1111 size: 8-bit lockable: no power well: core 13.3 timer i/o registers bit description 7:4 reserved. must be 0. 3:0 channel mask bits ?r/w. this register permits all four channels to be simultaneously enabled/disabled instead of en abling/disabling each channel individually, as is the case with the mask register ? write single mask bit. in addition, this register has a read path to allow the status of the channel mask bits to be read. a channel's mask bit is automatically set to 1 when the current byte/word count register reaches terminal count (unless the channel is in auto-initialization mode). setting the bit(s) to a 1 disables the corre sponding dreq(s). setting the bit(s) to a 0 enables the corresponding dreq(s). bits [3:0 ] are set to 1 upon part reset or master clear. when read, bits [3:0] indicate the dma channel [3:0] ([7:4]) mask status. bit 0 = channel 0 (4)1 = masked, 0 = not masked bit 1 = channel 1 (5)1 = masked, 0 = not masked bit 2 = channel 2 (6)1 = masked, 0 = not masked bit 3 = channel 3 (7)1 = masked, 0 = not masked note: disabling channel 4 also disables channe ls 0?3 due to the cascade of channels 0?3 through channel 4. port aliases register name default value type 40h 50h counter 0 interval time status byte format 0xxxxxxxb ro counter 0 counter acce ss port undefined r/w 41h 51h counter 1 interval time status byte format 0xxxxxxxb ro counter 1 counter acce ss port undefined r/w 42h 52h counter 2 interval time status byte format 0xxxxxxxb ro counter 2 counter acce ss port undefined r/w 43h 53h timer control word undefined wo timer control word register xxxxxxx0b wo counter latch command x0h wo
lpc interface bridge registers (d31:f0) 500 datasheet 13.3.1 tcw?timer control word register i/o address: 43h attribute: wo default value: all bits undefined size: 8 bits this register is programmed prior to any counter being accessed to specify counter modes. following part reset, the control word s for each register are undefined and each counter output is 0. each timer must be programmed to bring it into a known state. there are two special commands that can be issued to the counters through this register, the read back command and the counter latch command. when these commands are chosen, several bits within this register are redefined. these register formats are described below: bit description 7:6 counter select ?wo. the counter selection bits select the counter the control word acts upon as shown below. the read back command is selected when bits[7:6] are both 1. 00 = counter 0 select 01 = counter 1 select 10 = counter 2 select 11 = read back command 5:4 read/write select ?wo. these bits are the read/w rite control bits. the actual counter programming is done through the co unter port (40h for counter 0, 41h for counter 1, and 42h for counter 2). 00 = counter latch command 01 = read/write least significant byte (lsb) 10 = read/write most significant byte (msb) 11 = read/write lsb then msb 3:1 counter mode selection ?wo. these bits select one of six possible modes of operation for the selected counter. 0 binary/bcd countdown select?wo. 0 = binary countdown is used. the largest possible binary count is 2 16 1 = binary coded decimal (bcd ) count is used. the largest possible bcd count is 10 4 000b mode 0 out signal on end of count (=0) 001b mode 1 hardware retriggerable one- shot x10b mode 2 rate generator (divide by n counter) x11b mode 3 square wave output 100b mode 4 software triggered strobe 101b mode 5 hardware triggered strobe
datasheet 501 lpc interface bridge registers (d31:f0) rdbk_cmd?read back command the read back command is used to determine the count value, programmed mode, and current states of the out pin and null count flag of the selected counter or counters. status and/or count may be latched in any or all of the counters by selecting the counter during the register write. the count and status remain latched until read, and further latch commands are ignored until the count is read. both count and status of the selected counters may be latched simultaneously by setting both bit 5 and bit 4 to 0. if both are latched, the first read op eration from that counter returns the latched status. the next one or two reads, depend ing on whether the counter is programmed for one or two byte counts, returns the latched count. subsequent reads return an unlatched count. ltch_cmd?counter latch command the counter latch command latches the current count value. this command is used to insure that the count read from the counter is accurate. the count value is then read from each counter's count register through the counter ports access ports register (40h for counter 0, 41h for counter 1, and 42h for counter 2). the count must be read according to the programmed format; that is, if the counter is programmed for two byte counts, two bytes must be read. the tw o bytes do not have to be read one right after the other (read, write, or programming operations for other counters may be inserted between the reads). if a counter is latched once and then latched again before the count is read, the second counter latch command is ignored. bit description 7:6 read back command. must be 11 to select the read back command 5 latch count of se lected counters . 0 = current count value of the sele cted counters will be latched 1 = current count will not be latched 4 latch status of selected counters . 0 = status of the selected counters will be latched 1 = status will not be latched 3 counter 2 select . 1 = counter 2 count and/or status will be latched 2 counter 1 select . 1 = counter 1 count and/or status will be latched 1 counter 0 select . 1 = counter 0 count and/or status will be latched. 0 reserved. must be 0. bit description 7:6 counter selection. these bits select the counter for la tching. if ?11? is written, then the write is interpreted as a read back command. 00 = counter 0 01 = counter 1 10 = counter 2 5:4 counter latch command . 00 = selects the co unter latch command. 3:0 reserved. must be 0.
lpc interface bridge registers (d31:f0) 502 datasheet 13.3.2 sbyte_fmt?interval timer status byte format register i/o address: counter 0 = 40h, counter 1 = 41h, attribute: ro counter 2 = 42h size: 8 bits per counter default value: bits[6:0] undefined, bit 7=0 each counter's status byte can be read following a read back command. if latch status is chosen (bit 4=0, read back command) as a read back option for a given counter, the next read from the counter's counter access ports register (40h for counter 0, 41h for counter 1, and 42h for counter 2) returns th e status byte. the status byte returns the following: bit description 7 counter out pin state ?ro. 0 = out pin of the counter is also a 0 1 = out pin of the counter is also a 1 6 count register status ?ro. this bit indicates when the last count written to the count register (cr) has been loaded into the counting element (ce). the exact time this happens depends on the counter mode, but until the count is loaded into the counting element (ce), the count value will be incorrect. 0 = count has been transf erred from cr to ce and is available for reading. 1 = null count. count has not been transferre d from cr to ce and is not yet available for reading. 5:4 read/write selection status ?ro. these reflect the re ad/write selection made through bits[5:4] of the control register. th e binary codes returned during the status read match the codes used to progra m the counter read /write selection. 00 = counter latch command 01 = read/write least significant byte (lsb) 10 = read/write most significant byte (msb) 11 = read/write lsb then msb 3:1 mode selection status ?ro. these bits return the counter mode programming. the binary code returned matche s the code used to program the counter mode, as listed under the bit function above. 000 = mode 0?out signal on end of count (=0) 001 = mode 1?hardware retriggerable one-shot x10 = mode 2?rate generator (divide by n counter) x11 = mode 3?square wave output 100 = mode 4?software triggered strobe 101 = mode 5?hardware triggered strobe 0 countdown type status ?ro. this bit reflects th e current countdown type. 0 = binary countdown 1 = binary coded decimal (bcd) countdown.
datasheet 503 lpc interface bridge registers (d31:f0) 13.3.3 counter access ports register i/o address: counter 0 ? 40h, counter 1 ? 41h, attribute: r/w counter 2 ? 42h default value: all bits undefined size: 8 bit 13.4 8259 interrupt controller (pic) registers 13.4.1 interrupt controller i/o map the interrupt controller registers are locate d at 20h and 21h for the master controller (irq 0?7), and at a0h and a1h for the slave controller (irq 8?13). these registers have multiple functions, depending upon the data written to them. table 13-3 shows the different register possibilities for each address. note: see note addressing active-low interrupt sources in 8259 interrupt controllers section ( chapter 5.8 ). bit description 7:0 counter port ?r/w. each counter port address is used to program the 16-bit count register. the order of progra mming, either lsb only, msb only, or lsb then msb, is defined with the interval counter control register at port 43h. the counter port is also used to read the current co unt from the count register, an d return the status of the counter programming following a read back command. table 13-3. pic registers port aliases register name default value type 20h 24h, 28h, 2ch, 30h, 34h, 38h, 3ch master pic icw1 init. cmd word 1 undefined wo master pic ocw2 op ctrl word 2 001xxxxxb wo master pic ocw3 op ctrl word 3 x01xxx10b wo 21h 25h, 29h, 2dh, 31h, 35h, 39h, 3dh master pic icw2 init. cmd word 2 undefined wo master pic icw3 init. cmd word 3 undefined wo master pic icw4 init. cmd word 4 01h wo master pic ocw1 op ctrl word 1 00h r/w a0h a4h, a8h, ach, b0h, b4h, b8h, bch slave pic icw1 init. cmd word 1 undefined wo slave pic ocw2 op ctrl word 2 001xxxxxb wo slave pic ocw3 op ctrl word 3 x01xxx10b wo a1h a5h, a9h, adh, b1h, b5h, b9h, bdh slave pic icw2 init. cmd word 2 undefined wo slave pic icw3 init. cmd word 3 undefined wo slave pic icw4 init. cmd word 4 01h wo slave pic ocw1 op ctrl word 1 00h r/w 4d0h ? master pic edge/l evel triggered 00h r/w 4d1h ? slave pic edge/level triggered 00h r/w
lpc interface bridge registers (d31:f0) 504 datasheet 13.4.2 icw1?initialization command word 1 register offset address: master controller ? 20h attribute: wo slave controller ? a0h size: 8 bit /controller default value: all bits undefined a write to initialization command word 1 starts the interrupt controller initialization sequence, during which the following occurs: 1. the interrupt mask register is cleared. 2. irq7 input is assigned priority 7. 3. the slave mode address is set to 7. 4. special mask mode is cleared and status read is set to irr. once this write occurs, the controller expects writes to icw2, icw3, and icw4 to complete the initialization sequence. bit description 7:5 icw/ocw select ?wo. these bits are mcs-85 specific, and not needed. 000 = should be programmed to ?000? 4 icw/ocw select ?wo. 1 = this bit must be a 1 to select icw1 and enable the icw2, icw3, and icw4 sequence. 3 edge/level bank select (ltim) ?wo. disabled. replaced by the edge/level triggered control registers (elc r, d31:f0:4d0h, d31:f0:4d1h). 2 adi?wo. 0 = ignored for the pch. should be programmed to 0. 1 single or cascade (sngl) ?wo. 0 = must be programmed to a 0 to indicate two controllers operating in cascade mode. 0 icw4 write required (ic4) ?wo. 1 = this bit must be programmed to a 1 to indicate that icw4 needs to be programmed.
datasheet 505 lpc interface bridge registers (d31:f0) 13.4.3 icw2?initialization command word 2 register offset address: master controller ? 21h attribute: wo slave controller ? a1h size: 8 bit /controller default value: all bits undefined icw2 is used to initialize the interrupt contro ller with the five most significant bits of the interrupt vector address. the value programmed for bits[7:3] is used by the processor to define the base address in the interrupt vector table for the interrupt routines associated with each irq on the controller. typical isa icw2 values are 08h for the master controller and 70h for the slave controller. 13.4.4 icw3?master controller initialization command word 3 register offset address: 21h attribute: wo default value: all bits undefined size: 8 bits bit description 7:3 interrupt vector base address ?wo. bits [7:3] define the base address in the interrupt vector table for the interrupt routines as sociated with each interrupt request level input. 2:0 interrupt request level ?wo. when writing icw2, these bi ts should all be 0. during an interrupt acknowledge cycle, these bits are programmed by the interrupt controller with the interrupt to be serviced. this is combined with bits [7:3] to form the interrupt vector driven onto the data bus during the second inta# cycle. the code is a three bit binary code: 000b irq0 irq8 001b irq1 irq9 010b irq2 irq10 011b irq3 irq11 100b irq4 irq12 101b irq5 irq13 110b irq6 irq14 111b irq7 irq15 bit description 7:3 0 = these bits must be programmed to 0. 2 cascaded interrupt controller irq connection ?wo. this bit indicates that the slave controller is cascaded on irq2. when irq8#?irq15 is asserted, it goes through the slave controller?s priority resolver. the slave controller?s intr output onto irq2. irq2 then goes through the master controller ?s priority solver. if it wins, the intr signal is asserted to the processor, and th e returning interrupt ac knowledge returns the interrupt vector for the slave controller. 1 = this bit must always be programmed to a 1. 1:0 0 = these bits must be programmed to 0.
lpc interface bridge registers (d31:f0) 506 datasheet 13.4.5 icw3?slave controlle r initialization command word 3 register offset address: a1h attribute: wo default value: all bits undefined size: 8 bits 13.4.6 icw4?initialization command word 4 register offset address: master controller ? 021h attribute: wo slave controller ? 0a1h size: 8 bits default value: 01h bit description 7:3 0 = these bits must be programmed to 0. 2:0 slave identification code ?wo. these bits are compared against the slave identification code broadcast by the master co ntroller from the traili ng edge of the first internal inta# pulse to the trailing edge of the second internal inta# pulse. these bits must be programmed to 02h to match the code broadcast by th e master controller. when 02h is broadcast by the master contro ller during the inta# sequence, the slave controller assumes responsibility fo r broadcasting the interrupt vector. bit description 7:5 0 = these bits must be programmed to 0. 4 special fully nested mode (sfnm) ?wo. 0 = should normally be disabled by writing a 0 to this bit. 1 = special fully nested mode is programmed. 3 buffered mode (buf) ?wo. 0 = must be programmed to 0 for th e pch. this is non-buffered mode. 2 master/slave in buffered mode ?wo. not used. 0 = should always be programmed to 0. 1 automatic end of interrupt (aeoi) ?wo. 0 = this bit should normally be programmed to 0. this is the norm al end of interrupt. 1 = automatic end of interrupt (aeoi) mode is programmed. 0 microprocessor mode ?wo. 1 = must be programmed to 1 to indicate that the controller is operating in an intel architecture-based system.
datasheet 507 lpc interface bridge registers (d31:f0) 13.4.7 ocw1?operational contro l word 1 (interrupt mask) register offset address: master controller ? 021h attribute: r/w slave controller ? 0a1h size: 8 bits default value: 00h 13.4.8 ocw2?operational co ntrol word 2 register offset address: master controller ? 020h attribute: wo slave controller ? 0a0h size: 8 bits default value: bit[4:0]=undefined, bit[7:5]=001 following a part reset or icw initialization, the controller enters the fully nested mode of operation. non-specific eoi without rotati on is the default. both rotation mode and specific eoi mode are disabl ed following initialization. bit description 7:0 interrupt request mask ?r/w. when a 1 is written to any bit in this register, the corresponding irq line is masked. when a 0 is written to any bit in this register, the corresponding irq mask bit is cleared, and in terrupt requests will again be accepted by the controller. masking irq2 on the master controller will also mask the interrupt requests from the slave controller. bit description 7:5 rotate and eoi codes (r, sl, eoi)?wo. these three bits control the rotate and end of interrupt modes and combinations of the two. 000 = rotate in auto eoi mode (clear) 001 = non-specific eoi command 010 = no operation 011 = *specific eoi command 100 = rotate in auto eoi mode (set) 101 = rotate on non-specific eoi command 110 = *set priority command 111 = *rotate on specific eoi command *l0 ? l2 are used 4:3 ocw2 select ?wo. when selecting ocw2, bits 4:3 = 00 2:0 interrupt level select (l2, l1, l0)?wo. l2, l1, and l0 determine the interrupt level acted upon when the sl bit is active. a simp le binary code, outlined below, selects the channel for the command to act upon. when the sl bit is inactive, these bits do not have a defined function; programming l2, l1 and l0 to 0 is sufficient in this case. 000b irq0/8 000b irq4/12 001b irq1/9 001b irq5/13 010b irq2/10 010b irq6/14 011b irq3/11 011b irq7/15
lpc interface bridge registers (d31:f0) 508 datasheet 13.4.9 ocw3?operational control word 3 register offset address: master controller ? 020h attribute:wo slave controller ? 0a0h size: 8 bits default value: bit[6,0]=0, bit[7,4:2]=undefined, bit[5,1]=1 bit description 7 reserved. must be 0. 6 special mask mode (smm) ?wo. 1 = the special mask mode can be used by an interrupt service routine to dynamically alter the system priority structure while th e routine is executing, through selective enabling/disabling of the other channel's ma sk bits. bit 5, the esmm bit, must be set for this bit to have any meaning. 5 enable special mask mode (esmm) ?wo. 0 = disable. the smm bit becomes a ?don't care?. 1 = enable the smm bit to set or reset the special mask mode. 4:3 ocw3 select ?wo. when selecting ocw3, bits 4:3 = 01 2 poll mode command ?wo. 0 = disable. poll command is not issued. 1 = enable. the next i/o read to the interr upt controller is treated as an interrupt acknowledge cycle. an encode d byte is driven onto the data bus, repr esenting the highest priority level requesting service. 1:0 register read command ?wo. these bits provide control for reading the in-service register (isr) and the interrupt request register (irr). when bit 1=0, bit 0 will not affect the register read sele ction. when bit 1=1, bit 0 selects the register status returned following an ocw3 read. if bit 0=0, the irr will be read . if bit 0=1, the isr will be read. following icw initialization, th e default ocw3 port address read will be ?read irr?. to retain the curre nt selection (read isr or read irr), always write a 0 to bit 1 when programming this register. the selected regist er can be read repeatedly without reprogramming ocw3. to select a new status regist er, ocw3 must be reprogrammed prior to attempting the read. 00 = no action 01 = no action 10 = read irq register 11 = read is register
datasheet 509 lpc interface bridge registers (d31:f0) 13.4.10 elcr1?master controller edge/level triggered register offset address: 4d0h attribute: r/w default value: 00h size: 8 bits in edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. in level mode (bit[x] = 1), the interrupt is recognized by a high level. the cascade channel, irq2, the heart beat timer (irq0), and the keyboard controller (irq1), cannot be put into level mode. bit description 7 irq7 ecl ?r/w. 0 = edge. 1 = level. 6 irq6 ecl ?r/w. 0 = edge. 1 = level. 5 irq5 ecl ?r/w. 0 = edge. 1 = level. 4 irq4 ecl ?r/w. 0 = edge. 1 = level. 3 irq3 ecl ?r/w. 0 = edge. 1 = level. 2:0 reserved. must be 0.
lpc interface bridge registers (d31:f0) 510 datasheet 13.4.11 elcr2?slave controller edge/level triggered register offset address: 4d1h attribute: r/w default value: 00h size: 8 bits in edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. in level mode (bit[x] = 1), the interrupt is recogn ized by a high level. the real time clock, irq8#, and the floating point error interrup t, irq13, cannot be programmed for level mode. bit description 7 irq15 ecl ?r/w. 0 = edge 1 = level 6 irq14 ecl ?r/w. 0 = edge 1 = level 5 reserved. must be 0. 4 irq12 ecl ?r/w. 0 = edge 1 = level 3 irq11 ecl ?r/w. 0 = edge 1 = level 2 irq10 ecl ?r/w. 0 = edge 1 = level 1 irq9 ecl ?r/w. 0 = edge 1 = level 0 reserved. must be 0.
datasheet 511 lpc interface bridge registers (d31:f0) 13.5 advanced programmable interrupt controller (apic) 13.5.1 apic register map the apic is accessed using an indirect addr essing scheme. two registers are visible by software for manipulation of most of the apic registers. these registers are mapped into memory space. the address bits 19:12 of the address range are programmable through bits 7:0 of oic register (chipset config registers:offset 31feh) the registers are shown in table 13-4 . table 13-5 lists the registers which can be accessed within the apic using the index register. when accessing these registers, accesses must be done one dword at a time. for example, software should never access byte 2 from the data register before accessing bytes 0 and 1. the hardware will not attempt to recover from a bad programming model in this case. 13.5.2 ind?index register memory address fec _ _ 0000h attribute: r/w default value: 00h size: 8 bits the index register will select which apic indirect register to be manipulated by software. the selector values for the indirect registers are listed in table 13-5 . software will program this register to select the desired apic internal register . table 13-4. apic direct registers address mnemonic register name size type fec_ _0000h ind index 8 bits r/w fec_ _0010h dat data 32 bits r/w fec_ _0040h eoir eoi 32 bits wo table 13-5. apic indirect registers index mnemonic register name size type 00 id identification 32 bits r/w 01 ver version 32 bits ro 02?0f ? reserved ? ro 10?11 redir_tbl0 redirection table 0 64 bits r/w, ro 12?13 redir_tbl1 redirection table 1 64 bits r/w, ro ... ... ... ... ... 3e?3f redir_tbl23 redirection table 23 64 bits r/w, ro 40?ff ? reserved ? ro bit description 7:0 apic index ?r/w. this is an 8-bit pointer into the i/o apic register table.
lpc interface bridge registers (d31:f0) 512 datasheet 13.5.3 dat?data register memory address fec _ _ 0000h attribute: r/w default value: 00000000h size: 32 bits this is a 32-bit register specifying the data to be read or written to the register pointed to by the index register. this register can only be accessed in dword quantities. 13.5.4 eoir?eoi register memory address fec _ _ 0000h attribute: r/w default value: n/a size: 32 bits the eoi register is present to provide a mechanism to maintain the level triggered semantics for level-triggered interrupts issued on the parallel bus. when a write is issued to this register, th e i/o apic will check the lower 8 bits written to this register, and compare it with the vector field for each entry in the i/o redirection table. when a match is found, the remote_irr bit (index offset 10h, bit 14) for that i/o redirection entry will be cleared. note: if multiple i/o redirection entries, for any reason, assign the same vector for more than one interrupt input, each of those entr ies will have the remote_irr bit reset to 0. the interrupt, which was prematurely reset, will not be lost because if its input remained active when the remote_irr bit wa s cleared, the interrupt will be reissued and serviced at a later time. note that only bits 7:0 are actually used. bits 31:8 are ignored by the pch. note: to provide for future expansion, the processor should always write a value of 0 to bits 31:8. bit description 7:0 apic data ?r/w. this is a 32-bit register for the data to be read or written to the apic indirect register ( figure 13-5 ) pointed to by the index register (memory address fec0_0000h). bit description 31:8 reserved. to provide for future expansion, th e processor should always write a value of 0 to bits 31:8. 7:0 redirection entry clear ?wo. when a write is issued to this register, the i/o apic will check this field, and compare it with th e vector field for each entry in the i/o redirection table. when a match is found, the remote_irr bit for that i/o redirection entry will be cleared.
datasheet 513 lpc interface bridge registers (d31:f0) 13.5.5 id?identification register index offset: 00h attribute: r/w default value: 00000000h size: 32 bits the apic id serves as a physical name of the apic. the apic bus arbitration id for the apic is derived from its i/o apic id. this register is reset to 0 on power-up reset. 13.5.6 ver?version register index offset: 01h attribute: ro, rwo default value: 00170020h size: 32 bits each i/o apic contains a hardwired version register that identifies different implementation of apic and their versions. the maximum redirection entry information also is in this register, to let software know how many interrupt are supported by this apic. bit description 31:28 reserved 27:24 apic id ?r/w. software must program this value before using the apic. 23:16 reserved 15 scratchpad bit. 14:0 reserved bit description 31:24 reserved 23:16 maximum redirection entries (mre)? rwo. this is the entry number (0 being the lowest entry) of the highest entry in the redi rection table. it is equal to the number of interrupt input pins minus one and is in th e range 0 through 239. in the pch this field is hardwired to 17h to indicate 24 interrupts. bios must write to this field after pltrst# to lockdown the value. this allows bios to use some of the entries for its own purp ose and thus advert ising fewer ioxapic redirection entries to the os. 15 pin assertion register supported (prq) ?ro. indicate that the ioxapic does not implement the pin assertion register. 14:8 reserved 7:0 version (vs) ?ro. this is a version number that identifies the implementation version.
lpc interface bridge registers (d31:f0) 514 datasheet 13.5.7 redir_tbl?redirection table index offset: 10h ? 11h (vector 0) through attribute:r/w, ro 3e ? 3fh (vector 23) default value: bit 16 = 1. all other bits undefined size: 64 bits each, (accessed as two 32 bit quantities) the redirection table has a dedicated entry for each interrupt input pin. the information in the redirection table is used to translate the interrupt manifestation on the corresponding interrupt pin into an apic message. the apic will respond to an edge triggered in terrupt as long as the interrupt is held until after the acknowledge cycle has begun. once the interrupt is detected, a delivery status bit internally to the i/o apic is set. the state machine will step ahead and wait for an acknowledgment from the apic unit that the interrupt message was sent. only then will the i/o apic be able to recognize a new edge on that interrupt pin. that new edge will only result in a new invocation of the handler if its acceptance by the destination apic causes the interrupt request register bit to go from 0 to 1. (in other words, if the interrupt was not already pending at the destination.) bit description 63:56 destination ?r/w. if bit 11 of this entry is 0 (physical), then bits 59:56 specifies an apic id. in this case, bits 63:59 should be programmed by software to 0. if bit 11 of this entry is 1 (logical), then bits 63:56 specify the logical destination address of a set of processors. 55:48 extended destination id (edid) ?ro. these bits are sent to a local apic only when in processor system bus mode. they become bits 11:4 of the address. 47:17 reserved 16 mask ?r/w. 0 = not masked: an edge or level on this in terrupt pin results in the delivery of the interrupt to the destination. 1 = masked: interrupts are not delivered nor held pending. setting this bit after the interrupt is accepted by a local apic has no effect on that inte rrupt. this behavior is identical to the device withdrawing th e interrupt before it is posted to the processor. it is software's responsibility to deal with the case where the mask bit is set after the interrupt message has been accepted by a local apic unit but before the interrupt is dispen sed to the processor. 15 trigger mode ?r/w. this field indicates the type of signal on the interrupt pin that triggers an interrupt. 0 = edge triggered. 1 = level triggered. 14 remote irr ?r/w. this bit is used for level tr iggered interrupts; its meaning is undefined for edge triggered interrupts. 0 = reset when an eoi message is received from a local apic. 1 = set when local apic/s accept the level interrupt sent by the i/o apic. 13 interrupt input pin polarity ?r/w. this bit specifies the polarity of each interrupt signal connected to the interrupt pins. 0 = active high. 1 = active low. 12 delivery status ?ro. this field contains the current st atus of the delivery of this interrupt. writes to this bit have no effect. 0 = idle. no activity for this interrupt. 1 = pending. interrupt has been inject ed, but delivery is not complete.
datasheet 515 lpc interface bridge registers (d31:f0) note: delivery mode encoding: 000 = fixed. deliver the signal on the intr signal of all processor cores listed in the destination. trigger mode can be edge or level. 001 = lowest priority. deliver the signal on th e intr signal of the processor core that is executing at the lowest priority among all the processors listed in the specified destination. trigger mode can be edge or level. 010 = smi (system management in terrupt). requires th e interrupt to be pr ogrammed as edge triggered. the vector informatio n is ignored but must be prog rammed to all 0s for future compatibility: not supported 011 = reserved 100 = nmi. deliver the signal on the nmi signal of all processor cores listed in the destination. vector information is ignored. nmi is treated as an edge triggered inte rrupt even if it is programmed as level tr iggered. for proper operation this redirection tabl e entry must be programmed to edge triggered. the nmi delivery mode does not set the rirr bit. if the redirection table is incorrectly set to level, the loop count wi ll continue counting through the redirection table addresses. once the co unt for the nmi pin is reached again, the interrupt will be sent again: not supported 101 = init. deliver the signal to all processor co res listed in the destination by asserting the init signal. all addressed local apics will assume their init st ate. init is always treated as an edge triggered interru pt even if programmed as le vel triggered. for proper operation this redirection tabl e entry must be programmed to edge triggered. the init delivery mode does not set the rirr bit. if th e redirection table is incorrectly set to level, the loop count will continue counting through the redirection table addresses. once the count for the init pin is reached again, the interrupt will be sent again: not supported 110 = reserved 111 = extint. deliver the signal to the intr signal of all processor cores listed in the destination as an interrupt that originated in an ex ternally connected 8259a compatible interrupt controller. the inta cycle that corresponds to this extint delivery wi ll be routed to the external controller that is expected to supply th e vector. requires the interrupt to be programmed as edge triggered. 11 destination mode ?r/w. this field determines the in terpretation of the destination field. 0 = physical. destination apic id is identified by bits 59:56. 1 = logical. destinations are identified by matching bit 63:56 with the logical destination in the destination format regi ster and logical destination register in each local apic. 10:8 delivery mode ?r/w. this field specifies how the apics listed in the destination field should act upon reception of this signal. ce rtain delivery modes will only operate as intended when used in conjunction with a specific trigger mode . these encodings are listed in the note below: 7:0 vector ?r/w. this field contains the interrupt vector for th is interrupt. values range between 10h and feh. bit description
lpc interface bridge registers (d31:f0) 516 datasheet 13.6 real time clock registers 13.6.1 i/o register address map the rtc internal registers and ram are or ganized as two banks of 128 bytes each, called the standard and extended banks. th e first 14 bytes of the standard bank contain the rtc time and date information alon g with four registers, a?d, that are used for configuration of the rtc. the extended bank contains a full 128 bytes of battery backed sram, and will be accessible even when the rtc module is disabled (using the rtc configuration register). registers a?d do not physically exist in the ram. all data movement between the host processor and the real-time clock is done through registers mapped to the standard i/o space. the register map appears in table 13-6 . notes: 1. i/o locations 70h and 71h are the standard legacy location for the real-time clock. the map for this bank is shown in ta b l e 13-7 . locations 72h and 73h are for accessing the extended ram. the extended ram bank is also accessed using an indexed scheme. i/o address 72h is used as the address pointer and i/o address 73h is used as the data register. index addresses above 127h are not valid. if the extended ram is not needed, it may be disabled. 2. software must preserve the value of bit 7 at i/o addresses 70h and 74h. when writing to this address, software must first read the value, and then write the same value for bit 7 during the sequential address write. note that port 70h is not directly readable. the only way to read this register is through alt access mode. although rtc index bits 6:0 are readable from port 74h, bit 7 will always return 0. if the nmi# enable is not changed during normal operation, software can alternatively read this bit once and then retain the value for all subsequent writes to port 70h. table 13-6. rtc i/o registers i/o locations if u128e bit = 0 function 70h and 74h also alias to 72h and 76h real-t ime clock (standard ram) index register 71h and 75h also alias to 73h and 77h real-t ime clock (standard ram) target register 72h and 76h extended ram in dex register (if enabled) 73h and 77h extended ram target register (if enabled)
datasheet 517 lpc interface bridge registers (d31:f0) 13.6.2 indexed registers the rtc contains two sets of indexed registers that are accessed using the two separate index and target registers (70/71h or 72/73h), as shown in table 13-7 . table 13-7. rtc (standard) ram bank index name 00h seconds 01h seconds alarm 02h minutes 03h minutes alarm 04h hours 05h hours alarm 06h day of week 07h day of month 08h month 09h year 0ah register a 0bh register b 0ch register c 0dh register d 0eh?7fh 114 bytes of user ram
lpc interface bridge registers (d31:f0) 518 datasheet 13.6.2.1 rtc_rega?register a rtc index: 0a attribute: r/w default value: undefined size: 8-bit lockable: no power well: rtc this register is used for general configuratio n of the rtc functions. none of the bits are affected by rsmrst# or any other pch reset signal. bit description 7 update in progress (uip)? r/w. this bit may be monitored as a status flag. 0 = the update cycle will not start for at least 488 s. the time , calendar, and alarm information in ram is always available when the uip bit is 0. 1 = the update is soon to occur or is in progress. 6:4 division chain select (dv[2:0])? r/w. these three bits contro l the divider chain for the oscillator, and are not affected by rsmrst# or any other reset signal. 010 = normal operation 11x = divider reset 101 = bypass 15 stages (test mode only) 100 = bypass 10 stages (test mode only) 011 = bypass 5 stages (test mode only) 001 = invalid 000 = invalid 3:0 rate select (rs[3:0])? r/w. selects one of 13 taps of the 15 stage divider chain. the selected tap can generate a pe riodic interrupt if the pie bit is set in register b. otherwise this tap will set the pf flag of regist er c. if the periodic interrupt is not to be used, these bits should all be se t to 0. rs3 corresponds to bit 3. 0000 = interrupt never toggles 0001 = 3.90625 ms 0010 = 7.8125 ms 0011 = 122.070 s 0100 = 244.141 s 0101 = 488.281 s 0110 = 976.5625 s 0111 = 1.953125 ms 1000 = 3.90625 ms 1001 = 7.8125 ms 1010 = 15.625 ms 1011 = 31.25 ms 1100 = 62.5 ms 1101 = 125 ms 1110 = 250 ms 1111= 500 ms
datasheet 519 lpc interface bridge registers (d31:f0) 13.6.2.2 rtc_regb?register b (general configuration) rtc index: 0bh attribute: r/w default value: u0u00uuu (u: undefined) size: 8-bit lockable: no power well: rtc bit description 7 update cycle inhibit (set)? r/w. enables/inhibits the update cycles. this bit is not affected by rsmrst# nor any other reset signal. 0 = update cycle occurs normally once each second. 1 = a current update cycle will abort and subs equent update cycles will not occur until set is returned to 0. when set is one, the bios may initialize time and calendar bytes safely. note: this bit should be set then cleared ea rly in bios post after each powerup directly after coin-cell battery insertion. 6 periodic interrupt enable (pie) ?r/w. this bit is cleared by rsmrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur with a time base set with the rs bits of register a. 5 alarm interrupt enable (aie) ?r/w. this bit is cleared by rtcrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur when the af is set by an alarm match from the update cycle. an alarm can occur once a second, one an hour, once a day, or one a month. 4 update-ended interrupt enable (uie) ?r/w. this bit is cleared by rsmrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur when the update cycle ends. 3 square wave enable (sqwe)? r/w. this bit serves no function in the pch. it is left in this register bank to provide compatib ility with the motorola 146818b. the pch has no sqw pin. this bit is cleared by rsmrst#, but not on any other reset. 2 data mode (dm)? r/w. this bit specifies either binary or bcd data representation. this bit is not affected by rs mrst# nor any othe r reset signal. 0 = bcd 1 = binary 1 hour format (hourform)? r/w. this bit indicates the hour byte format. this bit is not affected by rsmrst# nor any other reset signal. 0 = twelve-hour mode. in twelve-hour mode, the seventh bit represents am as 0 and pm as one. 1 = twenty-four hour mode. 0 daylight savings legacy software support (dslsws)? r/w. daylight savings functionality is no longer supported. this bit is used to maintain legacy software support and has no associated functionality. if buc.dso bit is set, the dslsws bit continues to be r/w.
lpc interface bridge registers (d31:f0) 520 datasheet 13.6.2.3 rtc_regc?register c (flag register) rtc index: 0ch attribute: ro default value: 00u00000 (u: undefined) size: 8-bit lockable: no power well: rtc writes to register c have no effect. 13.6.2.4 rtc_regd?register d (flag register) rtc index: 0dh attribute: r/w default value: 10uuuuuu (u: undefined) size: 8-bit lockable: no power well: rtc bit description 7 interrupt request flag (irqf)? ro. irqf = (pf * pie) + (af * aie) + (uf *ufe). this bit also causes the rtc interrupt to be asserted. this bit is cleared upon rsmrst# or a read of register c. 6 periodic interrupt flag (pf)? ro. this bit is cleared upon rsmrst# or a read of register c. 0 = if no taps are specified using the rs bits in register a, this flag will not be set. 1 = periodic interrupt flag will be 1 when the ta p specified by the rs bits of register a is 1. 5 alarm flag (af)? ro. 0 = this bit is cleared upon rtcrst# or a read of register c. 1 = alarm flag will be set after all alarm values match the current time. 4 update-ended flag (uf)? ro. 0 = the bit is cleared upon rsmrst# or a read of register c. 1 = set immediately following an update cycle for each second. 3:0 reserved. will always report 0. bit description 7 valid ram and time bit (vrt) ?r/w. 0 = this bit should always be written as a 0 fo r write cycle, however it will return a 1 for read cycles. 1 = this bit is hardwired to 1 in the rtc power well. 6 reserved. this bit always returns a 0 an d should be set to 0 for write cycles. 5:0 date alarm ?r/w. these bits store the date of month alarm value. if set to 000000b, then a don?t care state is assumed. the ho st must configure the date alarm for these bits to do anything, yet they can be writ ten at any time. if th e date alarm is not enabled, these bits will return 0s to mimic the functionality of the motorola 146818b. these bits are not affected by any reset assertion.
datasheet 521 lpc interface bridge registers (d31:f0) 13.7 processor interface registers table 13-8 is the register address map for the processor interface registers. 13.7.1 nmi_sc?nmi status and control register i/o address: 61h attribute: r/w, ro default value: 00h size: 8-bit lockable: no power well: core table 13-8. processor interfac e pci register address map offset mnemonic register name default type 61h nmi_sc nmi status and control 00h r/w, ro 70h nmi_en nmi enable 80h r/w (special) 92h port92 fast a20 and init 00h r/w f0h coproc_err coprocessor error 00h wo cf9h rst_cnt reset control 00h r/w bit description 7 serr# nmi source status (serr#_nmi_sts)? ro. 1 = bit is set if a pci agent detected a syst em error and pulses the pci serr# line and if bit 2 (pci_serr_en) is clea red. this interrupt source is enabled by setting bit 2 to 0. to reset the interrupt, set bit 2 to 1 and then set it to 0. when writing to port 61h, this bit must be 0. note: this bit is set by any of the pch internal sources of serr; this includes serr assertions forwarded from the secondary pci bus, errors on a pci express* port, or other internal func tions that generate serr#. 6 iochk# nmi source status (iochk_nmi_sts)? ro. 1 = bit is set if an lpc agent (using serirq) asserted iochk# and if bit 3 (iochk_nmi_en) is cleared. this interrupt source is enabled by setting bit 3 to 0. to reset the interrupt, set bit 3 to 1 and then set it to 0. when writing to port 61h, this bit must be a 0. 5 timer counter 2 out status (tmr2_out_sts)? ro. this bit reflects the current state of the 8254 counter 2 output. counter 2 must be programmed following any pci reset for this bit to have a determinate value. when writin g to port 61h, this bit must be a 0. 4 refresh cycle toggle (ref_toggle)? ro. this signal toggles from either 0 to 1 or 1 to 0 at a rate that is equivalent to when refresh cycles would oc cur. when writing to port 61h, this bit must be a 0. 3 iochk# nmi enable (iochk_nmi_en)? r/w. 0 = enabled. 1 = disabled and cleared. 2 pci serr# enable (pci_serr_en)? r/w. 0 = serr# nmis are enabled. 1 = serr# nmis are disabled and cleared. 1 speaker data enable ( spkr_dat_en)? r/w. 0 = spkr output is a 0. 1 = spkr output is equivalent to the counter 2 out signal value. 0 timer counter 2 enable (tim_cnt2_en)? r/w. 0 = disable 1 = enable
lpc interface bridge registers (d31:f0) 522 datasheet 13.7.2 nmi_en?nmi enable (and real time clock index) register i/o address: 70h attribute: r/w (special) default value: 80h size: 8-bit lockable: no power well: core note: the rtc index field is write-only for normal op eration. this field can only be read in alt- access mode. note, however, that this register is aliased to port 74h (documented in ta b l e 13-6 ), and all bits are readable at that address. 13.7.3 port92?fast a20 and init register i/o address: 92h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 13.7.4 coproc_err?coproc essor error register i/o address: f0h attribute: wo default value: 00h size: 8-bits lockable: no power well: core bits description 7 nmi enable (nmi_en)? r/w (special). 0 = enable nmi sources. 1 = disable all nmi sources. 6:0 real time clock index address (rtc_indx)? r/w (special). this data goes to the rtc to select which register or cm os ram address is being accessed. bit description 7:2 reserved 1 alternate a20 gate (alt_a20_gate)? r/w. this bit is or?d with the a20gate input signal to generate a20m# to the processor. 0 = a20m# signal can potentially go active. 1 = this bit is set when init# goes active. 0 init_now ?r/w. when this bit transitions from a 0 to a 1, the pch will force init# active for 16 pci clocks. bits description 7:0 coprocessor error (coproc_err) ?wo. any value written to this register will cause ignne# to go active, if ferr# had ge nerated an internal irq13. for ferr# to generate an internal irq1 3, the cen bit must be 1.
datasheet 523 lpc interface bridge registers (d31:f0) 13.7.5 rst_cnt?reset control register i/o address: cf9h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core bit description 7:4 reserved 3 full reset (full_rst)? r/w. this bit is used to dete rmine the states of slp_s3#, slp_s4#, and slp_s5# after a cf9 hard rese t (sys_rst =1 and rst_cpu is set to 1), after pwrok going low (with rsmrst# high), or after two tco timeouts. 0 = pch will keep slp_s3#, slp_s4# and slp_s5# high. 1 = pch will drive slp_s3#, slp_s4 # and slp_s5# low for 3?5 seconds. note: when this bit is set, it also causes the full power cycle (slp_s3/4/5# assertion) in response to sys_reset#, pwrok# , and watchdog timer reset sources. 2 reset cpu (rst_cpu)? r/w. when this bit transitions from a 0 to a 1, it initiates a hard or soft reset, as de termined by the sys_rst bit (bit 1 of this register). 1 system rese t (sys_rst)? r/w. this bit is used to determine a hard or soft reset to the processor. 0 = when rst_cpu bit goes from 0 to 1, the pch performs a soft reset by activating init# for 16 pci clocks. 1 = when rst_cpu bit goes from 0 to 1, the pch performs a hard reset by activating pltrst# and sus_stat# active for a mini mum of about 1 milliseconds. in this case, slp_s3#, slp_s4# and slp_s5# state (assertion or de-assertion) depends on full_rst bit setting. the pch main power well is reset when this bit is 1. it also resets the resume we ll bits (except for those noted throughout the eds). 0 reserved
lpc interface bridge registers (d31:f0) 524 datasheet 13.8 power management registers (pm?d31:f0) the power management registers are distributed within the pci device 31: function 0 space, as well as a separate i/o range. each register is described below. unless otherwise indicate, bits are in the main (core) power well. bits not explicitly defined in each register are assumed to be reserved. when writing to a reserved bit, the value should always be 0. software should not attempt to use the value read from a reserved bit, as it may not be consistently 1 or 0. 13.8.1 power management pci configuration registers (pm?d31:f0) table 13-9 shows a small part of the configuration space for pci device 31: function 0. it includes only those registers dedicated for power management. some of the registers are only used for legacy power management schemes. 13.8.1.1 gen_pmcon_1?general pm configuration 1 register (pm?d31:f0) offset address: a0h attribute: r/w, ro, r/wo default value: 0000h size: 16-bit lockable: no usage: acpi, legacy power well: core table 13-9. power management pci register address map (pm?d31:f0) offset mnemonic register name default type a0h gen_pmcon_1 general power management configuration 1 0000h r/w, r/wo, ro a2h gen_pmcon_2 general power management configuration 2 00h r/w, r/wc, ro a4h gen_pmcon_3 general power management configuration 3 00h r/w, r/wc a6h gen_pmcon_lo ck general power management configuration lock 00h ro, r/wlo a9h cir4 chipset initialization register 4 01h r/w abh bm_break_en bm_break_en 00h r/w ach pmir power management initialization 00000000h r/w, r/wl b8?bbh gpi_rout gpi route control 00000000h r/w bit description 15:11 reserved 10 bios_pci_exp_en ?r/w. this bit acts as a global enable for the sci associated with the pci express* ports. 0 = the various pci express ports and processor cannot cause the pci_exp_sts bit to go active. 1 = the various pci express ports and proc essor can cause the pci_exp_sts bit to go active. 9 pwrbtn_lvl ?ro. this bit indicates the current state of the pwrbtn# signal. 0 = low. 1 = high.
datasheet 525 lpc interface bridge registers (d31:f0) 13.8.1.2 gen_pmcon_2?general pm configuration 2 register (pm?d31:f0) offset address: a2h attribute: r/w, ro, r/wc default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: resume 8:5 reserved 4 smi_lock? r/wo. when this bit is set, writes to the glb_smi_en bit (pmbase + 30h, bit 0) will have no effect. once th e smi_lock bit is set, writes of 0 to smi_lock bit will have no effect (that is, once set, this bit ca n only be cleared by pltrst#). 3 (mobile only) reserved 3 (desktop only) pseudo clkrun_en(pseudo_clkrun_en)? r/w. 0 = disable. 1 = enable internal clkrun# logic to allow dmi pll shutdown. this bit has no impact on state of external clkrun# pin. notes: 1. pseudo_clkrun_en bit does not result in stp_pci# assertion to actually stop the external pciclk. 2. this bit should be set mutually excl usive with the clkrun_en bit. setting pseudo_clkrun_en in a mobile sku could result in unspecified behavior. 2 (mobile only) pci clkrun# enable (clkrun_en)? r/w. 0 = disable. pch drives the clkrun# signal low. 1 = enable clkrun# logic to control the system pci clock us ing the clkrun# and stp_pci# signals. notes: 1. when the slp_en# bit is set, the pch drives the clkrun# signal low regardless of the state of the clkrun_e n bit. this ensures that the pci and lpc clocks continue running during a transition to a sleep state. 2. this bit should be set mutually exclusive with the pseudo_clkrun_en bit. setting clkrun_en in a non-mobile sku could result in unspecified behavior. 2 (desktop only) reserved 1:0 periodic smi# rate select (per_smi_sel) ?r/w. set by software to control the rate at which periodic smi# is generated. 00 = 64 seconds 01 = 32 seconds 10 = 16 seconds 11 = 8 seconds bit description bit description 7 dram initialization bit ?r/w. this bit does not effect hardware functionality in any way. bios is expected to set this bit prior to starting the dram initialization sequence and to clear this bit after completing the dram initialization sequence. bios can detect that a dram initialization sequence was interru pted by a reset by re ading this bit during the boot sequence. ? if the bit is 1, then the dram initialization was interrupted. ? this bit is reset by the as sertion of the rsmrst# pin.
lpc interface bridge registers (d31:f0) 526 datasheet 6 reserved 5 memory placed in se lf-refresh (mem_sr) ?ro. ? if the bit is 1, dram should have rema ined powered and held in self-refresh through the last power state transition (that is, the last time the system left s0). ? this bit is reset by the assertion of the rsmrst# pin. 4 system reset status (srs)? r/wc. software clears this bit by writing a 1 to it. 0 = sys_reset# button not pressed. 1 = pch sets this bit when the sys_reset# button is pressed. bi os is expected to read this bit and clear it, if it is set. notes: 1. this bit is also reset by rsmrst# and cf9h resets. 2. the sys_reset# is implemented in th e main power well. this pin must be properly isolated and masked to preven t incorrectly setting this suspend well status bit. 3 cpu thermal trip status (cts)? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when pltrst# is inactive and thrmtrip# goes active while the system is in an s0 or s1 state. notes: 1. this bit is also reset by rsmrst#, an d cf9h resets. it is not reset by the shutdown and reboot associated with the cputhrmtrip# event. 2. the cf9h reset in the desc ription refers to cf9h ty pe core well reset which includes sys_rst#, pwrok/ sys_pwrok low, smbus hard reset, tco timeout. this type of reset will clear cts bit. 2 minimum slp_s4# assertion width violation status ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = hardware sets this bit when the slp_s4 # assertion width is less than the time programmed in the slp_s4# minimum assertion width fi eld (d31:f0:offset a4h:bits 5:4). the pch begi ns the timer when slp_s4# is asserted during s4/s5 entry, or when the rsmrst# input is de-asserted during g3 exit. note that this bit is functional regard less of the value in the slp_ s4# assertion stretch enable (d31:f0:offset a4h:bit 3). note: this bit is reset by the a ssertion of the rsmrst# pin, but can be set in some cases before the default value is readable. 1 reserved 0 pwrok failure (pwrok_flr)? r/wc. 0 = software clears this bit by writing a 1 to it, or when the system goes into a g3 state. 1 = this bit will be set any time pwrok goes low, wh en the system was in s0, or s1 state. note: see chapter 5.13.10.3 for more details about th e pwrok pin functionality. bit description
datasheet 527 lpc interface bridge registers (d31:f0) 13.8.1.3 gen_pmcon_3?general pm configuration 3 register (pm?d31:f0) offset address: a4h attribute: r/w, r/wc default value: 00h size: 16-bit lockable: no usage: acpi, legacy power well: rtc, sus bit description 15 pme b0 s5 disable (pme_b0_s5_dis) ?r/w. when set to 1, this bit blocks wake events from pme_b0_sts in s5, re gardless of the state of pme_b0_en. when cleared (default), wake events fr om pme_b0_sts are allowed in s5 if pme_b0_en = 1. wakes from power states other than s5 are not affected by this policy bit. the net effect of setting pme_b0_s5_dis = '1' is described by the truth table below: y = wake; n = don't wake; b0 = pme_b0_en; ov = wol enable override this bit is cleared by the rtcrst# pin. 14 reserved 13 wol enable override? r/w. 0 = wol policies are determined by pmeb 0 enable bit and appropriate lan status bits 1 = enable integrated lan to wake the system in s5 only regardless of the value in the pme_b0_en bit in the gpe0_en register. this bit is cleared by the rtcrst# pin. 12 disable slp_s4# stretching after g3 : r/w 0 = enables stretching on slp_s4# in co njunction with slp_s4# assertion stretch enable (bit 3) and the minimum assertion width (bits 5:4) 1 = disables stretching on slp_s4# rega rdless of the state of the slp_s4# assertion stretch enable (bit 3). this bit is cleared by the rtcrst# pin. note: this field is ro when the slp_sx# stretching policy lock- down bit is set. 11:10 slp_s3# minimum assertion width: r/w this 2-bit value indicates the minimum assertion width of the slp_s3# si gnal to ensure th at the main power supplies have been fully power-cycled. valid settings are: 00 = 60?100 us 01 = 1?1.2 ms 10 = 50?50.2 ms 11 = 2?2.0002 s this bit is cleared by the rsmrst# pin. note: this field is ro when the slp_sx# stretching policy lock-down bit is set. b0/ov s1/s3/s4 s5 00 n n 01 n y (lan only) 11 y (all pme b0 sources) y (lan only) 10 y (all pme b0 sources) n
lpc interface bridge registers (d31:f0) 528 datasheet 9 general reset status (gen_rst_sts)?r/wc. this bit is set by hardware whenever pltrst# asserts for any reason other than going into a software- entered sleep state (using pm1cnt.slp_en write) or a suspend well power failure (rsmrst# pin assertion). bios is expected to consult and then write a 1 to clear this bit during the boot flow before de termining what action to take based on pm1_sts.wak_sts = 1. if gen_rst_sts = 1, the cold reset boot path should be followed rather than the resume path, regardless of the setting of wak_sts. this bit is cleared by the rsmrst# pin. 8 slp_lan# default value (slp_lan_default)? r/w. this bit specifies the value to drive on the slp_lan# pin when in sx/moff and me fw nor host bios has configured slp_lan#/gpio29 as an output. when this bit is set to 1 slp_lan# will default to be driven hi gh, when set to 0 slp_lan# wi ll default to be driven low. this bit will always determine slp_lan# behavior when in s4/s5/moff after a g3, in s5/moff after a host partition reset with power down and when in s5/moff due to an unconditional power down. this bit is cleared by rtcrst#. 7:6 swsmi_rate_sel ?r/w. this field indicates when the swsmi timer will time out. valid values are: 00 = 1.5 ms 0.6 ms 01 = 16 ms 4 ms 10 = 32 ms 4 ms 11 = 64 ms 4 ms these bits are not cleared by an y type of reset except rtcrst#. 5:4 slp_s4# minimum assertion width ?r/w. this field indicates the minimum assertion width of the slp_s4 # signal to ensure that th e drams have been safely power-cycled. valid values are: 11 = 1 second 10 = 2 seconds 01 = 3 seconds 00 = 4 seconds this value is used in two ways: 1. if the slp_s4# assertion width is ever shorter than this time, a status bit is set for bios to read when s0 is entered. 2. if enabled by bit 3 in this register , the hardware will prevent the slp_s4# signal from de-asserting within this minimum time period after asserting. rtcrst# forces this field to the conservative default state (00b). note: this field is ro when the slp_s4# st retching policy lock-down bit is set. 3 slp_s4# assertion stretch enable ?r/w. 0 = the slp_s4# minimum assertion time is 1 to 2 rtcclk. 1 = the slp_s4# signal minimally assert for the time specified in bits 5:4 of this register. this bit is cleared by rtcrst#. note: this bit is ro when the slp_s4# stre tching policy lock-down bit is set. 2 rtc power status (rtc_pwr_sts) ?r/w. this bit is set when rtcrst# indicates a weak or missing battery. the bit is not cleared by any type of reset. the bit will remain set until the so ftware clears it by writing a 0 back to this bit position. bit description
datasheet 529 lpc interface bridge registers (d31:f0) note: rsmrst# is sampled using the rtc clock. therefore, low times that are less than one rtc clock period may not be detected by the pch. 13.8.1.4 gen_pmcon_lock?general power management configuration lock register offset address: a6h attribute: ro, r/wlo default value: 00h size: 8-bit lockable: no usage: acpi power well: core c 1 power failure (pwr_flr)? r/wc. this bit is in the rtc well, and is not cleared by any type of reset except rtcrst#. 0 = indicates that the trickle current has not failed since the last time the bit was cleared. software clears this bit by writing a 1 to it. 1 = indicates that the trickle current (from the main battery or trickle supply) was removed or failed. note: clearing cmos in a pch-based platform can be done by using a jumper on rtcrst# or gpi, or using safemode strap. implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. 0 afterg3_en ?r/w. this bit determines what st ate to go to when power is re- applied after a power failure (g3 state). th is bit is in the rtc well and is only cleared by rtcr st# assertion. 0 = system will return to s0 stat e (boot) after power is re-applied. 1 = system will return to the s5 state (excep t if it was in s4, in which case it will return to s4). in the s5 state, the only enabled wake event is the power button or any enabled wake event that was preserved through the power failure. bit description bit description 7:3 reserved 2 slp_s4# stretching policy lock-down? r/wlo. when set to 1, this bit locks down the slp_s4# minimum assertion wi dth, the slp_s4# assertion stretch enable, the disable slp_s4# stretching after g3 and slp_s4# assertion stretch enable bits in the gen_pmcon_3 register, making them read-only. this bit becomes locked when a value of 1b is written to it. writes of 0 to this bit are always ignored. this bit is cleared by platform reset. 1 acpi_base_lock? r/wlo. when set to 1, this bit locks down the acpi base address register (abase) at offset 40h. the base a ddress field becomes read- only. this bit becomes locked when a value of 1b is written to it. writes of 0 to this bit are always ignored. once locked by writing 1, the only way to clear this bit is to perform a platform reset. 0reserved
lpc interface bridge registers (d31:f0) 530 datasheet 13.8.1.5 chipset initialization register 4 (pm?d31:f0) offset address: a9h attribute: r/w default value: 01h size: 8-bit lockable: no usage: acpi, legacy power well: core 13.8.1.6 bm_break_en register (pm?d31:f0) offset address: abh attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: core bit description 7:0 cir4 field 1 ?r/w. bios must program this field to 45h. bit description 7 storage_break_en? r/w. 0 = serial ata traffic will not act as a break event. 1 = serial ata traffic acts as a break event, serial ata master activity will cause bm_sts to be set and will cause a break from c3/c4. 6 pcie_break_en? r/w. 0 = pci express* traffic will not act as a break event. 1 = pci express traffic acts as a break even t, pci express master activity will cause bm_sts to be set and will cause a break from c3/c4. 5 pci_break_en? r/w. 0 = pci traffic will no t act as a break event. 1 = pci traffic acts as a break event, pci ma ster activity will ca use bm_sts to be set and will cause a break from c3/c4. 4:3 reserved 2 ehci_break_en? r/w. 0 = ehci traffic will not act as a break event. 1 = ehci traffic acts as a break event, ehci master activity will cause bm_sts to be set and will cause a break from c3/c4. 1 reserved 0 hda_break_en? r/w. 0 = intel ? high definition audio traffic will not act as a break event. 1 = intel ? high definition audio traffic acts as a break event, intel ? high definition audio master activity will cause bm_sts to be set and will cause a break from c3/ c4.
datasheet 531 lpc interface bridge registers (d31:f0) 13.8.1.7 pmir?power management in itialization register (pm?d31:f0) offset address: ach attribute: r/w default value: 00000000h size: 32-bit 0 13.8.1.8 gpio_rout?gpio routing control register (pm?d31:f0) offset address: b8h?bbh attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: resume note: gpios that are not implemented will not have the corresponding bits implemented in this register. 13.8.2 apm i/o decode table 13-10 shows the i/o registers associated with apm support. this register space is enabled in the pci device 31: function 0 space (apmdec_en), and cannot be moved (fixed i/o location). bit description 31:30 pmir field 1? r/w. bios must program these bits to 11b. note: in the manufacturing/debug envi ronments these bits will need to be left as default ?00h?. 29:21 reserved 20 cf9h global reset (cf9gr) ?r/w. when set, a cf9h write of 6h or eh will cause a global reset of both the host and intel ? me partitions. if this bit is cl eared, a cf9h write of 6h or eh will only reset the host partition. this bit field is not reset by a cf9h reset. note: bit 20 is read only when bit 31 set to 1. 19:0 pmir field 0 ?r/w. bios must program these bits to 00300h. bit description 31:30 gpio15 route ?r/w. see bits 1:0 for description. same pattern for gpio14 through gpio3 5:4 gpio2 route ?r/w. see bits 1: 0 for description. 3:2 gpio1 route ?r/w. see bits 1: 0 for description. 1:0 gpio0 route ?r/w. gpio can be routed to caus e an nmi, smi# or sci when the gpio[n]_sts bit is set. if the gpio0 is not set to an input, this field has no effect. if the system is in an s1?s5 state and if the gpe0_en bit is also set, then the gpio can cause a wake event, even if the gpio is no t routed to cause an nmi, smi# or sci. 00 = no effect. 01 = smi# (if corresponding alt_gpi_smi_en bit is also set) 10 = sci (if corresponding gpe0_en bit is also set) 11 = nmi (if corresponding gpi_nmi_en is also set) table 13-10. apm register map address mnemonic regis ter name default type b2h apm_cnt advanced power management control port 00h r/w b3h apm_sts advanced power management status port 00h r/w
lpc interface bridge registers (d31:f0) 532 datasheet 13.8.2.1 apm_cnt?advanced power ma nagement control port register i/o address: b2h attribute: r/w default value: 00h size: 8-bit lockable: no usage: legacy only power well: core 13.8.2.2 apm_sts?advanced power management status port register i/o address: b3h attribute: r/w default value: 00h size: 8-bit lockable: no usage: legacy only power well: core 13.8.3 power manageme nt i/o registers table 13-11 shows the registers associated with acpi and legacy power management support. these registers are enabled in the pci device 31: function 0 space (pm_io_en), and can be moved to any i/o lo cation (128-byte aligned). the registers are defined to support the acpi 3.0a spec ification, and use the same bit names. note: all reserved bits and registers will always re turn 0 when read, and will have no effect when written. bit description 7:0 used to pass an apm command between the os and the smi handler. writes to this port not only store data in the apmc regi ster, but also generates an smi# when the apmc_en bit is set. bit description 7:0 used to pass data between the os and the smi handler. basically, this is a scratchpad register and is not affected by any other register or functi on (other than a pci reset). table 13-11. acpi and legacy i/ o register map (sheet 1 of 2) pmbase + offset mnemonic register name acpi pointer default type 00h?01h pm1_sts pm1 status pm1a_evt_blk 0000h r/wc 02h?03h pm1_en pm1 enable pm1a_evt_blk+ 2 0000h r/w 04h?07h pm1_cnt pm1 control pm1a_cnt_blk 00000000h r/w, wo 08h?0bh pm1_tmr pm1 ti mer pmtmr_blk xx000000h ro 0ch?1fh ? reserved ? ? ? 20?27h gpe0_sts general purpose event 0 status gpe0_blk 00000000h r/wc 28?2fh gpe0_en general purpose event 0 enables gpe0_blk+8 00000000 00000000h r/w 30h?33h smi_en smi# control and enable 00000002h r/w, wo, r/wo 34h?37h smi_sts smi status 00000000h r/wc, ro 38h?39h alt_gp_smi_en altern ate gpi smi enable 0000h r/w 3ah?3bh alt_gp_smi_sts alternate gpi smi status 0000h r/wc
datasheet 533 lpc interface bridge registers (d31:f0) 13.8.3.1 pm1_sts?power management 1 status register i/o address: pmbase + 00h ( acpi pm1a_evt_blk ) attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 15: resume, except bit 11 in rtc if bit 10 or 8 in this register is set, an d the corresponding _en bit is set in the pm1_en register, then the pch will generate a wake event. once back in an s0 state (or if already in an s0 state when the event occurs ), the pch will also generate an sci if the sci_en bit is set, or an smi# if the sci_en bit is not set. note: bit 5 does not cause an smi# or a wake event. bit 0 does not cause a wake event but can cause an smi# or sci. 3ch?3dh uprwc usb per-port registers write control 0000h r/wc, ro, r/wo 3eh?41h ? reserved ? ? ? 42h gpe_cntl general purpose event control 00h ro, r/w 43h ? reserved ? ? ? 44h?45h devact_sts device activity status 0000h r/wc 46h?4fh ? reserved 50h pm2_cnt pm2 control pm2a_cnt_blk 00h r/w 51h?5fh ? reserved 60h?7fh ? reserved for tco ? ? ? table 13-11. acpi and legacy i/ o register map (sheet 2 of 2) pmbase + offset mnemonic register name acpi pointer default type bit description 15 wake status (wak_sts)? r/wc. this bit is not affected by hard resets caused by a cf9 write, but is reset by rsmrst#. 0 = software clears this bit by writing a 1 to it. 1 = set by hardware when the system is in one of the sleep states (using the slp_en bit) and an enabled wake event occurs. upon setting this bit, the pch will transition the system to the on state. if the afterg3_en bit is not set and a po wer failure (such as removed batteries) occurs without the slp_en bit set, the system will return to an s0 state when power returns, and the wak_sts bit will not be set. if the afterg3_en bit is set and a power fail ure occurs without the slp_en bit having been set, the system will go into an s5 state when power return s, and a subsequent wake event will cause the wak_sts bit to be set. note that any subsequent wake event would have to be caused by either a power bu tton press, or an enabled wake event that was preserved through the power fail ure (enable bit in the rtc well).
lpc interface bridge registers (d31:f0) 534 datasheet 14 pci express wake status (pciexpwak_sts)? r/wc. 0 = software clears this bit by writing a 1 to it. if the wake# pin is still active during the write or the pme message received indication has not been cleared in the root port, then the bit will remain active (that is, all inputs to this bit are level- sensitive). 1 = this bit is set by hardware to indicate that the system woke due to a pci express wakeup event. this wakeup event can be caused by the pci express wake# pin being active or receipt of a pci express pme message at a root port. this bit is set only when one of these events causes the system to transition from a non-s0 system power state to the s0 system power state. this bit is se t independent of the state of the pciexp_wake_dis bit. note: this bit does not itself cause a wake event or prevent entry to a sleeping state. thus, if the bit is 1 and the system is pu t into a sleeping state, the system will not automatically wake. 13:12 reserved 11 power button override status (pwrbtnor_sts)? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set any time a power button override occurs (that is, the power button is pressed for at least 4 consecutive second s), due to the corresponding bit in the smbus slave message, intel ? me initiated power bu tton override, intel ? me initiated host reset with power down or due to an internal thermal sensor catastrophic condition. the power butt on override causes an unconditional transition to the s5 state. the bios or sc i handler clears this bit by writing a 1 to it. this bit is not affected by hard rese ts using cf9h writes, and is not reset by rsmrst#. thus, this bit is preserved through power failures. note that if this bit is still asserted when the global sci_en is set then an sci will be generated. 10 rtc status (rtc_sts)? r/wc. this bit is not affected by hard resets caused by a cf9 write, but is reset by rsmrst#. 0 = software clears this bit by writing a 1 to it. 1 = set by hardware when the rtc generates an alarm (assertion of the irq8# signal). additionally if the rtc_en bit (pmbase + 02h, bit 10) is set, the setting of the rtc_sts bit will generate a wake event. 9 me_sts? r/wc. this bit is set when the intel ? management engine generates a non- maskable wake event, and is not affected by any other enable bit. wh en this bit is set, the host power management logic wakes to s0. this bit is only set by hardware and can on ly be reset by writin g a one to this bit position. this bit is not affected by hard re sets caused by a cf9 wr ite, but is reset by rsmrst#. 8 power button status ( pwrbtn__sts)? r/wc. this bit is not affected by hard resets caused by a cf9 write. 0 = if the pwrbtn# signal is held low for mo re than 4 seconds, the hardware clears the pwrbtn_sts bit, sets the pwrbtnor_sts bit, and the system transitions to the s5 state with only pwrbtn# enabled as a wake event. this bit can be cleared by software by writing a one to the bit position. 1 = this bit is set by hardware when the pw rbtn# signal is assert ed low, independent of any other enable bit. in the s0 state, while pwrbtn_en and pwrbtn_sts are both set, an sci (or smi# if sci_en is not set) will be generated. in any sleeping state s1?s5, while pwrbtn_en (pmbase + 02h, bit 8) and pwrbtn_sts are both set, a wake event is generated. note: if the pwrbtn_sts bit is cleared by soft ware while the pwrbtn# signal is sell asserted, this will not cause the pwrbn_sts bit to be set. the pwrbtn# signal must go inactive and active ag ain to set the pwrbtn_sts bit. bit description
datasheet 535 lpc interface bridge registers (d31:f0) 7:6 reserved 5 global status (gbl _sts)? r/wc. 0 = the sci handler should then clear this bit by writing a 1 to the bit location. 1 = set when an sci is generated due to bios wanting the attention of the sci handler. bios has a corresponding bit, bios_rls, which will cause an sci and set this bit. 4 bus master status (bm_sts) ?r/wc. this bit will not cause a wake event, sci or smi#. 0 = software clears this bit by writing a 1 to it. 1 = set by the pch when a pch-visible bus ma ster requests access to memory or the bm_busy# signal is active. 3:1 reserved 0 timer overflow status (tmrof_sts)? r/wc. 0 = the sci or smi# handler clears this bit by writing a 1 to the bit location. 1 = this bit gets set any time bit 22 of the 24-bit timer goes high (bits are numbered from 0 to 23). this will occur every 2.3435 seconds. when the tmrof_en bit (pmbase + 02h, bit 0) is set, then the setting of the tmrof_sts bit will additionally generate an sci or smi# (depending on the sci_en). bit description
lpc interface bridge registers (d31:f0) 536 datasheet 13.8.3.2 pm1_en?power mana gement 1 enable register i/o address: pmbase + 02h ( acpi pm1a_evt_blk + 2 ) attribute: r/w default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 9, 11 ? 15: resume, bit 10: rtc bit description 15 reserved 14 pci express* wake di sable(pciexpwak_dis)? r/w. modification of this bit has no impact on the value of the pciexp_wake_sts bit. 0 = inputs to the pciexp_wake_sts bit in the pm1 status register enabled to wake the system. 1 = inputs to the pciexp_wake_sts bit in the pm1 status register disabled from waking the system. 13:11 reserved 10 rtc event enable (rtc_en)? r/w. this bit is in the rtc well to allow an rtc event to wake after a power failure. this bit is not cleared by any reset other than rtcrst# or a power button override event. 0 = no sci (or smi#) or wake event is ge nerated then rtc_sts (pmbase + 00h, bit 10) goes active. 1 = an sci (or smi#) or wake event will occur when this bit is set and the rtc_sts bit goes active. 9 reserved 8 power button enable (pwrbtn_en)? r/w. this bit is used to enable the setting of the pwrbtn_sts bit to generate a po wer management event (smi#, sci). pwrbtn_en has no effect on the pwrbtn_sts bit (pmbase + 00h, bit 8) being set by the assertion of the power bu tton. the power button is always enabled as a wake event. 0 = disable. 1 = enable. 7:6 reserved 5 global enable (gbl_en)? r/w. when both the gbl_en and the gbl_sts bit (pmbase + 00h, bit 5) are set, an sci is raised. 0 = disable. 1 = enable sci on gbl_sts going active. 4:1 reserved 0 timer overflow interrupt enable (tmrof_en)? r/w. works in conjunction with the sci_en bit (pmbase + 04h, bit 0) as described below: 0 x no smi# or sci 10 smi# 11 sci
datasheet 537 lpc interface bridge registers (d31:f0) 13.8.3.3 pm1_cnt?power management 1 control register i/o address: pmbase + 04h ( acpi pm1a_cnt_blk ) attribute: r/w, wo default value: 00000000h size: 32-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 12: rtc, bits 13 ? 15: resume bit description 31:14 reserved 13 sleep enable ( slp_en)? wo. setting this bit causes the system to sequence into the sleep state defined by the slp_typ field. 12:10 sleep type (slp_typ)? r/w. this 3-bit fiel d defines the type of sleep the system should enter when the slp_en bit is set to 1. these bits are only reset by rtcrst#. 9:3 reserved 2 global release (gbl_rls)? wo. 0 = this bit always reads as 0. 1 = acpi software writes a 1 to this bit to raise an event to the bios. bios software has a corresponding enable and status bits to control its ability to receive acpi events. 1 bus master relo ad (bm_rld)? r/w. this bit is treated as a scratchpad bit. this bit is reset to 0 by pltrst# 0 = bus master requests will no t cause a break from the c3 state. 1 = enables bus master requests (internal or external) to cause a break from the c3 state. if software fails to set this bit before going to c3 state, the pch will still return to a snoopable state from c3 or c4 stat es due to bus master activity. 0 sci enable ( sci_en)? r/w. selects the sci interrupt or the smi# interrupt for various events including the bits in the pm1_ sts register (bit 10, 8, 0), and bits in gpe0_sts. 0 = these events will generate an smi#. 1 = these events will generate an sci. 000b on: typically maps to s0 state. 001b puts cpu in s1 state. 010b reserved 011b reserved 100b reserved 101b suspend-to-ram. assert slp_s3 #: typically maps to s3 state. 110b suspend-to-disk. assert slp_s3#, and slp_s4#: typically maps to s4 state. 111b soft off. assert slp_s3#, slp_s4#, and slp_s5#: typically maps to s5 state.
lpc interface bridge registers (d31:f0) 538 datasheet 13.8.3.4 pm1_tmr?power management 1 timer register i/o address: pmbase + 08h ( acpi pmtmr_blk ) attribute: ro default value: xx000000h size: 32-bit lockable: no usage: acpi power well: core 13.8.3.5 pm1_tmr?power management 1 timer register i/o address: pmbase + 08h ( acpi pmtmr_blk ) attribute: ro default value: xx000000h size: 32-bit lockable: no usage: acpi power well: core bit description 31:24 reserved 23:0 timer value (tmr_val)? ro. returns the running count of the pm timer. this counter runs off a 3.579545 mhz clock (14.31818 mhz divided by 4). it is reset to 0 during a pci reset, and then continues counti ng as long as the system is in the s0 state. after an s1 state, the counter will not be reset (it wi ll continue counting from the last value in s0 state. anytime bit 22 of the timer goes high to low (bits referenced from 0 to 23), the tmrof_sts bit (pmbase + 00h, bit 0) is set. the high-to-low transition will occur every 2.3435 seconds. if the tmrof_en bit (pmbase + 02h, bit 0) is set, an sci interrupt is also generated. bit description 31:24 reserved 23:0 timer value (tmr_val)? ro. returns the running count of the pm timer. this counter runs off a 3.579545 mhz clock (14.31818 mhz divided by 4). it is reset to 0 during a pci reset, and then continues counti ng as long as the system is in the s0 state. after an s1 state, the counter will not be reset (it wi ll continue counting from the last value in s0 state. anytime bit 22 of the timer goes high to low (bits referenced from 0 to 23), the tmrof_sts bit (pmbase + 00h, bit 0) is set. the high-to-low transition will occur every 2.3435 seconds. if the tmrof_en bit (pmbase + 02h, bit 0) is set, an sci interrupt is also generated.
datasheet 539 lpc interface bridge registers (d31:f0) 13.8.3.6 gpe0_sts?general purpose event 0 status register i/o address: pmbase + 20h ( acpi gpe0_blk ) attribute: bits 0:32 r/wc bits 33:63 ro default value: 0000000000000000h size: 64-bit lockable: no usage: acpi power well: resume this register is symmetrical to the general purpose event 0 enable register. unless indicated otherwise below, if the corresponding _en bit is set, then when the _sts bit get set, the pch will generate a wake event. on ce back in an s0 state (or if already in an s0 state when the event occurs), the pch will also generate an sci if the sci_en bit is set, or an smi# if the sci_en bit (pmb ase + 04h, bit 0) is not set. bits 31:16 are reset by a cf9h write; bits 63:32 and 15:0 are not. all are reset by rsmrst#. bit description 63:36 reserved 35 gpio27_sts ?r/wc. 0 = disable. 1 = set by hardware and can be reset by writing a one to this bit position or a resume well reset. this bit is set at the level specified in gp27io_pol. note that gpio27 is always monitored as an inpu t for the purpose of setting this bit, regardless of the actual gpio configuration., 34:32 reserved 31:16 gpion_sts? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = these bits are set any time the corresponding gpio is set up as an input and the corresponding gpio signal is high (or low if the corresponding gp_inv bit is set). if the corresponding enable bit is set in the gpe0_en register, then when the gpio[n]_sts bit is set: ? if the system is in an s1?s5 state, the event will also wake the system. ? if the system is in an s0 state (or upon waking back to an s0 state), a sci will be caused depending on the gpio_rout bits (d31:f0:b8h, bits 31:30) for the corresponding gpi. note: mapping is as follows: bit 31 corre sponds to gpio[15]... and bit 16 corresponds to gpio[0]. 15:14 reserved 13 pme_b0_sts ?r/wc. this bit will be set to 1 by the pch when any internal device with pci power management ca pabilities on bus 0 asserts the equivalent of the pme# signal. additionally, if the pm e_b0_en bit is set, and the system is in an s0 state, then the setting of the pme_b0_sts bit will generate an sci (or smi# if sci_en is not set). if the pme_b0_sts bit is set, an d the system is in an s1?s4 state (or s5 state due to slp_typ and slp_en), then the setting of the pme_b0_sts bit will generate a wake event, and an sci (or smi# if sci_en is not set) will be generated. if the system is in an s5 state due to power button ov erride, then the pme_b0_sts bit will not cause a wake event or sci. the default for this bit is 0. writing a 1 to this bit position clears this bit. note: hd audio wake events are reported in this bit. intel ? management engine ?maskable? wake ev ents are also reported in this bit. 12 reserved
lpc interface bridge registers (d31:f0) 540 datasheet 11 pme_sts ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware when the pme# signal goes active. additionally, if the pme_en bit is set, and the system is in an s0 state, then the setting of the pme_sts bit will generate an sci or smi# (if sci_en is not set). if the pme_en bit is set, and the system is in an s1?s4 state (or s5 state due to setting slp_typ and slp_en), then the setting of the pme_sts bit will generate a wake event, and an sci will be generated. if the system is in an s5 state due to power button override or a power failur e, then pme_sts will not cause a wake event or sci. 10 (desktop only) reserved 10 (mobile only) batlow_sts ?r/wc. (mobile only) software clears this bit by writing a 1 to it. 0 = batlow# not asserted 1 = set by hardware when the batlow# signal is asserted. 9 pci_exp_sts? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware to indicate that: ? the pme event message was received on one or more of the pci express* ports ? an assert pmegpe message receiv ed from the processor using dmi notes: 1. the pci wake# pin has no impact on this bit. 2. if the pci_exp_sts bit went active due to an assert pmegpe message, then a deassert pmegpe message mu st be received prior to the software write for the bit to be cleared. 3. if the bit is not cleare d and the corresponding pci_exp_en bit is set, the level-triggered sci will remain active. 4. a race condition exists where the pci express device sends another pme message because the pci express device was not serviced within the time when it must re send the message. this may re sult in a spurious interrupt, and this is comprehended and approved by the pci express* specification, revision 1.0a . the window for this race co ndition is approximately 95-105 milliseconds. 8 ri_sts ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware when the ri# input signal goes active. 7 smbus wake status (smb_wak_sts)? r/wc. software clears this bit by writing a 1 to it. 0 = wake event not caused by the pch?s smbus logic. 1 = set by hardware to indicate that the wake event was caused by the pch?s smbus logic.this bit will be set by the wake/smi# command type, even if the system is already awake. the smi handler should then clear this bit. notes: 1. the smbus controller will independently cause an smi# so this bit does not need to do so (unlike the ot her bits in this register). 2. this bit is set by the smbus slave command 01h (wake/smi#) even when the system is in the s0 state. therefore, to avoid an instant wake on subsequent transitions to sleep states, software must clear this bit after each reception of the wake/smi# command or just pr ior to entering the sleep state. 3. the smbalert_sts bit (d31:f3:i/o offs et 00h:bit 5) shou ld be cleared by software before the smb_ wak_sts bit is cleared. bit description
datasheet 541 lpc interface bridge registers (d31:f0) 13.8.3.7 gpe0_en?general purp ose event 0 enables register i/o address: pmbase + 28h ( acpi gpe0_blk + 8 ) attribute: r/w default value: 0000000000000000h size: 64-bit lockable: no usage: acpi power well: bits 0?7, 9, 12, 14?63 resume, bits 8, 10?11, 13 rtc this register is symmetrical to the general purpose event 0 status register. all the bits in this register should be cleared to 0 based on a power button override or processor thermal trip event. the resume well bits are all cleared by rsmrst#. the rtc well bits are cleared by rtcrst#. 6 tcosci_sts ?r/wc. software clears this bit by writing a 1 to it. 0 = toc logic or thermal sensor logic did not cause sci. 1 = set by hardware when the tco logic or thermal sensor logic causes an sci. 5:3 reserved 2 swgpe_sts ?r/wc. the swgpe_ctrl bit (bit 1 of gpe_ctrl re g) acts as a level input to this bit. 1 hot_plug_sts? r/wc. 0 = this bit is cleared by writ ing a 1 to this bit position. 1 = when a pci express* hot-plug event oc curs. this will cause an sci if the hot_plug_en bit is set in the gep0_en register. 0 reserved bit description bit description 63:36 reserved 35 gpio27_en ?r/w. 0 = disable. 1 = enable the setting of the gpio27_sts bit to generate a wake event/sci/smi#. 34:32 reserved 31:16 gpin_en ?r/w. these bits enable the correspon ding gpi[n]_sts bi ts being set to cause a sci, and/or wake event. these bits are cleared by rsmrst#. note: mapping is as follows: bit 31 corre sponds to gpio15. .. and bit 16 corresponds to gpio0. 15 reserved 14 reserved 13 pme_b0_en? r/w. 0 = disable 1 = enables the setting of the pme_b0_sts bit to generate a wake event and/or an sci or smi#. pme_b0_sts can be a wake event from the s1?s4 states, or from s5 (if entered using slp_ typ and slp_en) or power failure, but not power button override. this bit defaults to 0. note: it is only cleared by software or rtcr st#. it is not clea red by cf9h writes. 12 reserved 11 pme_en ?r/w. 0 = disable. 1 = enables the setting of the pme_sts to generate a wake event and/or an sci. pme# can be a wake event from the s1 ?s4 state or from s5 (if entered using slp_en, but not power button override).
lpc interface bridge registers (d31:f0) 542 datasheet 10 (desktop only) reserved 10 (mobile only) batlow_en ?r/w. (mobile only) 0 = disable. 1 = enables the batlow# signal to caus e an smi# or sci (depending on the sci_en bit) when it goes low. this bit does not prevent the batlow# signal from inhibiting the wake event. 9 pci_exp_en ?r/w. 0 = disable sci generation upon pci_exp_sts bit being set. 1 = enables pch to cause an sci when pci_exp_sts bit is set. this is used to allow the pci express* ports, including the link to the processor, to cause an sci due to wake/pme events. 8 ri_en ?r/w. the value of this bit will be maintained through a g3 state and is not affected by a hard reset caused by a cf9h write. 0 = disable. 1 = enables the setting of the ri_sts to generate a wake event. 7 reserved 6 tcosci_en ?r/w. 0 = disable. 1 = enables the setting of the tc osci_sts to generate an sci. 5:3 reserved 2 swgpe_en ?r/w. this bit allows software to control the assertion of swgpe_sts bit. this bit this bit, when set to 1, enables the sw gpe function. if swgpe_ctrl is written to a 1, hardware will se t swgpe_sts (acts as a level input) if swgpe_sts, swgpe_en, and sci_en ar e all 1's, an sci will be generated if swgpe_sts = 1, swgpe_en = 1, sci_en = 0, and gbl_smi_en = 1 then an smi# will be generated 1 hot_plug_en? r/w. 0 = disables sci generation upon the hot_plug_sts bit being set. 1 = enables the pch to cause an sci when the hot_plug_sts bit is set. this is used to allow the pci express ports to cause an sci due to hot-plug events. 0 reserved bit description
datasheet 543 lpc interface bridge registers (d31:f0) 13.8.3.8 smi_en?smi control and enable register i/o address: pmbase + 30h attribute: r/w, r/wo, wo default value: 00000002h size: 32 bit lockable: no usage: acpi or legacy power well: core note: this register is symmetrical to the smi status register. bit description 31:28 reserved 27 gpio_unlock_smi_en ?r/wo. setting this bit will cause the intel ? pch to generate an smi# when the gpio_unlock_smi_sts bit is set in the smi_sts register. once written to 1, this bit ca n only be cleared by pltrst#. 26:19 reserved 18 intel_usb2_en ?r/w. 0 = disable 1 = enables intel-specific usb2 smi logic to cause smi#. 17 legacy_usb2_en ?r/w. 0 = disable 1 = enables legacy usb2 logic to cause smi#. 16:15 reserved 14 periodic_en ?r/w. 0 = disable. 1 = enables the pch to generate an smi# when the periodic_sts bit (pmbase + 34h, bit 14) is set in the smi_sts register (pmbase + 34h). 13 tco_en ?r/w. 0 = disables tco logic generating an smi#. note that if the nmi2smi_en bit is set, smis that are caused by re-routed nmis wi ll not be gated by th e tco_en bit. even if the tco_en bit is 0, nmis will still be routed to cause smis. 1 = enables the tco logic to generate smi#. note: this bit cannot be written on ce the tco_lock bit is set. 12 reserved 11 mcsmi_enmicrocontroller smi enable (mcsmi_en)? r/w. 0 = disable. 1 = enables pch to trap accesses to the microcontroller range (62h or 66h) and generate an smi#. note that ?trapped? cycl es will be claimed by the pch on pci, but not forwarded to lpc. 10:8 reserved 7 bios release (bios_rls)? wo. 0 = this bit will always return 0 on reads. writes of 0 to this bit have no effect. 1 = enables the generation of an sci interrup t for acpi software when a one is written to this bit position by bios software. note: gbl_sts being set will caus e an sci, even if the sci_en bit is not set. software must take great care not to set the bios_rls bit (which causes gbl_sts to be set) if the sci handler is not in place.
lpc interface bridge registers (d31:f0) 544 datasheet 6 software smi# timer enable (swsmi_tmr_en) ?r/w. 0 = disable. clearing the swsmi_tmr_en bit before the timer expires will reset the timer and the smi# will not be generated. 1 = starts software smi# timer. when the swsmi timer expires (t he timeout period depends upon the swsmi_rate_sel bit se tting), swsmi_tmr_sts is set and an smi# is generated. swsm i_tmr_en stays set until cleared by software. 5 apmc_en ?r/w. 0 = disable. writes to the apm_cnt register will not cause an smi#. 1 = enables writes to the apm_cn t register to cause an smi#. 4 slp_smi_en ?r/w. 0 = disables the generation of smi# on slp_ en. note that this bi t must be 0 before the software attempts to transition the sy stem into a sleep state by writing a 1 to the slp_en bit. 1 = a write of 1 to the slp_en bit (bit 13 in pm1_cnt register) will generate an smi#, and the system will not transition to the sleep state based on that write to the slp_en bit. 3 legacy_usb_en ?r/w. 0 = disable. 1 = enables legacy usb circuit to cause smi#. 2 bios_en ?r/w. 0 = disable. 1 = enables the generation of smi# when acpi software writes a 1 to the gbl_rls bit (d31:f0:pmbase + 04h:bit 2). note that if the bios_sts bit (d31:f0:pmbase + 34h:bit 2), which gets set when software writes 1 to gbl_rls bit, is already a 1 at the time that bios_en becomes 1, an smi# will be generated when bios_en gets set. 1 end of smi (eos)? r/w (special). this bit controls the arbitration of the smi signal to the processor. this bit must be set for the pch to assert smi# low to the processor after smi# has been asserted previously. 0 = once the pch asserts smi# low, th e eos bit is automatically cleared. 1 = when this bit is set to 1, smi# signal wi ll be de-asserted for 4 pci clocks before its assertion. in th e smi handler, the processor should clear all pending smis (by servicing them and then clearing their resp ective status bits), set the eos bit, and exit smm. this will allow the smi arbiter to re-assert smi upon detection of an smi event and the setting of a smi status bit. note: the pch is able to generate 1st smi after reset even though eos bit is not set. subsequent smi require eos bit is set. 0 gbl_smi_en? r/w. 0 = no smi# will be generated by pch. this bit is reset by a pci reset event. 1 = enables the generation of smi# in the system upon any enabled smi event. note: when the smi_lock bit is set, this bit cannot be changed. bit description
datasheet 545 lpc interface bridge registers (d31:f0) 13.8.3.9 smi_sts?smi status register i/o address: pmbase + 34h attribute: ro, r/wc default value: 00000000h size: 32-bit lockable: no usage: acpi or legacy power well: core note: if the corresponding _en bit is set when the _sts bit is set, the pch will cause an smi# (except bits 8?10 and 12, which do not need enable bits since they are logic ors of other registers that have enable bits). th e pch uses the same gpe0_en register (i/o address: pmbase+2ch) to enable/disable bo th smi and acpi sci general purpose input events. acpi os assumes that it owns the entire gpe0_en register per the acpi specification. problems arise when some of the general-purpose inputs are enabled as smi by bios, and some of the general purpose inputs are enabled for sci. in this case acpi os turns off the enabled bit for any gp ix input signals that are not indicated as sci general-purpose events at boot, and exit from sleeping states. bios should define a dummy control method which prevents the acpi os from clearing the smi gpe0_en bits. bit description 31:28 reserved 27 gpio_unlock_smi_sts? r/wc. this bit will be set if the gpio registers lockdown logic is requesting an smi#. writing a 1 to this bit position clears this bit to 0. 26 spi_sts? ro. this bit will be set if th e spi logic is generating an smi#. this bit is read only because the sticky status and enable bits associated with this function are located in the spi registers. 25:22 reserved 21 monitor_sts? ro. this bit will be set if the trap/smi logic has caused the smi. this will occur when the processor or a bus master accesses an assigned register (or a sequence of accesses). see section 10.1.26 through section 10.1.42 for details on the specific cause of the smi. 20 pci_exp_smi_sts? ro. pci express* smi event occurred. this could be due to a pci express pme event or hot-plug event. 19 reserved 18 intel_usb2_sts? ro. this non-sticky read-only bit is a logical or of each of the smi status bits in the intel-specific us b2 smi status register anded with the corresponding enable bits. additionally, the po rt disable write enable smi is reported in this bit; the specific status bit for this event is contained in the usb per-port registers write control register in this i/o space. this bit will not be active if the enable bits are not set. writes to this bit will have no effect. all integrated usb2 host controll ers are represented with this bit. 17 legacy_usb2_sts? ro. this non-sticky read-only bit is a logical or of each of the smi status bits in the usb2 legacy suppo rt register anded with the corresponding enable bits. this bit will not be active if the enable bits are not set. writes to this bit will have no effect. all integrated usb2 host controll ers are represented with this bit.
lpc interface bridge registers (d31:f0) 546 datasheet 16 smbus smi status (smbus_smi_sts)? r/wc. software clears this bit by writing a 1 to it. 0 = this bit is set from the 64 khz clock do main used by the sm bus. software must wait at least 15.63 s after the initial assertion of this bit before clearing it. 1 = indicates that the smi# was caused by: 1. the smbus slave receiving a message that an smi# should be caused, or 2. the smbalert# signal goes active and the smb_smi_en bit is set and the smbalert_dis bit is cleared, or 3. the smbus slave receiving a host notify message and the host_notify_intren and th e smb_smi_en bits are set, or 4. the pch detecting the smlink_slave_smi command while in the s0 state. 15 serirq_smi_sts ?ro. 0 = smi# was not caused by the serirq decoder. 1 = indicates that the smi# was caused by the serirq decoder. note: this is not a sticky bit 14 periodic_sts ?r/wc. software clears this bit by writing a 1 to it. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set at the rate determined by the per_smi_sel bits. if the periodic_en bit (pmbase + 30h, bit 14) is also set, the pch generates an smi#. 13 tco_sts ?r/wc. software clears this bit by writing a 1 to it. 0 = smi# not caused by tco logic. 1 = indicates the smi# was caused by the tco logic. note that this is not a wake event. 12 device monitor status (devmon_sts)? ro. 0 = smi# not caused by device monitor. 1 = set if bit 0 of the devact_sts register (pmbase + 44h) is set. the bit is not sticky, so writes to this bit will have no effect. 11 microcontroller smi# status ( mcsmi_sts)? r/wc. software clears this bit by writing a 1 to it. 0 = indicates that there has been no access to the power management microcontroller range (62h or 66h). 1 = set if there has been an access to the power management microcontroller range (62h or 66h) and the microcontroller deco de enable #1 bit in the lpc bridge i/o enables configuration register is 1 (d31 :f0:offset 82h:bit 11). note that this implementation assumes that the microcontroller is on lpc. if this bit is set, and the mcsmi_en bit is also set, the pch will generate an smi#. 10 gpe0_sts ?ro. this bit is a logical or of the bi ts in the alt_gp_smi_sts register that are also set up to cause an smi# (a s indicated by the gpi_rout registers) and have the corresponding bit set in the alt_gp_smi_en register. bits that are not routed to cause an smi# will have no effect on this bit. 0 = smi# was not generated by a gpi assertion. 1 = smi# was generated by a gpi assertion. 9 gpe0_sts ?ro. this bit is a logical or of the bits 47:32, 14:10, 8, 6:2, and 0 in the gpe0_sts register (pmbase + 28h) that also have the co rresponding bit set in the gpe0_en register (pmbase + 2ch). 0 = smi# was not generated by a gpe0 event. 1 = smi# was generated by a gpe0 event. 8 pm1_sts_reg ?ro. this is an ors of the bits in the acpi pm1 status register (offset pmbase+00h) that can cause an smi#. 0 = smi# was not generated by a pm1_sts event. 1 = smi# was generated by a pm1_sts event. 7 reserved bit description
datasheet 547 lpc interface bridge registers (d31:f0) 13.8.3.10 alt_gp_smi_en?alterna te gpi smi enable register i/o address: pmbase +38h attribute: r/w default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: resume 6 swsmi_tmr_sts ?r/wc. software clears this bit by writing a 1 to it. 0 = software smi# timer has not expired. 1 = set by the hardware when th e software smi# timer expires. 5 apm_sts ?r/wc. software clears this bit by writing a 1 to it. 0 = no smi# generated by writ e access to apm control register with apmch_en bit set. 1 = smi# was generated by a write access to the apm control register with the apmc_en bit set. 4 slp_smi_sts ?r/wc. software clears this bit by writing a 1 to the bit location. 0 = no smi# caused by write of 1 to slp_ en bit when slp_smi_en bit is also set. 1 = indicates an smi# was caused by a write of 1 to slp_en bit when slp_smi_en bit is also set. 3 legacy_usb_sts ?ro. this bit is a logical or of ea ch of the smi status bits in the usb legacy keyboard/mouse control regist ers anded with the corresponding enable bits. this bit will not be active if the enable bits are not set. 0 = smi# was not generated by usb legacy event. 1 = smi# was generated by usb legacy event. 2 bios_sts ?r/wc. 0 = no smi# generated due to acpi software requesti ng attention. 1 = this bit gets set by hardware when a 1 is written by software to the gbl_rls bit (d31:f0:pmbase + 04h:bit 2). when bo th the bios_en bit (d31:f0:pmbase + 30h:bit 2) and the bios_sts bit are se t, an smi# will be generated. the bios_sts bit is cleared when softwa re writes a 1 to its bit position. 1:0 reserved bit description bit description 15:0 alternate gpi smi enable? r/w. these bits are used to enable the corresponding gpio to cause an smi#. for th ese bits to have any effect, the following must be true. ? the corresponding bit in the alt_gp_smi_en register is set. ? the corresponding gpi must be routed in the gpi_rout register to cause an smi. ? the corresponding gpio must be implemented. note: mapping is as follows: bit 15 correspon ds to gpio15... bit 0 corresponds to gpio0.
lpc interface bridge registers (d31:f0) 548 datasheet 13.8.3.11 alt_gp_smi_sts?altern ate gpi smi status register i/o address: pmbase +3ah attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: resume 13.8.3.12 uprwc?usb per-port registers write control i/o address: pmbase +3ch attribute: r/wc, r/w, r/wo default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: resume bit description 15:0 alternate gpi smi status ?r/wc. these bits re port the status of the corresponding gpios. 0 = inactive. software clears th is bit by writing a 1 to it. 1 = active these bits are sticky. if the following conditions are true, then an smi# will be generated and the gpe0_sts bit set: ? the corresponding bit in the alt_gpi_sm i_en register (pmbase + 38h) is set ? the corresponding gpio must be routed in the gpi_rout register to cause an smi. ? the corresponding gpio must be implemented. all bits are in the resume well. default for these bits is dependent on the state of the gpio pins. bit description 15:9 reserved 8 write enable status ?r/wc 0 = this bit gets set by hardware when the ?per-port registers write enable? bit is written from 0 to 1 1 = this bit is cleared by software writing a 1b to this bit location the setting condition takes precedence over the clearing condition in the event that both occur at once. when this bit is 1b and bit 0 is 1b, the intel_usb2_sts bit is set in the smi_sts register. 7:1 reserved 0 write enable smi enable ?r/wo 0 = disable 1 = enables the generation of smi when the pe r-port registers write enable (bit 1) is written from 0 to 1. once written to 1b, this bit can not be cleared by software.
datasheet 549 lpc interface bridge registers (d31:f0) 13.8.3.13 gpe_cntl?general purpose control register i/o address: pmbase +42h attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi or legacy power well: resume bit description 8:2 reserved 2 gpio27_pol ?r/w. this bit controls the polarity of the gpio27 pin needed to set the gpio27_sts bit. 0 = gpio27 = 0 will set the gpio27_sts bit. 1 = gpio27 = 1 will set the gpio27_sts bit. 1 swgpe_ctrl ?r/w. this bit allows software to control the assertion of swgpe_sts bit. this bit is used by hardware as the level input signal for the swgpe_sts bit in the gpe0_sts register. when swgpe_ctrl is 1, sw gpe_sts will be set to 1, and writes to swgpe_sts with a value of 1 to clear swgp e_sts will result in swgpe_sts being set back to 1 by hardware. when swgpe_ctrl is 0, writes to swgpe_sts with a value of 1 will clear swgpe_sts to 0. this bit is cleared to 0 based on a power bu tton override, cpu ther mal event as well as by the rsmrst# pin assertion. 0 reserved
lpc interface bridge registers (d31:f0) 550 datasheet 13.8.3.14 devact_sts?device activity status register i/o address: pmbase +44h attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: legacy only power well: core each bit indicates if an access has occurred to the corresponding device?s trap range, or for bits 6:9 if the corresponding pci interru pt is active. this register is used in conjunction with the periodic smi# timer to detect any system activity for legacy power management. the periodic smi# timer indicate s if it is the right time to read the devact_sts register (pmbase + 44h). note: software clears bits that are set in this register by writing a 1 to the bit position. 13.8.3.15 pm2_cnt?power management 2 control register i/o address: pmbase + 50h ( acpi pm2_cnt_blk ) attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi power well: core bit description 15:13 reserved 12 kbc_act_sts ?r/wc. kbc (60/64h). 0 = indicates that there has been no access to this device i/o range. 1 = this device i/o range has been accessed. clear this bit by wr iting a 1 to the bit location. 11:10 reserved 9 pirqdh_act_sts? r/wc. pirq[d or h]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 8 pirqcg_act_sts ?r/wc. pirq[c or g]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 7 pirqbf_act_sts? r/wc. pirq[b or f]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 6 pirqae_act_sts? r/wc. pirq[a or e]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 5:0 reserved bit description 7:1 reserved 0 arbiter disable (arb_dis)? r/w this bit is a scratchpad bit for legacy software compatibility.
datasheet 551 lpc interface bridge registers (d31:f0) 13.9 system management tco registers the tco logic is accessed using registers mapped to the pci configuration space (device 31:function 0) and the system i/o space. for tco pci configuration registers, see lpc device 31:function 0 pci configuration registers. tco register i/o map the tco i/o registers reside in a 32-byte range pointed to by a tcobase value, which is, pmbase + 60h in the pci config space. the following table shows the mapping of the registers within that 32-byte range. each register is described in the following sections. 13.9.1 tco_rld?tco timer reload and current value register i/o address: tcobase +00h attribute: r/w default value: 0000h size: 16-bit lockable: no power well: core table 13-12. tco i/o register address map tcobase + offset mnemonic register name default type 00h?01h tco_rld tco timer reload and current value 0000h r/w 02h tco_dat_in tco data in 00h r/w 03h tco_dat_out tco data out 00h r/w 04h?05h tco1_sts tco1 status 0000h r/wc, ro 06h?07h tco2_sts tco2 status 0000h r/wc 08h?09h tco1_cnt tco1 control 0000h r/w, r/wlo, r/wc 0ah?0bh tco2_cnt tco2 control 0008h r/w 0ch?0dh tco_message1, tco_message2 tco message 1 and 2 00h r/w 0eh tco_wdcnt watchdog control 00h r/w 0fh ? reserved ? ? 10h sw_irq_gen software irq generation 03h r/w 11h ? reserved ? ? 12h?13h tco_tmr tco timer initial value 0004h r/w 14h?1fh ? reserved ? ? bit description 15:10 reserved 9:0 tco timer value ?r/w. reading this regist er will return the cu rrent count of the tco timer. writing any value to this register will reload the timer to prevent the timeout.
lpc interface bridge registers (d31:f0) 552 datasheet 13.9.2 tco_dat_in?tco data in register i/o address: tcobase +02h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 13.9.3 tco_dat_out?tco data out register i/o address: tcobase +03h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 13.9.4 tco1_sts?tco1 status register i/o address: tcobase +04h attribute: r/wc, ro default value: 2000h ?size: 16-bit lockable: no power well: core (except bit 7, in rtc) bit description 7:0 tco data in value ?r/w. this data register field is used for passing commands from the os to the smi handler. writes to this register will caus e an smi and set the sw_tco_smi bit in the tco1_sts register (d31:f0:04h). bit description 7:0 tco data out value ?r/w. this data register field is used for passing commands from the smi handler to the os. writes to this re gister will set the tco_int_sts bit in the tco_sts1 register. it will also cause an interrupt, as selected by the tco_int_sel bits. bit description 15:14 reserved 13 tco_slvsel (tco slave select)? ro. this register bit is re ad only by host and indicates the value of tco slave select soft strap. see the pch soft straps section of the spi chapter for details. 12 dmiserr_sts ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = pch received a dmi special cycle message using dmi indicating that it wants to cause an serr#. the software must read the processor to determine the reason for the serr#. 11 reserved 10 dmismi_sts ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = pch received a dmi special cycle message using dmi indicating that it wants to cause an smi. the software must read the processor to determine the reason for the smi. 9 dmisci_sts ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = pch received a dmi special cycle message using dmi indicating that it wants to cause an sci. the so ftware must read the processo r to determine the reason for the sci.
datasheet 553 lpc interface bridge registers (d31:f0) 8 bioswr_sts ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = pch sets this bit and gene rates and smi# to indicate an invalid attempt to write to the bios. this occu rs when either: a) the bioswp bit is changed from 0 to 1 and the bld bit is also set, or b) any write is attempted to the bios and the bioswp bit is also set. note: on write cycles attempted to the 4 mb lower alias to the bios space, the bioswr_sts will not be set. 7 newcentury_sts ?r/wc. this bit is in the rtc well. 0 = cleared by writing a 1 to the bit position or by rtcrst# going active. 1 = this bit is set when the year byte (rtc i/o space, index offset 09h) rolls over from 99 to 00. setting this bit will cause an smi# (but not a wake event). note: the newcentury_sts bit is not valid when the rtc battery is first installed (or when rtc power has not been maintain ed). software can determine if rtc power has not been maintained by checking the rtc_pwr_sts bit (d31:f0:a4h, bit 2), or by other means (such as a checksum on rtc ram). if rtc power is determined to have not been maintained, bios should set the time to a valid value and then clear the newcentury_sts bit. the newcentury_sts bit may take up to 3 rt c clocks for the bit to be cleared after a 1 is written to the bit to clear it. after writing a 1 to this bit, software should not exit the smi handler until verifying that the bit has actu ally been cleared. th is will ensure that the smi is not re-entered. 6:4 reserved 3 timeout ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by pch to indicate that the smi was caused by the tco timer reaching 0. 2 tco_int_sts ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = smi handler caused the interrupt by writing to the tco_dat_out register (tcobase + 03h). 1 sw_tco_smi ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = software caused an smi# by writing to the tco_dat_in register (tcobase + 02h). 0 nmi2smi_sts ?ro. 0 = cleared by clearing the associated nmi status bit. 1 = set by the pch when an smi# occurs because an event occurred that would otherwise have caused an nmi (because nmi2smi_en is set). bit description
lpc interface bridge registers (d31:f0) 554 datasheet 13.9.5 tco2_sts?tco2 status register i/o address: tcobase +06h attribute: r/wc default value: 0000h size: 16-bit lockable: no power well: resume (except bit 0, in rtc) bit description 15:5 reserved 4 smlink slave smi status (smlink_slv_smi_sts) ?r/wc. allow the software to go directly into a pre-determ ined sleep state. this avoids race conditions. software clears this bit by writing a 1 to it. 0 = the bit is reset by rsmrst#, but not du e to the pci reset associated with exit from s3?s5 states. 1 = pch sets this bit to 1 when it receives the smi message on the smlink slave interface. 3reserved 2 boot_sts ?r/wc. 0 = cleared by pch based on rsmrst# or by so ftware writing a 1 to this bit. note that software should first clear the second_to_ sts bit before writin g a 1 to clear the boot_sts bit. 1 = set to 1 when the second_to_sts bit goes from 0 to 1 and the processor has not fetched the first instruction. if rebooting due to a second tco timer timeout, and if the boot_sts bit is set, the pch will reboot using the ?safe? multiplier (1111). this allows the system to recover from a processor frequency multiplier that is too high, and allows the bios to check the boot_sts bit at boot. if the bit is set and the frequency multiplier is 1111, then the bios knows that the processor has been programmed to an invalid multiplier. 1 second_to_sts ?r/wc. 0 = software clears this bit by writing a 1 to it, or by a rsmrst#. 1 = pch sets this bit to 1 to indicate that the timeout bit had been (or is currently) set and a second timeout occurred before the tc o_rld register was written. if this bit is set and the no_reboot config bit is 0, then the pch will reboot the system after the second timeout. the reboot is done by asserting pltrst#. 0 intruder detect (intrd_det)? r/wc. 0 = software clears this bit by writin g a 1 to it, or by rtcrst# assertion. 1 = set by pch to indicate that an intrusio n was detected. this bit is set even if the system is in g3 state. notes: 1. this bit has a recovery time. after writing a 1 to this bit position (to clear it), the bit may be read back as a 1 for up 65 microsecon ds before it is read as a 0. software must be aware of this recovery time wh en reading this bit after clearing it. 2. if the intruder# signal is active when the softwa re attempts to clear the intrd_det bit, the bit will remain as a 1, and the smi# will be generated again immediately. the smi handler can clear th e intrd_sel bits (tcobase + 0ah, bits 2:1), to avoid further smis. however, if the intruder# signals goes inactive and then active again, there will not be fu rther smi?s (because the intrd_sel bits would select that no smi# be generated). 3. if the intruder# signal goes inactive some point after the intrd_det bit is written as a 1, then the intrd_det signal will go to a 0 when intruder# input signal goes inactive. note that this is slightly different than a classic sticky bit, since most sticky bits would remain active indefi nitely when the sign al goes active and would immediately go inactive when a 1 is written to the bit
datasheet 555 lpc interface bridge registers (d31:f0) 13.9.6 tco1_cnt?tco1 control register i/o address: tcobase +08h attribute: r/w, r/wlo, r/wc default value: 0000h size: 16-bit lockable: no power well: core bit description 15:13 reserved 12 tco_lock ?r/wlo. when set to 1, this bit prevents writes from changing the tco_en bit (in offset 30h of power mana gement i/o space). once this bit is set to 1, it can not be cleared by software writing a 0 to this bit location. a core-well reset is required to change this bit from 1 to 0. this bit defaults to 0. 11 tco timer halt (tco_tmr_hlt) ?r/w. 0 = the tco timer is enabled to count. 1 = the tco timer will halt. it will not coun t, and thus cannot re ach a value that will cause an smi# or set the second_to_sts bit. when set, this bit will prevent rebooting and prevent alert on lan event messages from being transmitted on the smlink (but not alert on lan* heartbeat messages). 10 reserved 9 nmi2smi_en ?r/w. 0 = normal nmi functionality. 1 = forces all nmis to instead cause smis. th e functionality of th is bit is dependent upon the settings of the nmi_en bit and the gbl_smi_en bit as detailed in the following table: 8 nmi_now ?r/wc. 0 = software clears this bit by writing a 1 to it. the nmi handler is expected to clear this bit. another nmi will not be generated until the bit is cleared. 1 = writing a 1 to this bit causes an nmi. this allows the bios or smi handler to force an entry to the nmi handler. 7:0 reserved 0b 0b no smi# at all because gbl_smi_en = 0 0b 1b smi# will be caused due to nmi events 1b 0b no smi# at all because gbl_smi_en = 0 1b 1b no smi# due to nmi because nmi_en = 1
lpc interface bridge registers (d31:f0) 556 datasheet 13.9.7 tco2_cnt?tco2 control register i/o address: tcobase +0ah attribute: r/w default value: 0008h size: 16-bit lockable: no power well: resume 13.9.8 tco_message1 and tc o_message2 registers i/o address: tcobase +0ch (message 1)attribute: r/w tcobase +0dh (message 2) default value: 00h size: 8-bit lockable: no power well: resume bit description 15:6 reserved 5:4 os_policy ?r/w. os-based software writes to these bits to select the policy that the bios will use after the platform resets due the wdt. the following convention is recommended for the bios and os: 00 = boot normally 01 = shut down 10 = do not load os. hold in pre-boot state and use lan to determine next step 11 = reserved note: these are just scratchpad bits. they sh ould not be reset when the tco logic resets the platform du e to watchdog timer. 3 gpio11_alert_disable ?r/w. at reset (using rsmrst# asserted) this bit is set and gpio[11] alerts are disabled. 0 = enable. 1 = disable gpio11/smbalert# as an alert source for the heartbeats and the smbus slave. 2:1 intrd_sel ?r/w. this field selects the action to take if the intruder# signal goes active. 00 = no interrupt or smi# 01 = interrupt (as selected by tco_int_sel). 10 = smi 11 = reserved 0reserved bit description 7:0 tco_message[ n ] ?r/w. bios can write into these registers to indicate its boot progress. the external microc ontroller can read these regi sters to monitor the boot progress.
datasheet 557 lpc interface bridge registers (d31:f0) 13.9.9 tco_wdcnt?tco watc hdog control register offset address: tcobase + 0eh attribute: r/w default value: 00h size: 8 bits power well: resume 13.9.10 sw_irq_gen?software irq generation register offset address: tcobase + 10h attribute: r/w default value: 03h size: 8 bits power well: core 13.9.11 tco_tmr?tco timer initial value register i/o address: tcobase +12h attribute: r/w default value: 0004h size: 16-bit lockable: no power well: core bit description 7:0 the bios or system management software can write into this register to indicate more details on the boot progress. the register will reset to 00h based on a rsmrst# (but not pltrst#). the external microcontroller can read this register to monitor boot progress. bit description 7:2 reserved 1 irq12_cause ?r/w. when software sets this bit to 1, irq12 will be asserted. when software sets this bit to 0, irq12 will be de-asserted. 0 irq1_cause ?r/w. when software sets this bit to 1, irq1 will be asserted. when software sets this bit to 0, irq1 will be de-asserted. bit description 15:10 reserved 9:0 tco timer initial value ?r/w. value that is loaded in to the timer each time the tco_rld register is wr itten. values of 0000h or 0001h will be ignored and should not be attempted. the timer is clocked at approxim ately 0.6 seconds, and thus allows timeouts ranging from 1.2 second to 613.8 seconds. note: the timer has an error of 1 tick (0.6 s). the tco timer will only count down in the s0 state.
lpc interface bridge registers (d31:f0) 558 datasheet 13.10 general purpose i/o registers the control for the general purpose i/o si gnals is handled through a 128-byte i/o space. the base offset for this space is selected by the gpiobase register. table 13-13. registers to control gpio address map gpiobase + offset mnemonic register name default access 00h?03h gpio_use_sel gpio use select f96ba1ff r/w 04h?07h gp_io_sel gpio input/ output select f6ff6effh r/w 08h?0bh ? reserved 0h ? 0ch?0fh gp_lvl gpio level for input or output 02fe0100h r/w 10h?13h ? reserved 0h ? 14h?17h ? reserved 0h ? 18h?1bh gpo_blink gpio blink enable 00040000h r/w 1ch?1fh gp_ser_blink gp serial blink 00000000h r/w 20?23h gp_sb_cmdsts gp serial blink command status 00080000h r/w 24?27h gp_sb_data gp serial blink data 00000000h r/w 28?29h gpi_nmi_en gpi nmi enable 0000 r/w 2a?2bh gpi_nmi_sts gpi nmi status 0000 r/wc 2c?2fh gpi_inv gpio signal invert 00000000h r/w 30h?33h gpio_use_sel2 gpio use select 2 020300feh (mobile only) / 020300ffh (desktop only) r/w 34h?37h gp_io_sel2 gpio input/ou tput select 2 1f57fff4h r/w 38h?3bh gp_lvl2 gpio level for input or output 2 a4aa0003h r/w 3ch?3fh ? reserved 0h ? 40h?43h gpio_use_sel3 gpio use select 3 00000000h (mobile only)/ 00000100h (desktop only) r/w 44h?47h gpio_sel3 gpio input/output select 3 00000f00h r/w 48h?4bh gp_lvl3 gpio level for input or output 3 00000000h r/w 4ch?5fh ? reserved 0h ? 60h?63h gp_rst_sel[31:0] gpio reset select 1 01000000h r/w 64h?67h gp_rst_sel[63:32] gpio reset select 2 0h r/w 68h?6bh gp_rst_sel[95:64] gpio reset select 3 0h r/w 6ch?7fh ? reserved 0h ?
datasheet 559 lpc interface bridge registers (d31:f0) 13.10.1 gpio_use_sel?gpio use select register offset address: gpiobase + 00h attribute: r/w default value: f96ba1ffh size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:3 13.10.2 gp_io_sel?gpio input/ output select register offset address: gpiobase +04h attribute: r/w default value: f6ff6effh size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:0 gpio_use_sel[31:0]? r/w. each bit in this register enables the corresponding gpio (if it exists) to be used as a gpio, rather than for th e native function. 0 = signal used as native function. 1 = signal used as a gpio. notes: 1. the following bits are always 1 because they are always unmultiplexed: 0, 8, 15, 24, 27, and 28. 2. if gpio[n] does not exist, then, the n-bit in this register will always read as 0 and writes will have no effect. the follow ing bits are always 0 in mobile: 15 and 25. 3. after a full reset (rsmrst#) all multip lexed signals in the resume and core wells are configured as th eir default function. after only a pltrst#, the gpios in the core well are configur ed as their default function. 4. when configured to gpio mode, the muxi ng logic will present the inactive state to native logic that uses the pin as an input. 5. all gpios are reset to the default state by cf9h re set except gpio24. 6. bit 26 may be overridden by bi t 8 in the gen_pmcon_3 register. 7. bit 29 must only be used to configur e slp_lan# behavior in sx/moff when me fw is not configuring the pin as slp_lan#. gpio29 can not be used for any other usage. bit description 31:0 gp_io_sel[31:0] ?r/w. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits have no effect. the value reported in this register is undefined when programmed as native mode. 0 = output. the corresponding gpio signal is an output. 1 = input. the corresponding gpio signal is an input. note: gpio29 can not be configured as an inpu t, must be used as an output in sx/ moff to configure slp_lan#.
lpc interface bridge registers (d31:f0) 560 datasheet 13.10.3 gp_lvl?gpio level for input or output register offset address: gpiobase +0ch attribute: r/w default value: 02fe0100h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 13.10.4 gpo_blink?gpo blink enable register offset address: gpiobase +18h attribute: r/w default value: 00040000h size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 note: gpio18 will blink by default immediately after reset. this signal could be connected to an led to indicate a failed boot (by programmin g bios to clear gp_blink18 after successful post). bit description 31:0 gp_lvl[31:0] ?r/w. these registers are implemented as dual read/write with dedicated storage each. write value will be stored in the write register, while read is coming from the read register which wi ll always reflect the value of the pin. if gpio[n] is programmed to be an outp ut (using the corresponding bit in the gp_io_sel register), then the corresponding gp_lvl[n] write register value will drive a high or low value on the output pin. 1 = high, 0 = low. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits are stored but have no effect to the pin value. the value reported in this register is undefined when programmed as native mode. note: bit 29 setting will be ignored if me fw is configuring slp_lan# behavior. bit description 31:0 gp_blink[31:0] ?r/w. the setting of this bit has no effect if th e corresponding gpio signal is programmed as an input. 0 = the corresponding gpio will function normally. 1 = if the corresponding gpio is programmed as an output, the output signal will blink at a rate of approximately once per second. the high and low times have approximately 0.5 seconds each. the gp_lvl bit is not altered when this bit is set. the value of the corresponding gp_lvl bit remains unchange d during the blink process, and does not effect the blink in any way. the gp_lvl bit is not altered when programmed to blink. it will remain at its previous value. these bits correspond to gpio in the resume well. thes e bits revert to the default value based on rsmrst# or a write to the cf9h register (but not just on pltrst#).
datasheet 561 lpc interface bridge registers (d31:f0) 13.10.5 gp_ser_blink?gp serial blink register offset address: gpiobase +1ch attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:0 gp_ser_blink[31:0]? r/w. the setting of this bit has no effect if the corresponding gpio is programmed as an in put or if the corresponding gpio has the gpo_blink bit set. when set to a 0, the corresponding gpio will function normally. when using serial blink, this bit should be set to a 1 while the corresponding gp_io_sel bit is set to 1. setting the gp_i o_sel bit to 0 after the gp_ser_blink bit ensures pch will not drive a 1 on the pin as an output. when this corresponding bit is set to a 1 and the pin is configured to ou tput mode, the serial blink capability is enabled. the pch will serialize messages th rough an open-drain buffer configuration. the value of the corresponding gp_lvl bi t remains unchanged and does not impact the serial blink capability in any way. writes to this register have no effect when the corresponding pin is configured in native mode and the read va lue returned is undefined.
lpc interface bridge registers (d31:f0) 562 datasheet 13.10.6 gp_sb_cmdsts?gp serial blink command status register offset address: gpiobase +20h attribute: r/w, ro default value: 00080000h size: 32-bit lockable: no power well: core 13.10.7 gp_sb_data?gp seri al blink data register offset address: gpiobase +24h attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: core bit description 31:24 reserved 23:22 data length select (dls)? r/w. this field determines the number of bytes to serialize on gpio 00 = serialize bits 7:0 of gp_sb_data (1 byte) 01 = serialize bits 15:0 of gp_sb_data (2 bytes) 10 = undefined - software must not write this value 11 = serialize bits 31:0 of gp_sb_data (4 bytes) software should not modify the value in this register unless the busy bit is clear. writes to this register have no effect when the co rresponding pin is configured in native mode and the read value returned is undefined. 21:16 data rate select (drs)? r/w. this field selects the number of 120ns time intervals to count between manchester data transition s. the default of 8h results in a 960 ns minimum time between transitions. a value of 0h in this register produces undefined behavior. software should not modify the value in th is register unless the busy bit is clear. 15:9 reserved 8 busy? ro. this read-only status bit is the hardwa re indication that a serialization is in progress. hardware sets this bit to 1 based on the go bit being set. hardware clears this bit when the go bit is cleared by the hardware. 7:1 reserved 0 go? r/w. this bit is set to 1 by software to start the serialization process. hardware clears the bit after the serialized data is sent. writes of 0 to this register have no effect. software should not write this bit to 1 unless the busy status bit is cleared. bit description 31:0 gp_sb_data[31:0]? r/w. this register contains the data serialized out. the number of bits shifted out are selected through the dls field in the gp_sb_cmdsts register. this register should not be modified by software when the busy bit is set.
datasheet 563 lpc interface bridge registers (d31:f0) 13.10.8 gpi_nmi_en?gpi nmi enable register offset address: gpiobase +28h attribute: r/w default value: 00000h size: 16-bit lockable: no power well: core for 0:7 resume for 8:15 13.10.9 gpi_nmi_sts?gpi nmi status register offset address: gpiobase +2ah attribute: r/wc default value: 00000h size: 16-bit lockable: yes power well: core for 0:7 resume for 8:15 13.10.10 gpi_inv?gpio sign al invert register offset address: gpiobase +2ch attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: core for 17, 16, 7:0 bit description 15:0 gpi_nmi_en[15:0]. gpi nmi enable: this bit only has effect if the corresponding gpio is used as an inpu t and its gpi_rout register is being programmed to nmi functional ity. when set to 1, it us ed to allow active-low and active-high inputs (depends on inversion bit) to cause nmi. bit description 15:0 gpi_nmi_sts[15:0]. gpi nmi status: gpi_nmi_sts[15:0]. gpi nmi status: this bit is set if the corresponding gpio is used as an input, and its gpi_rout register is being programmed to nmi func tionality and also gp i_nmi_en bit is set when it detects either: 1) active-high edge when its corresponding gpi_inv is configured with value 0. 2) active-low edge when its correspondi ng gpi_inv is configured with value 1. note: writing value of 1 will clear the bit, while writing value of 0 have no effect. bit description 31:16 reserved 15:0 input inversion (gp_inv[n])? r/w. this bit only has effect if the corresponding gpio is used as an input and used by the gpe logic, where the polarity matters. when set to ?1?, then the gpi is inverted as it is sent to the gpe logic that is using it. this bit has no effect on the value that is reported in the gp_lvl register. these bits are used to allow both active-low and active-high inputs to cause smi# or sci. note that in the s0 or s1 state, the in put signal must be acti ve for at least two pci clocks to ensure detection by the pch. in the s3, s4 or s5 states the input signal must be active for at least 2 rtc clocks to ensure detection. the setting of these bits has no effect if the corresponding gpio is programm ed as an output. these bits correspond to gpi that are in the resume well, and will be reset to their default values by rsmrst# or by a write to the cf9h register. 0 = the corresponding gpi_sts bit is set when the pch detects the state of the input pin to be high. 1 = the corresponding gpi_sts bit is set when the pch detects the state of the input pin to be low.
lpc interface bridge registers (d31:f0) 564 datasheet 13.10.11 gpio_use_sel2?gpio use select 2 register offset address: gpiobase +30h attribute: r/w default value: 020300ffh (desktop) size: 32-bit 020300feh (mobile) lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 13.10.12 gp_io_sel2?gpio input/ output select 2 register offset address: gpiobase +34h attribute: r/w default value: 1f57fff4h lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:0 gpio_use_sel2[63:32] ?r/w. each bit in this regist er enables the corresponding gpio (if it exists) to be used as a gpio, rather than for the native function. 0 = signal used as native function. 1 = signal used as a gpio. notes: 1. the following bit are always 1 because it is always unmultiplexed: 3, 25. the following bits are unmultiplexed in desktop and are also 1: 0. 2. if gpio[n] does not exist, then, the (n-32) bit in this register will always read as 0 and writes will have no effect. the foll owing bits are always 0: 29, 30 and 31. the following bit is also not used in mobile and is always 0: 0. 3. after a full reset rsmrst# all multiplexe d signals in the resume and core wells are configured as their default function. after only a pltrst#, the gpios in the core well are configured as their default function. 4. when configured to gpio mode, the muxing logic will present the inactive state to native logic that uses the pin as an input. 5. bit 26 is ignored, functionality is conf igured by bits 9:8 of flmap0 register. this register corresponds to gpio[63:32]. bit 0 corresponds to gpio32 and bit 28 corresponds to gpio60. bit description 31:0 gp_io_sel2[63:32]? r/w. 0 = gpio signal is programmed as an output. 1 = corresponding gpio signal (if enab led in the gpio_use_sel2 register) is programmed as an input. this register corresponds to gpio[6 3:32]. bit 0 corresponds to gpio32.
datasheet 565 lpc interface bridge registers (d31:f0) 13.10.13 gp_lvl2?gpio level for input or output 2 register offset address: gpiobase +38h attribute: r/w default value: a4aa0003h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:0 gp_lvl[63:32]? r/w. these registers are implemented as dual read /write with dedicated storage each. write value will be stored in the write register, wh ile read is coming from the read register which will always reflec t the value of the pin. if gpio[n] is programmed to be an output (using the corresponding bit in the gp_i o_sel register), then the corresponding gp_lvl[n] write register value will drive a high or low value on the output pin. 1 = high, 0 = low. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits are stored but have no effect to the pin value. the value reported in this register is undefined when programmed as native mode. note: this register corresponds to gpio[6 3:32]. bit 0 corresponds to gpio32.
lpc interface bridge registers (d31:f0) 566 datasheet 13.10.14 gpio_use_sel3?gpio use select 3 register offset address: gpiobase +40h attribute: r/w default value: 00000100h (desktop) size: 32-bit 00000000h (mobile) lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:9 always 0. no corresponding gpio. 11:8 gpio_use_sel3[75:72] ?r/w. each bit in this regist er enables the corresponding gpio (if it exists) to be used as a gpio, rather than for the native function. 0 = signal used as native function. 1 = signal used as a gpio. notes: 1. the following bit is always 1 because it is always unmultiplexed: 8 2. if gpio[n] does not exist, then, the (n-32) bit in this register will always read as 0 and writes will have no effect. 3. after a full reset rsmrst# all multiplexe d signals in the resume and core wells are configured as their default function. after only a pltrst#, the gpios in the core well are configured as their default function. 4. when configured to gpio mode, the muxing logic will present the inactive state to native logic that uses the pin as an input. this register corresponds to gpio[95:64]. bit 0 corresponds to gpio64 and bit 32 corresponds to gpio95. 7:4 always 0. no corresponding gpio. 3:0 gpio_use_sel3[67:64] ?r/w. each bit in this regist er enables the corresponding gpio (if it exists) to be used as a gpio, rather than for the native function. 0 = signal used as native function. 1 = signal used as a gpio. notes: 1. if gpio[n] does not exist, then, the (n-32) bit in this register will always read as 0 and writes will have no effect. 2. after a full reset rsmrst# all multiplexe d signals in the resume and core wells are configured as their default function. after only a pltrst#, the gpios in the core well are configured as their default function. 3. when configured to gpio mode, the muxing logic will present the inactive state to native logic that uses the pin as an input. this register corresponds to gpio[95:64]. bit 0 corresponds to gpio64 and bit 32 corresponds to gpio95.
datasheet 567 lpc interface bridge registers (d31:f0) 13.10.15 gp_io_sel3?gpio input/ output select 3 register offset address: gpiobase +44h attribute: r/w default value: 00000f00 size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:12 always 0. no corresponding gpio. 11:8 gpio_io_sel3[75:72] ?r/w. 0 = gpio signal is programmed as an output. 1 = corresponding gpio signal (if enab led in the gpio_use_sel3 register) is programmed as an input. this register corresponds to gpio[9 5:64]. bit 0 corresponds to gpio64. 7:4 always 0. no corresponding gpio. 3:0 gpio_io_sel3[67:64] ?r/w. 0 = gpio signal is programmed as an output. 1 = corresponding gpio signal (if enab led in the gpio_use_sel3 register) is programmed as an input. this register corresponds to gpio[9 5:64]. bit 0 corresponds to gpio64.
lpc interface bridge registers (d31:f0) 568 datasheet 13.10.16 gp_lvl3?gpio level for input or output 3 register offset address: gpiobase +48h attribute: r/w default value: 00000000h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:12 always 0. no corresponding gpio. 11:8 gp_lvl[75:72] ?r/w. these registers are implemented as dual read /write with dedicated storage each. write value will be stored in the write register, wh ile read is coming from the read register which will always reflect the value of the pin. if gpio[n] is programmed to be an output (using the corresponding bit in the gp_i o_sel register), then the corresponding gp_lvl[n] write register value will drive a high or low value on the output pin. 1 = high, 0 = low. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits are stored but have no effect to the pin value. the value reported in this register is undefined when programmed as native mode. this register corresponds to gpio[9 5:64]. bit 0 corresponds to gpio64. 7:4 always 0. no corresponding gpio. 3:0 gp_lvl[67:64]? r/w. these registers are implemented as dual read /write with dedicated storage each. write value will be stored in the write register, wh ile read is coming from the read register which will always reflect the value of the pin. if gpio[n] is programmed to be an output (using the corresponding bit in the gp_i o_sel register), then the corresponding gp_lvl[n] write register value will drive a high or low value on the output pin. 1 = high, 0 = low. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits are stored but have no effect to the pin value. the value reported in this register is undefined when programmed as native mode. this register corresponds to gpio[9 5:64]. bit 0 corresponds to gpio64.
datasheet 569 lpc interface bridge registers (d31:f0) 13.10.17 gp_rst_sel1?gpio reset select register offset address: gpiobase +60h attribute: r/w default value: 01000000h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 13.10.18 gp_rst_sel2?gpio reset select register offset address: gpiobase +64h attribute: r/w default value: 00000000h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:24 gp_rst_sel[31:24]? r/w. 0 = corresponding gpio registers will be rese t by host partition reset, global resets, and straight-to-s5 events such as thrmtrip# or power button override. 1 = corresponding gpio registers will be reset by rsmrst# assertion only. note: gpio[24] register bits are not cl eared by cf9h reset by default. note: for a list of causes of host partition and glob al resets, see ta b l e 5 - 3 5 . 23:16 reserved 15:8 gp_rst_sel[15:8] ?r/w. 0 = corresponding gpio registers will be rese t by host partition reset, global resets, and straight-to-s5 events such as thrmtrip# or power button override. 1 = corresponding gpio registers will be reset by rsmrst# assertion only. note: for a list of causes of host partition and glob al resets, see ta b l e 5 - 3 5 . 7:0 reserved bit description 31:24 gp_rst_sel[63:56] ?r/w. 0 = corresponding gpio registers will be rese t by host partition reset, global resets, and straight-to-s5 events such as thrmtrip# or power button override. 1 = corresponding gpio registers will be reset by rsmrst# assertion only. note: for a list of causes of host partition and glob al resets, see ta b l e 5 - 3 5 . 23:16 reserved 15:8 gp_rst_sel[47:40] ?r/w. 0 = corresponding gpio registers will be rese t by host partition reset, global resets, and straight-to-s5 events such as thrmtrip# or power button override. 1 = corresponding gpio registers will be reset by rsmrst# assertion only. note: for a list of causes of host partition and glob al resets, see ta b l e 5 - 3 5 . 7:0 reserved
lpc interface bridge registers (d31:f0) 570 datasheet 13.10.19 gp_rst_sel3?gpio reset select register offset address: gpiobase +68h attribute: r/w default value: 00000000h size: 32-bit lockable: yes power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:12 reserved 11:8 gp_rst_sel[75:72]? r/w. 0 = corresponding gpio registers will be rese t by host partition re set, global resets, and straight-to-s5 events such as thrmtrip# or power button override. 1 = corresponding gpio registers will be reset by rsmrst# assertion only. note: for a list of causes of host partition and global resets, see table 5-35 . 7:0 reserved
datasheet 571 sata controller registers (d31:f2) 14 sata controller registers (d31:f2) 14.1 pci configuration registers (sata?d31:f2) note: address locations that are not shown should be treated as reserved. all of the sata registers are in the core well. none of the registers can be locked. table 14-1. sata controller pci register address map (sata?d31:f2) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 02b0h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface see register description see register description 0ah scc sub class code see register description see register description 0bh bcc base class code 01h ro 0dh pmlt primary master latency timer 00h ro 0eh htype header type 00h ro 10h?13h pcmd_bar primary command block base address 00000001h r/w, ro 14h?17h pcnl_bar primary control block base address 00000001h r/w, ro 18h?1bh scmd_bar secondary command block base address 00000001h r/w, ro 1ch?1fh scnl_bar secondary control block base address 00000001h r/w, ro 20h?23h bar legacy bus master base address 00000001h r/w, ro 24h?27h abar / sidpba ahci base address / sata index data pair base address see register description see register description 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h cap capabilities pointer 80h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 40h?41h ide_tim primary ide timing register 0000h r/w
sata controller registers (d31:f2) 572 datasheet note: the pch sata controller is not arbitrated as a pci device, therefore it does not need a master latency timer. 42h?43h ide_tim secondary ide timing register 0000h r/w 44h sidetim slave ide timing 00h r/w 48h sdma_cnt synchronous dma control 00h r/w 4ah?4bh sdma_tim synchrono us dma timing 0000h r/w 54h?57h ide_config ide i/o configuration 00000000h r/w 70h?71h pid pci power management capability id see register description ro 72h?73h pc pci power management capabilities see register description ro 74h?75h pmcs pci power management control and status see register description r/w, ro, r/wc 80h?81h msici message signaled in terrupt capability id 7005h ro 82h?83h msimc message signaled interrupt message control 0000h ro, r/w 84h?87h msima message signaled interrupt message address 00000000h ro, r/w 88h?89h msimd message signaled interrupt message data 0000h r/w 90h map address map 0000h r/w 92h?93h pcs port control and status 0000h r/w, ro 94h?97h scgc sata clock gating control 00000000h r/w 9ch?9fh sclkgc sata clock general configuration 00000000h r/w, r/wo a0h siri sata indexed registers index 00h r/w a4h strd sata indexed register data xxxxxxxxh r/w a8h?abh satacr0 sata capability register 0 0010b012h ro, r/wo ach?afh satacr1 sata capability register 1 00000048h ro b0h?b1h flrcid flr capability id 0009h ro b2h?b3h flrclv flr capability length and version see register description r/wo, ro b4h?b5h flrctrl flr control 0000h ro, r/w c0h atc apm trapping control 00h r/w c4h ats atm trapping status 00h r/wc d0h?d3h sp scratch pad 00000000h r/w e0h?e3h bfcs bist fis control/status 00000000h r/w, r/wc e4h?e7h bftd1 bist fis transmit data, dw1 00000000h r/w e8h?ebh bftd2 bist fis transmit data, dw2 00000000h r/w table 14-1. sata controller pci register address map (sata?d31:f2) (sheet 2 of 2) offset mnemonic register name default type
datasheet 573 sata controller registers (d31:f2) 14.1.1 vid?vendor identificati on register (sata?d31:f2) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bit lockable: no power well: core 14.1.2 did?device identificati on register (sata?d31:f2) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bit lockable: no power well: core 14.1.3 pcicmd?pci command register (sata?d31:f2) address offset: 04h ? 05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:0 vendor id ?ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ?ro. this is a 16-bit value assign ed to the pch sata controller. note: the value of this field will change dependent upon the value of the map register. see section 14.1.34 bit description 15:11 reserved 10 interrupt disable ?r/w. this disables pin-based in tx# interrupts. this bit has no effect on msi operation. 0 = internal intx# messages are generated if there is an interrupt and msi is not enabled. 1 = internal intx# messages will not be generated. 9 fast back to back enable (fbe)?ro. reserved as 0. 8 serr# enable (serr_en) ? ro. reserved as 0. 7 wait cycle control (wcc)?ro. reserved as 0. 6 parity error response (per)? r/w. 0 = disabled. sata controller will not gene rate perr# when a data parity error is detected. 1 = enabled. sata controller will generate pe rr# when a data parity error is detected. 5 vga palette snoop (vps)?ro. reserved as 0. 4 postable memory write enable (pmwe)?ro. reserved as 0. 3 special cycle en able (sce)?ro. reserved as 0. 2 bus master enable (bme)? r/w. this bit controls the pch?s ability to act as a pci master for ide bus master transfers. this bit does not impact the generation of completions for split transaction commands. 1 memory space enable (mse)? r/w / ro. controls access to the sata controller?s target memory space (for ahci). this bi t is ro 0 when not in ahci/raid modes. 0 i/o space enable (iose)? r/w. this bit controls access to the i/o space registers. 0 = disables access to the legacy or native ide ports (both primary and secondary) as well as the bus mast er i/o registers. 1 = enable. note that the base address register for the bus master registers should be programmed before this bit is set.
sata controller registers (d31:f2) 574 datasheet 14.1.4 pcists?pci status register (sata?d31:f2) address offset: 06h ? 07h attribute: r/wc, ro default value: 02b0h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ?r/wc. 0 = no parity error detected by sata controller. 1 = sata controller detects a parity error on its interface. 14 signaled system error (sse)?ro. reserved as 0. 13 received master abort (rma)? r/wc. 0 = master abort not generated. 1 = sata controller, as a master , generated a master abort. 12 reserved as 0 ? ro. 11 signaled target abort (sta)?ro. reserved as 0. 10:9 devsel# timing status (dev_sts) ?ro. 01 = hardwired; controls the devi ce select time for the sata controller?s pci interface. 8 data parity error detected (dped)? r/wc. for pch, this bit can only be set on read completions received from the bus when there is a parity error. 1 = sata controller, as a master, either detect s a parity error or sees the parity error line asserted, and the parity error response bit (bit 6 of the command register) is set. 7 fast back to back capable (fb2bc)?ro. reserved as 1. 6 user definable features (udf) ? ro. reserved as 0. 5 66mhz capable (66mhz_cap) ? ro. reserved as 1. 4 capabilities list (cap_list)? ro. this bit indicates the pr esence of a capabilities list. the minimum requirement for the capabili ties list must be pci power management for the sata controller. 3 interrupt status (ints) ?ro. reflects the state of intx# messages, irq14 or irq15. 0 = interrupt is cleared (ind ependent of the state of in terrupt disabl e bit in the command register [offset 04h]). 1 = interrupt is to be asserted 2:0 reserved
datasheet 575 sata controller registers (d31:f2) 14.1.5 rid?revision identificati on register (sata?d31:f2) offset address: 08h attribute: ro default value: see bit description size: 8 bits 14.1.6 pi?programmin g interface register (sata?d31:f2) 14.1.6.1 when sub class code register (d31:f2:offset 0ah) = 01h address offset: 09h attribute: r/w, ro default value: see bit description size: 8 bits bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 7 this read-only bit is a 1 to indicate that the pch supports bus master operation 6:4 reserved. will always return 0. 3 secondary mode native capable (snc) ?ro. 0 = secondary controller only supports legacy mode. 1 = secondary controller supports both legacy and native modes. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit reports as a 0. when map.mv is 00b , this bit reports as a 1. 2 secondary mode nati ve enable (sne) ?r/w. determines the mode th at the secondary channel is operating in. 0 = secondary controller operatin g in legacy (compatibility) mode 1 = secondary controller operating in native pci mode. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit is read- only (ro). when map.mv is 00b, this bit is read/write (r/w). if this bit is set by software, then the pne bit (bit 0 of this register ) must also be set by software. while in theory these bits can be programmed separately, such a configuration is not supported by hardware. 1 primary mode native capable (pnc)? ro. 0 = primary controller only supports legacy mode. 1 = primary controller supports both legacy and native modes. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit reports as a 0. when map.mv is 00b , this bit reports as a 1. 0 primary mode native enable (pne) ?r/w. determines the mode that the primary channel is operating in. 0 = primary controller operating in legacy (compatibility) mode. 1 = primary controller operating in native pci mode. if this bit is set by software, then the sne bit (bit 2 of this register) must also be set by software simultaneously.
sata controller registers (d31:f2) 576 datasheet 14.1.6.2 when sub class code regi ster (d31:f2:offset 0ah) = 04h address offset: 09h attribute: ro default value: 00h size: 8 bits 14.1.6.3 when sub class code regi ster (d31:f2:offset 0ah) = 06h address offset: 09h attribute: ro default value: 01h size: 8 bits 14.1.7 scc?sub class code register (sata?d31:f2) address offset: 0ah attribute: ro default value: see bit description size: 8 bits bit description 7:0 interface (if) ?ro. when configured as raid, this register becomes read only 0. bit description 7:0 interface (if) ?ro. indicates the sata controll er supports ahci, rev 1.2. bit description 7:0 sub class code (scc) this field specifies the sub-class code of the controller, per the table below: pch only: pch mobile only: intel ? rapid storage technology enabled pch components only: scc register attribute scc register value ro 01h (ide controller) map.sms (d31:f2:offset 90h:bit 7:6) scc register value 00b 01h (ide controller) 01b 06h (ahci controller) map.sms (d31:f2:offset 90h:bit 7:6) scc default register value 00b 01h (ide controller) 01b 06h (ahci controller) 10b 04h (raid controller)
datasheet 577 sata controller registers (d31:f2) 14.1.8 bcc?base clas s code register (sata?d31:f2sata?d31:f2) address offset: 0bh attribute: ro default value: 01h size: 8 bits 14.1.9 pmlt?primary master latency timer register (sata?d31:f2) address offset: 0dh attribute: ro default value: 00h size: 8 bits 14.1.10 htype?header type register (sata?d31:f2) address offset: 0eh attribute: ro default value: 00h size: 8 bits 14.1.11 pcmd_bar?primary co mmand block base address register (sata?d31:f2) address offset: 10h ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 8-byte i/o space is used in native mo de for the primary controller?s command block. bit description 7:0 base class code (bcc) ?ro. 01h = mass storage device bit description 7:0 master latency timer count (mltc) ?ro. 00h = hardwired. the sata controller is im plemented internally, and is not arbitrated as a pci device, so it does no t need a master latency timer. bit description 7 multi-function device (mfd) ?ro. indicates this sata controller is no t part of a multifunction device. 6:0 header layout (hl) ?ro. indicates that the sata controller uses a target device layout. bit description 31:16 reserved 15:3 base address? r/w. this field provides the ba se address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space.
sata controller registers (d31:f2) 578 datasheet 14.1.12 pcnl_bar?primary co ntrol block base address register (sata?d31:f2) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 4-byte i/o space is used in native mo de for the primary cont roller?s command block. 14.1.13 scmd_bar?secondary co mmand block base address register (ide d31:f2) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. 14.1.14 scnl_bar?secondary co ntrol block base address register (ide d31:f2) address offset: 1ch ? 1fh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mo de for the secondary co ntroller command block. bit description 31:16 reserved 15:2 base address? r/w. this field provides the base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte) ?ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:3 base address? r/w. this field provid es the base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ?ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:2 base address? r/w. this field provid es the base address of the i/o space (4 consecutive i/o locations). 1reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space.
datasheet 579 sata controller registers (d31:f2) 14.1.15 bar?legacy bus mast er base address register (sata?d31:f2) address offset: 20h ? 23h attribute: r/w, ro default value: 00000001h size: 32 bits the bus master ide interface function uses base address register 5 to request a 16- byte i/o space to provide a software interface to the bus master functions. only 12 bytes are actually used (6 bytes for primary, 6 bytes for secondary). only bits [15:4] are used to decode the address. 14.1.16 abar/sidpba1?ahci base address register/serial ata index data pair base address (sata?d31:f2) when the programming interface is not ide (that is, scc is not 01h), this register is named abar. when the programming interface is ide, this register becomes sidpba. note that hardware does not clear those ba bits when switching from ide component to non-ide component or vice versa. bios is responsible for clearing those bits to 0 since the number of writable bits changes after component switching (as indicated by a change in scc). in th e case, this register will then have to be re-programmed to a proper value. 14.1.16.1 when scc is not 01h when the programming interface is not ide, the register represents a memory bar allocating space for the ahci memory registers defined in section 14.4 . . address offset: 24?27h attribute: r/w, ro default value: 00000000h size: 32 bits note: 1. the abar register must be set to a value of 0001_0000h or greater. bit description 31:16 reserved 15:5 base address? r/w. this field provides the base address of the i/o space (16 consecutive i/o locations). 4 base ?r/w / ro. when scc is 01h, this bit will be r/w resulting in requesting 16b of i/ o space. when scc is not 01h, this bit will be read only 0, resulting in requesting 32b of i/o space. 3:1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space. bit description 31:11 base address (ba)? r/w. base address of register memory space (aligned to 1 kb) 10:4 reserved 3 prefetchable (pf) ?ro. indicates that this range is not pre-fetchable 2:1 type (tp)? ro. indicates that this range can be mapped anywhere in 32-bit address space. 0 resource type indicator (rte)? ro. hardwired to 0 to indicate a request for register memory space.
sata controller registers (d31:f2) 580 datasheet 14.1.16.2 when scc is 01h when the programming interface is ide, the register becomes an i/o bar allocating 16 bytes of i/o space for the i/o-mapped registers defined in section 14.2 . note that although 16 bytes of locations are allocated, only 8 bytes are used as sindx and sdata registers; with the remaining 8 bytes preserved for future enhancement. address offset: 24h ? 27h attribute: r/wo default value: 00000001h size: 32 bits 14.1.17 svid?subsystem vendor identification register (sata?d31:f2) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core function level reset: no 14.1.18 sid?subsystem identifica tion register (sata?d31:f2) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core function level reset: no 14.1.19 cap?capabilities poin ter register (sata?d31:f2) address offset: 34h attribute: ro default value: 80h size: 8 bits bit description 31:16 reserved 15:4 base address (ba)? r/w. base address of the i/o space. 3:1 reserved 0 resource type indicator (rte)? ro. indicates a request for i/o space. bit description 15:0 subsystem vendor id (svid)? r/wo. value is written by bios. no hardware action taken on this value. bit description 15:0 subsystem id (sid) ?r/wo. value is written by bios. no hardware action taken on this value. bit description 7:0 capabilities pointer (cap_ptr) ?ro. indicates that the firs t capability pointer offset is 80h. this value changes to 70h if th e sub class code (scc) (dev 31:f2:0ah) is configure as ide mode (value of 01).
datasheet 581 sata controller registers (d31:f2) 14.1.20 int_ln?interrupt line register (sata?d31:f2) address offset: 3ch attribute: r/w default value: 00h size: 8 bits function level reset: no 14.1.21 int_pn?interrupt pi n register (sata?d31:f2) address offset: 3dh attribute: ro default value: see register description size: 8 bits 14.1.22 ide_tim?ide timing register (sata?d31:f2) address offset: primary: 40h ? 41h attribute: r/w secondary: 42h ? 43h default value: 0000h size: 16 bits note: bits 14:12 and 9:0 of this register are r/ w to maintain software compatibility. these bits have no effect on hardware. bit description 7:0 interrupt line? r/w. this field is used to communicat e to software the interrupt line that the interrupt pin is connected to. interrupt line register is not reset by flr. bit description 7:0 interrupt pin? ro. this reflects the value of d31ip.sip (chipset config registers:offset 3100h:bits 11:8). bit description 15 ide decode enable (ide)? r/w. individually enable/disable the primary or secondary decode. 0 = disable. 1 = enables the pch to decode the associat ed command block (1f0?1f7h for primary, 170?177h for secondary, or their native mode bar equivalents) and control block (3f6h for primary, 376h for secondary, or their native mode bar equivalents). this bit effects the ide deco de ranges for both legacy and native-mode decoding. 14:12 ide_tim field 2 ?r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware. 11:10 reserved 9:0 ide_tim field 1 ?r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware.
sata controller registers (d31:f2) 582 datasheet 14.1.23 sidetim?slave ide timi ng register (sata?d31:f2) address offset: 44h attribute: r/w default value: 00h size: 8 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. 14.1.24 sdma_cnt?synchronous dma control register (sata?d31:f2) address offset: 48h attribute: r/w default value: 00h size: 8 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. 14.1.25 sdma_tim?synchronous dma timing register (sata?d31:f2) address offset: 4ah?4bh attribute: r/w default value: 0000h size: 16 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. bit description 7:0 sidetim field 1 ?r/w. this field is r/w to maintain software compatibil ity. this field has no effect on hardware. bit description 7:4 reserved 3:0 sdma_cnt field 1 ?r/w. this field is r/w to mainta in software compatibility. this field has no effect on hardware. bit description 15:14 reserved 13:12 sdma_tim field 4 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 11:10 reserved 9:8 sdma_tim field 3 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 7:6 reserved 5:4 sdma_tim field 2 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 3:2 reserved 1:0 sdma_tim field 1? r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware.
datasheet 583 sata controller registers (d31:f2) 14.1.26 ide_config?ide i/o configuration register (sata?d31:f2) address offset: 54h?57h attribute: r/w default value: 00000000h size: 32 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. 14.1.27 pid?pci power management capability identification register (sata?d31:f2) address offset: 70h ? 71h attribute: ro default value: xx01h size: 16 bits bit description 31:24 reserved 23:12 ide_config field 2 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 11:8 reserved 7:0 ide_config field 1 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. bits description 15:8 next capability (next)?ro. b0h?if scc = 01h (ide mode) indicating next item is flr capability pointer. a8h?for all other values of scc to po int to the next capability structure. 7:0 capability id (cid)?ro. in dicates that this pointer is a pci power management.
sata controller registers (d31:f2) 584 datasheet 14.1.28 pc?pci power manageme nt capabilities register (sata?d31:f2) address offset: 72h ? 73h attribute: ro default value: x003h size: 16 bits f bits description 15:11 pme support (pme_sup) ?ro. 00000 = if scc = 01h, indicates no pme support in ide mode. 01000 = if scc is not 01h, in a non-ide mode, indicates pme# can be generated from the d3 hot state in the sata host controller. 10 d2 support (d2_sup)?ro. hardwired to 0. the d2 state is not supported 9 d1 support (d1_sup)?ro. hardwired to 0. the d1 state is not supported 8:6 auxiliary current (aux_cur) ?ro. pme# from d3 cold state is not supported, therefore this field is 000b. 5 device specific initialization (dsi) ?ro. hardwired to 0 to in dicate that no device- specific initialization is required. 4 reserved 3 pme clock (pme_clk)?ro. hardwired to 0 to in dicate that pci clock is not required to generate pme#. 2:0 version (ver) ?ro. hardwired to 011 to indicates support for revision 1.2 of the pci power management specification.
datasheet 585 sata controller registers (d31:f2) 14.1.29 pmcs?pci power mana gement control and status register (sata?d31:f2) address offset: 74h ? 75h attribute: r/w, r/wc default value: xx08h size: 16 bits function level reset: no (bits 8 and 15) bits description 15 pme status (pmes) ?r/wc. bit is set when a pme event is to be requested, and if this bit and pmee is set, a pme# will be generated from the sata controller note: whenever scc = 01h, hardware will auto matically change the attribute of this bit to ro 0. software is advised to clear pmee and pmes together prior to changing scc thru map.sms. this bit is not reset by function level reset. 14:9 reserved 8 pme enable (pmee) ?r/w. when set, the sata controller generates pme# form d3 hot on a wake event. note: whenever sccscc = 01h, hardware will automatically change the attribute of this bit to ro 0. software is advised to clear pmee and pmes together prior to changing scc thru map.sms. this bit is not reset by function level reset. 7:4 reserved 3 no soft reset (nsfrst) ?ro. these bits are used to indicate wh ether devices transitioning from d3 hot state to d0 state will perform an internal reset. 0 = device transitioning from d3 hot state to d0 state perfo rm an internal reset. 1 = device transitioning from d3 hot state to d0 state do not perform an internal reset. configuration content is preserved. upon transition from the d3 hot state to d0 state initialized state, no addition al operating system interventi on is required to preserve configuration context beyond writing to the powerstate bits. regardless of this bit, the controller transition from d3 hot state to d0 state by a system or bus segment reset will return to the state d0 uninitialized with only pme context preserved if pme is supported and enabled. 2reserved 1:0 power state (ps) ?r/w. these bits are used both to determine the current power state of the sata controller and to set a new power state. 00 = d0 state 11 = d3 hot state when in the d3 hot state, the controller?s configurat ion space is available, but the i/o and memory spaces are not. addi tionally, interrupts are blocked.
sata controller registers (d31:f2) 586 datasheet 14.1.30 msici?message signal ed interrupt capability identification register (sata?d31:f2) address offset: 80h ? 81h attribute: ro default value: 7005h size: 16 bits note: there is no support for msi when the software is operating in legacy (ide) mode when ahci is not enabled. prior to switching from ahci to ide mode, software must make sure that msi is disabled. 14.1.31 msimc?message sign aled interrupt message control register (sata?d31:f2) address offset: 82h ? 83h attribute: r/w, ro default value: 0000h size: 16 bits note: there is no support for msi when the software is operating in legacy (ide) mode when ahci is not enabled. prior to switching from ahci to ide mode, software must make sure that msi is disabled. bits description 15:8 next pointer (next)? ro. indicates the next item in the list is the pci power management pointer. 7:0 capability id (cid)? ro. capabilities id indicates msi. bits description 15:8 reserved 7 64 bit address capable (c64)? ro. capable of generating a 32-bit message only.
datasheet 587 sata controller registers (d31:f2) 6:4 multiple message enable (mme) ?r/w. = 000 (and msie is set), a single msi messag e will be generated fo r all sata ports, and bits [15:0] of the message vector will be driven from md[15:0]. values ?011b? to ?111b? are reserved. if this field is set to one of these reserved values, the results are undefined. note: the ccc interrupt is generated on unimple mented port (ahci pi register bit equal to 0). if ccc interrupt is disabled, no msi shall be gene rated for the port dedicated to the ccc interrupt. when ccc interrupt occurs, md[2:0] is dependant on ccc_ctl.int (in addition to mme). 3:1 multiple message capable (mmc)? ro. indicates the number of interrupt messages supported by the pch sata controller. 000 = 1 msi capable (when scc bit is set to 01h. msi is not supported in ide mode) 100 = 8 msi capable 0 msi enable (msie)? r/w /ro. if set, msi is enabled and traditional interrupt pins are not used to generate interrupts. this bit is rw when sc.scc is not 01h and is read-only 0 when scc is 01h. note that cm d.id bit has no effect on msi. note: software must clear this bit to 0 to di sable msi first before changing the number of messages allocated in the mmc field. software must also make sure this bit is cleared to ?0? when operating in legacy mode (when ghc.ae = 0). bits description for 6 port components: mme value driven on msi memory write bits[15:3] bit[2] bit[1] bit[0] 000, 001, 010 md[15:3] md[2] md[1] md[0] 100 md[15:3] port 0: 0 port 1: 0 port 2: 0 port 3: 0 port 4: 1 port 5: 1 port 0: 0 port 1: 0 port 2: 1 port 3: 1 port 4: 0 port 5: 0 port 0: 0 port 1: 1 port 2: 0 port 3: 1 port 4: 0 port 5: 1 for 4 port components: mme value driven on msi memory write bits[15:3] bit[2] bit[1] bit[0] 000, 001, 010 md[15:3] md[2] md[1] md[0] 100 md[15:3] port 0: 0 port 1: 0 port 4: 1 port 5: 1 port 0: 0 port 1: 0 port 2: 0 port 3: 0 port 0: 0 port 1: 1 port 2: 0 port 3: 1
sata controller registers (d31:f2) 588 datasheet 14.1.32 msima?message signaled interrupt message address register (sata?d31:f2) address offset: 84h ? 87h attribute: r/w default value: 00000000h size: 32 bits note: there is no support for msi when the software is operating in legacy (ide) mode when ahci is not enabled. prior to switching from ahci to ide mode, software must make sure that msi is disabled. 14.1.33 msimd?message sign aled interrupt message data register (sata?d31:f2) address offset: 88h?89h attribute: r/w default value: 0000h size: 16 bits note: there is no support for msi when the software is operating in legacy (ide) mode when ahci is not enabled. prior to switching from ahci to ide mode, software must make sure that msi is disabled. bits description 31:2 address (addr)? r/w. lower 32 bits of the system specified message address, always dword aligned. 1:0 reserved bits description 15:0 data (data)? r/w. this 16-bit field is programmed by system software if msi is enabled. its content is driven onto the lowe r word of the data bu s of the msi memory write transaction. note that when the mme field is set to ?001? or ?010?, bit [0] and bits [1:0] respectively of the msi memory write transaction will be driven based on the source of the interrupt rather than from md[2:0]. see the description of the mme field.
datasheet 589 sata controller registers (d31:f2) 14.1.34 map?address map re gister (sata?d31:f2) address offset: 90h attribute: r/w, r/wo default value: 0000h size: 16 bits function level reset: no (bits 7:5 and 13:8 only) bits description 15:8 reserved 7:6 sata mode select (sms)? r/w. software programs these bits to control the mode in which the sata controller should operate: 00b = ide mode 01b = ahci mode 10b = raid mode 11b = reserved notes: 1. the sata function device id will chan ge based on the value of this register. 2. when switching from ahci or raid mode to ide mode, a 2 port sata controller (device 31, function 5) will be enabled. 3. ahci mode may only be selected when mv = 00 4. raid mode may only be selected when mv = 00 5. programming these bits with values that are invalid (such as, selecting raid when in combined mode) will result in indeterministic behavior by the hw 6. sw shall not manipulate sms during runt ime operation; that is, the os will not do this. the bios may choose to switch from one mode to another during post. these bits are not reset by function level reset. 5 sata port-to-controlle r configuration (sc)? r/w. this bit changes the number of sata ports available within each sata controller. 0 = up to 4 sata ports are available for cont roller 1 (device 31 func tion 2) with ports [3:0] and up to 2 sata ports are available for controller 2 (device 31 function 5) with ports [5:4]. 1 = up to 6 sata ports are available for cont roller 1 (device 31 func tion 2) with ports [5:0] and no sata ports are available for controller 2 (device 31 function 5). note: this bit should be set to 1 in ahci/raid mode. this bit is no t reset by function level reset. 4:2 reserved 1:0 map value (mv)? ro. reserved
sata controller registers (d31:f2) 590 datasheet 14.1.35 pcs?port control and status register (sata?d31:f2) address offset: 92h ? 93h attribute: r/w, ro default value: 0000h size: 16 bits function level reset: no by default, the sata ports are set to the di sabled state (bits [5:0] = 0). when enabled by software, the ports can transition between the on, partial, and slumber states and can detect devices. when disabled, the port is in the ?off? state and cannot detect any devices. if an ahci-aware or raid enabled operating system is being booted, then system bios shall insure that all supported sata ports are enabled prior to passing control to the os. once the ahci aware os is booted it becomes the enabling/disabling policy owner for the individual sata ports. this is acco mplished by manipulating a port?s pxsctl and pxcmd fields. because an ahci or raid awar e os will typically not have knowledge of the pxe bits and because the pxe bits act as master on/off switches for the ports, pre- boot software must insure that these bits are set to 1 prior to booting the os, regardless as to whether or not a device is currently on the port. bits description 15 oob retry mode (orm)? rw. 0 = the sata controller will not retry after an oob failure 1 = the sata controller will continue to retry after an oob fa ilure until successful (infinite retry) 14 reserved 13 port 5 present (p5p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disa bled using p5e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 5 has been detected. 12 port 4 present (p4p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disa bled using p4e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 4 has been detected. 11 (desktop only) port 3 present (p3p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disa bled using p3e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 3 has been detected. 10 (desktop only) port 2 present (p2p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disa bled using p2e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 2 has been detected. 11:10 (mobile only) reserved 9 port 1 present (p1p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disa bled using p1e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 1 has been detected.
datasheet 591 sata controller registers (d31:f2) 8 port 0 present (p0p)? ro. the status of this bit may ch ange at any time . this bit is cleared when the port is disabled using p0 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 0 has been detected. 7:6 reserved 5 port 5 enabled (p5e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p5cmd.sud (offset abar+298h:bit 1) if map.sc is 0, if scc is 01h, this bit wi ll be read only 0 or if map.spd[5] is 1. 4 port 4 enabled (p4e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p4cmd.sud (offset abar+298h:bit 1) if map.sc is 0, if scc is 01h, this bit wi ll be read only 0 or if map.spd[4] is 1. 3 (desktop only) port 3 enabled (p3e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p3cm d.sud (offset abar+2 98h:bit 1). when map.spd[3] is 1 this is re served and is read-only 0. 2 (desktop only) port 2 enabled (p2e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p2cm d.sud (offset abar+2 18h:bit 1). when map.spd[2] is 1 this is re served and is read-only 0. 3:2 (mobile only) reserved 1 port 1 enabled (p1e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p1cm d.sud (offset abar+1 98h:bit 1). when map.spd[1] is 1 this is re served and is read-only 0. 0 port 0 enabled (p0e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p0cm d.sud (offset abar+1 18h:bit 1). when map.spd[0] is 1 this is re served and is read-only 0. bits description
sata controller registers (d31:f2) 592 datasheet 14.1.36 sclkcg?sata clock gating control register address offset: 94h?97h attribute: r/w default value: 00000000h size: 32 bits . bit description 31:30 reserved 29:24 port clock disable (pcd)? r/w. 0 = all clocks to the associated port logic will operate normally. 1 = the backbone clock driven to the associated port lo gic is gated and will not toggle. bit 29: port 5 bit 28: port 4 bit 27: port 3 bit 26: port 2 bit 25: port 1 bit 24: port 0 if a port is not available, software shall set the corresponding bi t to 1. software can also set the corresponding bits to 1 on ports that are disabled. software cannot set the pcd [port x]=1 if the corresponding pcs.pxe=1 in either dev31func2 or dev31func5 (dual controller ide mode) or ahci ghc.pi[x] = ?1?. 23:9 reserved 8:0 sclkcg field 1 ?r/w. bios must program these bits to 183h.
datasheet 593 sata controller registers (d31:f2) 14.1.37 sclkgc?sata clock gene ral configuration register address offset: 9ch?9fh attribute: r/w, r/wo default value: 00000000h size: 32 bits function level reset: no bit description 31:8 reserved 7 (non-raid capable skus only) reserved 7 (raid capable skus only) alternate id enable (aie)? r/wo. 0 = when in raid mode the sata controller located at device 31: function 2 will report the device id 2822h for desktop or 282ah for mobile and the microsoft windows vista* and windows* 7 in-box version of the intel ? rapid storage manager will load on the platform. 1 = when in raid mode the sata controller located at device 31: function 2 will report the device id 3b25h for deskto p raid 0/1/5/10, 3b2ch for mobile to prevent the microsoft windows vista or windows 7 in-box version of the intel ? rapid storage manager from loading on the platform and will require the user to perform an ?f6? inst allation of the appropriate intel ? rapid storage manager. note: this field is applicable when the ah ci is configured for raid mode of operation. it has no impact for ahci and ide modes of operation. bios is recommended to program this bit prio r to programming the map.sms field to reflect raid. this field is reset by pltrst#. bios is required to reprogram the value of this bit af ter resuming from s3, s4 and s5. 6:2 reserved 1 sata2-port configuration indicator (sata2pind)? ro. 0 = normal configuration. 1 = one ide controller is implemented supporting only two ports for a primary master and a secondary master. note: when set, bios must ensu re that bit 2 and bit 3 of the ahci pi registers are zeros. bios must also make sure that port 2 and port 3 are disabled (using pcs configuration register) an d the port clocks are gated (using sclkcg configuration register). 0 sata4-port all master configur ation indicator (sata4pmind)? ro. 0 = normal configuration. 1 = two ide controllers are implemented, each supporting two ports for a primary master and a secondary master. note: when set, bios must ensu re that bit 2 and bit 3 of the ahci pi registers are zeros. bios must also make sure that port 2 and port 3 are disabled (using pcs configuration register) an d the port clocks are gated (using sclkcg configuration register).
sata controller registers (d31:f2) 594 datasheet 14.1.38 siri?sata indexed registers index register address offset: a0h attribute: r/w default value: 00h size: 8 bits . 14.1.39 flrcid?flr capability id register (sata?d31:f2) address offset: b0?b1h attribute: ro default value: 0009h size: 16 bits bit description 7:2 index (idx)? r/w. this field is a 5-bit index poin ter into the sata indexed register space. data is written into and read from the sird register (d31:f2:a4h). 1:0 reserved bit description 15:8 next capability pointer? ro. 00h indicates the final it em in the capability list. 7:0 capability id? ro. the value of this field depends on the flrcssel bit. 13h = if pflrcssel = 0 09h (vendor specific) = if pflrcssel = 1
datasheet 595 sata controller registers (d31:f2) 14.1.40 flrclv?flr capabili ty length and version register (sata?d31:f2) address offset: b2?b3h attribute: ro, r/wo default value: xx06h size: 16 bits function level reset: no (bit 9:8 only when flrcssel = 0) when flrcssel = 0, this register is defined as follows: when flrcssel = 1, this register is defined as follows: 14.1.41 flrc?flr control re gister (sata?d31:f2) address offset: b4?b5h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:10 reserved 9 flr capability? r/wo. 1 = support for function level reset. this bit is not reset by the function level reset. 8 txp capability? r/wo. 1 = support for transactions pending (txp) bit. txp must be supported if flr is supported. 7:0 vendor-specific capability id ?ro. this field indicates the # of bytes of this vendor specific capability as required by the pci specification. it has the value of 06h for the flr capability. bit description 15:12 vendor-specific capability id ?ro. a value of 2h identifies this capability as the function level reset (flr). 11:8 capability version? ro. this field indicates the ve rsion of the flr capability. 7:0 vendor-specific capability id ?ro. this field indicates the # of bytes of this vendor specific capability as required by the pci specification. it has the value of 06h for the flr capability. bit description 15:9 reserved 8 transactions pending (txp)? ro. 0 = controller has received all non-posted requests. 1 = controller has issued non-posted requests which has not been completed. 7:1 reserved 0 initiate flr? r/w. used to initiate flr transition. a write of 1 indicates flr transition. since hardware must no t respond to any cycl es till flr completion the value read by software from this bit is 0.
sata controller registers (d31:f2) 596 datasheet 14.1.42 atc?apm trapping cont rol register (sata?d31:f2) address offset: c0h attribute: r/w default value: 00h size: 8 bits function level reset:no . 14.1.43 ats?apm trapping stat us register (sata?d31:f2) address offset: c4h attribute: r/wc default value: 00h size: 8 bits function level reset: no . 14.1.44 sp scratch pad register (sata?d31:f2) address offset: d0h attribute: r/w default value: 00000000h size: 32 bits . bit description 7:4 reserved 3 secondary slave trap (sst)? r/w. enables trapping and smi# assertion on legacy i/o accesses to 170h?177h and 376h. the active device on the secondary interface must be device 1 for the trap and/or smi# to occur. 2 secondary master trap (spt)? r/w. enables trapping and smi# assertion on legacy i/o accesses to 170h-177h and 376h. the acti ve device on the secondary interface must be device 0 for the trap and/or smi# to occur. 1 primary slave trap (pst)? r/w. enables trapping and sm i# assertion on legacy i/o accesses to 1f0h?1f7h and 3f6h. the active device on the primar y interface must be device 1 for the trap and/or smi# to occur. 0 primary master trap (pmt)? r/w. enables trapping and sm i# assertion on legacy i/ o accesses to 1f0h?1f7h and 3f6h. the active device on the primary interface must be device 0 for the trap and/or smi# to occur. bit description 7:4 reserved 3 secondary slave trap (sst)? r/wc. indicates that a trap occurred to the secondary slave device. 2 secondary master trap (spt)? r/wc. indicates that a trap occurred to the secondary master device. 1 primary slave trap (pst)? r/wc. indicates that a trap occurred to the primary slave device. 0 primary master trap (pmt)? r/wc. indicates that a trap occurred to the primary master device. bit description 31:0 data (dt)? r/w. this is a read/write register that is available for software to use. no hardware action is taken on this register.
datasheet 597 sata controller registers (d31:f2) 14.1.45 bfcs?bist fis control/st atus register (sata?d31:f2) address offset: e0h ? e3h attribute: r/w, r/wc default value: 00000000h size: 32 bits bits description 31:16 reserved 15 port 5 bist fis initiate (p5bfi) ?r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 5, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 5 is present and read y (not partial/slumber state). after a bist fis is successfully completed, soft ware must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fiss or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p5bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully 14 port 4 bist fis initiate (p4bfi) ?r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 4, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 4 is present and read y (not partial/slumber state). after a bist fis is successfully completed, soft ware must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fiss or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p4bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully 13 (desktop only) port 3 bist fis initiate (p3bfi) ?r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 3, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 3 is present and read y (not partial/slumber state). after a bist fis is successfully completed, soft ware must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fiss or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p3bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully 12 (desktop only) port 2 bist fis initiate (p2bfi) ?r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 2, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 2 is present and read y (not partial/slumber state). after a bist fis is successfully completed, soft ware must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p2bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully 13:12 (mobile only) reserved
sata controller registers (d31:f2) 598 datasheet 11 bist fis successful (bfs) ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set any time a bist fis transmitted by pch receives an r_ok completion status from the device. note: this bit must be cleared by softwa re prior to initiating a bist fis. 10 bist fis failed (bff) ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set any time a bist fis transmitted by pch receives an r_err completion status from the device. note: this bit must be cleared by softwa re prior to initiating a bist fis. 9 port 1 bist fis initiate (p1bfi) ?r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 1, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 1 is present and read y (not partial/slumber state). after a bist fis is successfully completed, software must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, th en software can clear then set the p1bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully. 8 port 0 bist fis initiate (p0bfi)? r/w. when a rising edge is detected on this bit field, the pch initiates a bist fis to the device on port 0, using the parameters specified in this register and the data sp ecified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 0 is present and read y (not partial/slumber state). after a bist fis is successfully completed, software must disable and re- enable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the pch to a normal op erational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, th en software can clear then set the p0bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully. 7:2 bist fis parameters (bfp)? r/w. these 6 bits form th e contents of the upper 6 bits of the bist fis pattern definition in any bist fis transmitted by the pch. this field is not port specific?its contents will be used for any bist fis initiated on port 0, port 1, port 2 or port 3. th e specific bit definitions are: bit 7: t ? far end transmit mode bit 6: a ? align bypass mode bit 5: s ? bypass scrambling bit 4: l ? far end retimed loopback bit 3: f ? far end analog loopback bit 2: p ? primitive bit for use with transmit mode 1:0 reserved bits description
datasheet 599 sata controller registers (d31:f2) 14.1.46 bftd1?bist fis transmit data1 register (sata?d31:f2) address offset: e4h ? e7h attribute: r/w default value: 00000000h size: 32 bits 14.1.47 bftd2?bist fis transmit data2 register (sata?d31:f2) address offset: e8h ? ebh attribute: r/w default value: 00000000h size: 32 bits bits description 31:0 bist fis transmit data 1 ?r/w. the data programmed into this register will form the contents of the second dword of any bist fis initiated by the pch. this register is not port specific?its contents will be used for bist fis initia ted on any port. although the 2nd and 3rd dws of the bist fis are only me aningful when the ?t? bit of the bist fis is set to indicate ?far-end transmit mode?, this register?s contents will be transmitted as the bist fis 2nd dw regardless of whether or not the ?t? bit is indicated in the bfcs register (d31:f2:e0h). bits description 31:0 bist fis transmit data 2? r/w. the data programmed into this register will form the contents of the third dword of any bist fis initiated by the pch. this register is not port specific?its contents will be used for bist fis initia ted on any port. although the 2nd and 3rd dws of the bist fis are only me aningful when the ?t? bit of the bist fis is set to indicate ?far-end transmit mode?, this register?s contents will be transmitted as the bist fis 3rd dw regardless of whether or not the ?t? bit is indicated in the bfcs register (d31:f2:e0h).
sata controller registers (d31:f2) 600 datasheet 14.2 bus master ide i/ o registers (d31:f2) the bus master ide function uses 16 bytes of i/o space, allocated using the bar register, located in device 31:function 2 configuration space, offset 20h. all bus master ide i/o space registers can be accessed as byte, word, or dword quantities. reading reserved bits returns an indetermin ate, inconsistent value, and writes to reserved bits have no affect (but should not be attempted). these registers are only used for legacy operation. software must not use these registers when running ahci. all i/o registers are reset by function level reset. the register address i/o map is shown in table 14-2 . table 14-2. bus master ide i/o register address map bar+ offset mnemonic register default type 00 bmicp command register primary 00h r/w 01 ? reserved ? ro 02 bmisp bus master ide status register primary 00h r/w, r/ wc, ro 03 ? reserved ? ro 04?07 bmidp bus master ide descriptor table pointer primary xxxxxxxxh r/w 08 bmics command register secondary 00h r/w 09 ? reserved ? ro 0ah bmiss bus master ide status register secondary 00h r/w, r/ wc, ro 0bh ? reserved ? ro 0ch?0f h bmids bus master ide descriptor table pointer secondary xxxxxxxxh r/w 10h air ahci index register 00000000h r/w, ro 14h aidr ahci index data register xxxxxxxxh r/w
datasheet 601 sata controller registers (d31:f2) 14.2.1 bmic[p,s]?bus master id e command register (d31:f2) address offset: primary: bar + 00h attribute: r/w secondary: bar + 08h default value: 00h size: 8 bits bit description 7:4 reserved. returns 0. 3 read / write control (r/wc)? r/w. this bit sets the di rection of the bus master transfer. this bit must not be changed wh en the bus master function is active. 0 = memory reads 1 = memory writes 2:1 reserved. returns 0. 0 start/stop bus master (start) ?r/w. 0 = all state information is lost when this bit is cleared. master mode operation cannot be stopped and then resumed. if this bit is reset while bus master operation is still active (that is, the bus master ide active bit (d31:f2:bar + 02h, bit 0) of the bus master ide status register for that ide channel is set) and the drive has not yet finished its data transfer (the interrupt bi t in the bus master id e status register for that ide channel is not set), the bus master command is said to be aborted and data transferred from the drive may be discarded instead of being written to system memory. 1 = enables bus master operation of the controller. bus master operation does not actually start unless the bus master enable bit (d31:f2:04h, bit 2) in pci configuration space is also set. bus master operation begins when this bit is detected changing from 0 to 1. the controller will transfer data between the ide device and memory only when this bit is set. master operation can be halted by writing a 0 to this bit. note: this bit is intended to be cleared by software after the data transfer is completed, as indicated by either the bu s master ide active bit being cleared or the interrupt bit of the bus master ide status register fo r that ide channel being set, or both. hardware does not clea r this bit automatically. if this bit is cleared to 0 prior to the dma data transfer being initiated by the drive in a device to memory data transfer, then th e pch will not send dmat to terminate the data transfer. sw intervention (such as, sending srst) is required to reset the interface in this condition.
sata controller registers (d31:f2) 602 datasheet 14.2.2 bmis[p,s]?bus master id e status register (d31:f2) address offset: primary: bar + 02h attribute: r/w, r/wc, ro secondary: bar + 0ah default value: 00h size: 8 bits bit description 7 prd interrupt status (prdis) ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the host controller execution of a prd that has its prd_int bit set. 6 drive 1 dma capable? r/w. 0 = not capable. 1 = capable. set by device dependent code (b ios or device driver ) to indicate that drive 1 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. the pch does not use this bit. it is intended for systems that do no t attach bmide to the pci bus. 5 drive 0 dma capable? r/w. 0 = not capable 1 = capable. set by device dependent code (b ios or device driver ) to indicate that drive 0 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. the pch does not use this bit. it is intended for systems that do no t attach bmide to the pci bus. 4:3 reserved. returns 0. 2 interrupt? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set when a device fis is received with the ?i? bit set, provided that software has not disabled interrupts using the ien bit of th e device control regi ster (see chapter 5 of the serial ata specification , revision 1.0a). 1 error? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the controller encoun ters a target abort or master abort when transferring data on pci. 0 bus master ide active (act) ?ro. 0 = this bit is cleared by the pch when the last transfer for a region is performed, where eot for that region is set in the regi on descriptor. it is also cleared by the pch when the start bus master bit (d31:f2:bar+ 00h, bit 0) is cleared in the command register. when this bit is read as a 0, all data transferred from the drive during the previous bus master command is visible in system memory, unless the bus master command was aborted. 1 = set by the pch when the start bit is written to the command register.
datasheet 603 sata controller registers (d31:f2) 14.2.3 bmid[p,s]?bus master id e descriptor table pointer register (d31:f2) address offset: primary: bar + 04h?07h attribute: r/w secondary: bar + 0ch ? 0fh default value: all bits undefined size: 32 bits 14.2.4 air?ahci index register (d31:f2) address offset: primary: bar + 10h attribute: r/w default value: 00000000h size: 32 bits this register is available only when scc is not 01h. 14.2.5 aidr?ahci index da ta register (d31:f2) address offset: primary: bar + 14h attribute: r/w default value: all bits undefined size: 32 bits this register is available only when scc is not 01h. bit description 31:2 address of descri ptor table (addr) ?r/w. the bits in this field correspond to bits [31:2] of the memory location of the physic al region descriptor (prd). the descriptor table must be dword-aligned. the descriptor table must not cross a 64-k boundary in memory. 1:0 reserved bit description 31:11 reserved 10:2 index (index) ?r/w. this index register is used to select the dword offset of the memory mapped ahci register to be access ed. a dword, word or byte access is specified by the active byte enables of the i/o access to the data register. 1:0 reserved bit description 31:0 data (data) ?r/w. this data register is a ?windo w? through which data is read or written to the ahci memory mapped registers. a read or write to this data register triggers a corresponding read or write to the memory mapped register pointed to by the index register. the index re gister must be setup prior to the read or write to this data register. note that a physical register is not actually implemented as the data is actually stored in the memory mapped registers. since this is not a physical register, the ?default? value is the same as the default value of the register pointed to by index.
sata controller registers (d31:f2) 604 datasheet 14.3 serial ata index/data pair superset registers all of these i/o registers are in the core we ll. they are exposed only when scc is 01h (that is, ide programming interface). these are index/data pair registers that are used to access the serialata superset registers (serialata status, serialata control, and serialata error). the i/o space for these registers is allocated through sidpba. locations with offset from 08h to 0fh are reserved for future expansion. software-write operations to the reserved locations will have no effect while software-read operatio ns to the reserved locations will return 0. 14.3.1 sindx?serial ata in dex register (d31:f2) address offset: sidpba + 00h attribute: r/w default value: 00000000h size: 32 bits offset mnemonic register 00h?03h sindex serial ata index 04h?07h sdata serial ata data 08h?0ch ? reserved 0ch?0fh ? reserved bit description 31:16 reserved 15.8 port index (pidx)? r/w. this index field is used to specify the port of the sata controller at which the po rt-specific ssts, sctl, and serr registers are located. 00h = primary master (port 0) 01h = primary slave (port 2) 02h = secondary master (port 1) 03h = secondary slave (port 3) all other values are reserved. 7:0 register index (ridx)? r/w. this index field is used to specify one out of three registers currently bein g indexed into. these three regist ers are the serial ata superset sstatus, scontrol and serror memory regist ers and are port specific, hence for this sata controller, there are four sets of these registers. see section 14.4.2.10 , section 14.4.2.11 , and section 14.4.2.12 for definitions of the sstatus, scontrol and serror registers. 00h = ssts 01h = sctl 02h = serr all other values are reserved.
datasheet 605 sata controller registers (d31:f2) 14.3.2 sdata?serial ata data register (d31:f2) address offset: sidpba + 04h attribute: r/w default value: 00000000h size: 32 bits 14.3.2.1 pxssts?serial ata status register (d31:f2) address offset: attribute: ro default value: 00000000h size: 32 bits sdata when sindx.ridx is 00h. this is a 32-b it register that conveys the current state of the interface and host. th e pch updates it continuously and asynchronously. when the pch transmits a comreset to the device , this register is updated to its reset values. bit description 31:0 data (data)? r/w. this data register is a ?windo w? through which data is read or written to from the register pointed to by the serial ata index (sindx) register above. note that a physical register is not actually implemented as the data is actually stored in the memory mapped registers. since this is not a physical register, the ?default? value is the same as the default value of the register pointed to by sindx.ridx field. bit description 31:12 reserved 11:8 interface power management (ipm)? ro . indicates the current interface state: all other values reserved. 7:4 current interface speed (spd) ?ro. indicates the negotiated interface communication speed. all other values reserved. the pch supports generation 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection (det)? ro . this field indicates the inte rface device detection and phy state: all other values reserved. value description 0h device not present or communication not established 1h interface in active state 2h interface in partial power management state 6h interface in slumber power management state value description 0h device not present or communication not established 1h generation 1 communication rate negotiated 2h generation 2 communication rate negotiated value description 0h no device de tected and phy communication not established 1h device presence detected but phy communication not established 3h device presence detected and phy communication established 4h phy in offline mode as a result of the interface being disabled or running in a bist loopback mode
sata controller registers (d31:f2) 606 datasheet 14.3.2.2 pxsctl?serial ata control register (d31:f2) address offset: attribute: r/w, ro default value: 00000004h size: 32 bits sdata when sindx.ridx is 01h. this is a 32-bit read-write register by which software controls sata capabilities. writes to the sc ontrol register result in an action being taken by the pch or the interface. reads from the register return the last value written to it. bit description 31:16 reserved 15:12 select power management (spm)?ro. this field is not used by ahci. 11:8 interface power management transitions allowed (ipm)? r/w. this field indicates which power states the pch is allowed to transition to: all other values reserved 7:4 speed allowed (spd) ?r/w. indicates the highest allo wable speed of the interface. this speed is limited by the ca p.iss (abar+00h:bit 23:20) field. all other values reserved. the pch supports generation 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection initialization (det)? r/w. controls the pc h?s device detection and interface initialization. all other values reserved. when this field is written to a 1h, the pch initiates comreset and starts the initialization process. when the initialization is complete, this field shall remain 1h until set to another value by software. this field may only be change d to 1h or 4h when pxcmd.st is 0. changing this field while the pch is running results in undefined behavior. value description 0h no interface restrictions 1h transitions to the partial state disabled 2h transitions to the slumber state disabled 3h transitions to both partial and slumber states disabled value description 0h no speed negotiation restrictions 1h limit speed negotiation to generation 1 communication rate 2h limit speed negotiation to generation 2 communication rate value description 0h no device detection or initialization action requested 1h perform interface communication init ialization sequence to establish communication. this is functionally equivalent to a hard reset and results in the interface being reset and communi cations re-initialized 4h disable the serial ata interface and put phy in offline mode
datasheet 607 sata controller registers (d31:f2) 14.3.2.3 pxserr?serial ata error register (d31:f2) address offset: attribute: r/wc default value: 00000000h size: 32 bits sdata when sindx.ridx is 02h. bits 26:16 of this register contain diagnostic error information for use by diagnostic software in validating correct operation or isolating failure modes. bits 11:0 contain error information used by host software in determining the appropriate response to the error conditio n. if one or more of bits 11:8 of this register are set, the controller will stop the current transfer. bit description 31:27 reserved 26 exchanged (x) : when set to one, this bit indicates that a change in de vice presence has been detected since the last time this bit was cleared. this bit shall always be set to 1 anytime a cominit signal is received. this bit is reflected in the p0is.pcs bit. 25 unrecognized fis type (f) : indicates that one or more fiss were rece ived by the transport layer with good crc, but had a type field that was not recognized. 24 transport state transition error (t) : indicates that an e rror has occurred in the transition from one state to another within the transport layer since the last time this bit was cleared. 23 link sequence error (s) : indicates that one or more link state machine error conditions was encountered. the link layer state machine defines the conditions under which the link layer detect s an erroneous transition. 22 handshake (h) . indicates that one or more r_err handshake response was received in response to frame transmission. such errors ma y be the result of a crc error detected by the recipient, a disparity or 8b /10b decoding error, or othe r error condition leading to a negative handshake on a transmitted frame. 21 crc error (c) . indicates that one or more crc e rrors occurred with the link layer. 20 disparity error (d) . this field is not used by ahci. 19 10b to 8b decode error (b) . indicates that one or more 10b to 8b decoding errors occurred. 18 comm wake (w) . indicates that a comm wake si gnal was detected by the phy. 17 phy internal error (i) . indicates that the phy dete cted some internal error. 16 phyrdy change (n) : when set to 1, this bit indicates that the internal phyrdy signal changed state since the last time this bit was cl eared. in the pch, this bit will be set when phyrdy changes from a 0 -> 1 or a 1 -> 0. the state of this bit is then reflected in the pxis.prcs interrupt status bit and an interrupt will be gene rated if enabled. software clears this bit by writing a 1 to it. 15:12 reserved 11 internal error (e) . the sata controller failed due to a master or target abort when attempting to access system memory. 10 protocol error (p) . a violation of the serial ata protocol was detected. note: pch does not set this bit for all protocol violations that may occur on the sata link. 9 persistent communication or data integrity error (c) . a communication error that was not recovered occurred that is expected to be persistent. persistent communications errors may arise from faulty interconnect wi th the device, from a de vice that has been removed or has failed, or a number of other causes. 8 transient data integrity error (t) : a data integrity error occurred that was not recovered by the interface. 7:2 reserved 1 recovered communications error (m) . communications between the device and host was temporarily lost but was re-established . this can arise from a device temporarily being removed, from a temporary loss of phy synchronization, or from other causes and may be derived from the phynrdy signal between the phy and link layers. 0 recovered data integrity error (i) . a data integrity e rror occurred that was recovered by the interface through a retr y operation or other recovery action.
sata controller registers (d31:f2) 608 datasheet 14.4 ahci registers (d31:f2) note: these registers are ahci-specific and availa ble when the pch is properly configured. the serial ata status, control, and error re gisters are special exceptions and may be accessed on all pch components if properly configured; see section 14.3 for details. the memory mapped registers within the sata controller exist in non-cacheable memory space. additionally, locked accesses ar e not supported. if software attempts to perform locked transactions to the registers, indeterminate results may occur. register accesses shall have a maximum size of 64-bits; 64-bit access must not cross an 8-byte alignment boundary. all memory registers are reset by function level reset unless specified otherwise. the registers are broken into two sections?generic host control and port control. the port control registers are the same for all ports, and there are as many registers banks as there are ports. table 14-3. ahci register address map abar + offset mnemonic register 00?1fh ghc generic host control 20h?ffh ? reserved 100h?17fh p0pcr port 0 port control registers 180h?1ffh p1pcr port 1 port control registers 200h?27fh p2pcr port 2 port control registers (desktop only) registers are not available and so ftware must not read or write registers. (mobile only) 280h?2ffh p3pcr port 3 port control registers (desktop only) registers are not available and so ftware must not read or write registers. (mobile only) 300h?37fh p4pcr port 4 port control registers 380h?3ffh p5pcr port 5 port control registers 400h?47fh p6pcr port 6 port control registers 480h?4ffh p7pcr port 7 port control registers
datasheet 609 sata controller registers (d31:f2) 14.4.1 ahci generic host co ntrol registers (d31:f2) 14.4.1.1 cap?host capabilities register (d31:f2) address offset: abar + 00h?03h attribute: r/wo, ro default value: ff22ffc2h (desktop) size: 32 bits de127f03h (mobile) function level reset: no all bits in this register that are r/wo are reset only by pltrst#. table 14-4. generic host cont roller register address map abar + offset mnemonic register default type 00h?03h cap host capabilities ff22ffc2h (desktop) de127f03h (mobile) r/wo, ro 04h?07h ghc global pch control 00000000h r/w, ro 08h?0bh is interrupt status 00000000h r/wc 0ch?0fh pi ports implemented 00000000h r/wo, ro 10h?13h vs ahci version 00010200h ro 14h?17h ccc_ctl command completion coalescing control 00010121h r/w, ro 18h?1bh ccc_ports command completion coalescing ports 00000000h r/w 1ch?1fh em_loc enclosure management location 01600002h ro 20h?23h em_ctrl enclosure management control 07010000h r/w, r/wo, ro 70h?73h vs ahci version 00010000h ro a0h?a3h vsp vendor specific 00000001h ro, r/wo c8h?c9h rstf intel ? rst feature capabilities 003fh rwo bit description 31 supports 64-bit addressing (s64a) ?ro. indicates that the sata controller can access 64-bit data structures. the 32-bit upper bits of the port dma descriptor, the prd base, and each prd entry are read/write. 30 supports command queue acceleration (scqa)? ro. hardwired to 1 to indicate that the sata co ntroller supports sata command queuing using the dma setup fis. the pch handles dma setup fises natively, and can handle auto- activate optimization through that fis. 29 supports snotification regist er (ssntf)?ro. the pch sata controller does not support the snotif ication register. 28 supports interlock switch (sis)? r/wo. indicates whether the sata controller supports interlock switches on its ports for use in hot plug operations. this value is loaded by platform bios prior to os initialization. if this bit is set, bios must also map the satagp pins to the sata controller through gpio space.
sata controller registers (d31:f2) 610 datasheet 27 supports staggered spin-up (sss)? r/wo. indicates whether the sata controller supports staggered spin-up on its ports, for use in balancing power spikes. this value is loaded by plat form bios prior to os initialization. 0 = staggered spin-up not supported. 1 = staggered spin-up supported. 26 supports aggressive link power management (salp)? r/wo. 0 = software shall treat the pxcmd.alpe and pxcmd.asp bits as reserved. 1 = the sata controller supports auto-gener ating link requests to the partial or slumber states when there are no commands to process. 25 supports activity led (sal) ?ro. indicates that the sata controller supports a single output pin (sataled#) which indicates activity. 24 supports command list override (sclo) ?r/wo. when set to 1, indicates that the controller supports the pxcmd.clo bi t and its associated function. when cleared to 0, the controller is not capabl e of clearing the bsy and drq bits in the status register to is sue a software reset if these bits are still set from a previous operation. 23:20 interface speed support (iss) ?r/wo. indicates the maximum speed the sata controller can support on its ports. 2h =3.0 gb/s. 19 supports non-zero dma offsets (snzo)?ro. reserved, as per the ahci revision 1.2 specification 18 supports ahci mode only (sam) ?ro. the sata controller may optionally support ahci access mechanism only. 0 = sata controller supports both ide and ahci modes 1 = sata controller supports ahci mode only 17:16 bios must set these bits to 00. 15 pio multiple drq block (pmd)? ro. the sata controller supports pio multiple drq command block 14 slumber state capable (ssc) ?r/wo. the sata controller supports the slumber state. 13 partial state capable (psc) ?r/wo. the sata controller supports the partial state. 12:8 number of command slots (ncs) ?ro. hardwired to 1fh to indicate support for 32 slots. 7 command completion coalescing supported (cccs)? r/wo. 0 = command completion coalescing not supported 1 = command completion coalescing supported 6 enclosure management supported (ems)? r/wo. 0 = enclosure management not supported 1 = enclosure management supported 5 supports external sata (sxs)? r/wo. 0 = external sata is not supported on any ports 1 = external sata is supported on one or more ports when set, sw can examine each sata port?s command register (pxcmd) to determine which port is routed externally. 4:0 number of ports (nps) ?ro. indicates number of supported ports. note that the number of ports indicated in this fiel d may be more than the number of ports indicated in the pi (a bar + 0ch) register. bit description
datasheet 611 sata controller registers (d31:f2) 14.4.1.2 ghc?global pch control register (d31:f2) address offset: abar + 04h?07h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 31 ahci enable (ae) ?r/w. when set, this bit indicates that an ahci driver is loaded and the controller will be talked to using ahci mechanisms. this can be used by an pch that supports both legacy mechanisms (such as sff-8038i) and ahci to know when the controller will not be talked to as legacy. 0 = software will communicate with the pch using legacy mechanisms. 1 = software will communicate with the pch using ahci. the pch will not have to allow command processing using both ahci and legacy mechanisms. software shall set this bit to 1 before acce ssing other ahci registers. 30:3 reserved 2 msi revert to single message (mrsm) ?ro: when set to 1 by hardware, this bit indicates that the host controller requested more than one msi vector but has reverted to using the first vector only. when this bi t is cleared to 0, the controller has not reverted to single msi mode (that is, hardwa re is already in single msi mode, software has allocated the number of messages requ ested, or hardware is sharing interrupt vectors if mc.mme < mc.mmc). "mc.msie = 1 (msi is enabled) "mc.mmc > 0 (multiple messages requested) "mc.mme > 0 (more than one message allocated) "mc.mme!= mc.mmc (messages allocate d not equal to number requested) when this bit is set to 1, single msi mo de operation is in use and software is responsible for clearing bits in th e is register to clear interrupts. this bit shall be cleared to 0 by hardware when any of the four conditions stated is false. this bit is also cleared to 0 when mc.msie = 1 and mc.mme = 0h. in this case, the hardware has been programmed to use si ngle msi mode, and is not "reverting" to that mode. for pch, the controller shall always revert to single ms i mode when the number of vectors allocated by the host is less than the number requested. this bit is ignored when ghc.hr = 1. 1 interrupt enable (ie)? r/w. this global bit enab les interrupts from the pch. 0 = all interrupt sources fr om all ports are disabled. 1 = interrupts are allowed from the ahci controller. 0 controller reset (hr) ?r/w. resets the pch ahci controller. 0 = no effect 1 = when set by software, this bit causes an internal reset of the pch ahci controller. all state machines that rela te to data transfers and queuing return to an idle condition, and all ports are re -initialized using comreset. note: for further details, see section 12.3.3 of the serial ata advanced host controller interface specification.
sata controller registers (d31:f2) 612 datasheet 14.4.1.3 is?interrupt status register (d31:f2) address offset: abar + 08h ? 0bh attribute: r/wc default value: 00000000h size: 32 bits this register indicates which of the ports with in the controller have an interrupt pending and require service. bit description 31:9 reserved. returns 0. 8 (desktop only) coalescing interrupt pending status (cips)? r/wc. 0 = no interrupt pending. 1 = a command completion coalesci ng interrupt has been generated. 7 interrupt pending status port[7] (ips[6])? r/wc. 0 = no interrupt pending. 1 = port 7 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 6 interrupt pending status port[6] (ips[6])? r/wc. 0 = no interrupt pending. 1 = port 6 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 5 interrupt pending status port[5] (ips[5])? r/wc. 0 = no interrupt pending. 1 = port 5 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 4 interrupt pending status port[4] (ips[4])? r/wc. 0 = no interrupt pending. 1 = port 4 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 3 (desktop only) interrupt pending status port[3] (ips[3])? r/wc. 0 = no interrupt pending. 1 = port 3 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 2 (desktop only) interrupt pending status port[2] (ips[2])? r/wc. 0 = no interrupt pending. 1 = port 2 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 3:2 (mobile only) reserved. returns 0. 1 interrupt pending status port[1] (ips[1])? r/wc. 0 = no interrupt pending. 1 = port 1has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 0 interrupt pending status port[0] (ips[0])? r/wc. 0 = no interrupt pending. 1 = port 0 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt.
datasheet 613 sata controller registers (d31:f2) 14.4.1.4 pi?ports implemented register (d31:f2) address offset: abar + 0ch?0fh attribute: r/wo, ro default value: 00000000h size: 32 bits function level reset: no this register indicates which ports are exposed to the pch. it is loaded by platform bios. it indicates which ports that the device supports are available for software to use. for ports that are not available, software must not read or write to registers within that port. bit description 31:6 reserved. returns 0. 5 ports implemented port 5 (pi5) ?r/wo. 0 = the port is not implemented. 1 = the port is implemented. this bit is read-only 0 if map.sc = 0 or scc = 01h. 4 ports implemented port 4 (pi4) ?r/wo. 0 = the port is not implemented. 1 = the port is implemented. this bit is read-only 0 if map.sc = 0 or scc = 01h. 3 (mobile only) ports implemented port 3 (pi3)?ro. 0 = the port is not implemented. 3 ports implemented port 3 (pi3) ?r/wo. 0 = the port is not implemented. 1 = the port is implemented. 2 (mobile only) ports implemented port 2 (pi2)?ro. 0 = the port is not implemented. 2 ports implemented port 2 (pi2) ?r/wo. 0 = the port is not implemented. 1 = the port is implemented. 1 ports implemented port 1 (pi1) ?r/wo. 0 = the port is not implemented. 1 = the port is implemented. 0 ports implemented port 0 (pi0)? r/wo . 0 = the port is not implemented. 1 = the port is implemented.
sata controller registers (d31:f2) 614 datasheet 14.4.1.5 vs?ahci version register (d31:f2) address offset: abar + 10h?13h attribute: ro default value: 00010200h size: 32 bits this register indicates the major and minor ve rsion of the ahci specification. it is bcd encoded. the upper two bytes represent th e major version number, and the lower two bytes represent the minor version numbe r. example: version 3.12 would be represented as 00030102h. the current version of the specification is 1.20 (00010200h). 14.4.1.6 ccc_ctl?command completion coalescing control register (d31:f2) address offset: abar + 14h?17h attribute: r/w, ro default value: 00010131h size: 32 bits this register is used to configure the command coalescing feature. this register is reserved if command coalescing is not supported (cap_cccs = 0). bit description 31:16 major version number (mjr) ?ro. indicates the major version is 1 15:0 minor version number (mnr) ?ro. indicates the minor version is 20. bit description 31:16 timeout value (tv) ?r/w. the timeout value is specified in 10 microsecond intervals. hbaccc_timer is loaded with th is timeout value. hbaccc_timer is only decremented when commands ar e outstanding on the selected ports. the controller will signal a ccc interrupt when hba ccc_timer has decrem ented to 0. the hbaccc_timer is reset to the timeout value on the assertion of each ccc interrupt. a timeout value of 0 is invalid. 15:8 command completions (cc) ?r/w. specifies the number of command completions that are necessary to cause a ccc interrupt. the controller has an internal command completion counter, hbaccc_commandscomplete. hbaccc_commandscomplete is incremented by one each time a selected port has a command completion. when hbaccc_command scomplete is equal to the command completions value, a ccc interrupt is sign aled. the internal command completion counter is reset to ?0? on the assertion of each ccc interrupt. 7:3 interrupt (int) ?ro. specifies the inte rrupt used by the ccc fe ature. this interrupt must be marked as unused in the ahci ports implemented memo ry register by the corresponding bit being set to 0. thus, th e ccc_interrupt correspon ds to the interrupt for an unimplemented port on the cont roller. when a ccc interrupt occurs, the is[int] bit shall be asserted to 1 regardless of whether pirq interrupt or msi is used. note that in msi, cc interru pt may share an interrupt ve ctor with other ports. for example, if the number of message allocated is 4, then ccc inte rrupt share interrupt vector 3 along with port 3, 4, and 5 but is[6] shall get set. 2:1 reserved 0 enable (en)? r/w . 0 = the command completion coalescing feat ure is disabled and no ccc interrupts are generated 1 = the command completion coalescing feature is enabled and ccc interrupts may be generated based on timeout or command completion conditions. software shall only change the contents of the tv and cc fields wh en en is cleared to 0. on transition of this bit from 0 to 1, any updated values for the tv and cc fields shall take effect.
datasheet 615 sata controller registers (d31:f2) 14.4.1.7 ccc_ports?command completion coalescing ports register (d31:f2) address offset: abar + 18h?1bh attribute: r/w default value: 00000000h size: 32 bits this register is used to specify the ports that are coalesced as part of the ccc feature when ccc_ctl.en = 1. this register is reserved if command coalescing is not supported (cap_cccs = 0). 14.4.1.8 em_loc?enclosure management location register (d31:f2) address offset: abar + 1ch?1fh attribute: ro default value: 01600002h size: 32 bits this register identifies the location and size of the enclosure management message buffer. this register is reserved if enclosure management is not supported (that is, cap.ems = 0). bit description 31:0 ports (prt) ?r/w. 0 = the port is not part of the co mmand completion coalescing feature. 1 = the corresponding port is part of th e command completion coalescing feature. bits set to 1 in this regist er must also have the corresponding bit set to 1 in the ports implemented register. bits set to 1 in this register must also have the corresponding bit set to 1 in the ports implemented register. an updated value for this field shal l take effect wi thin one timer increment (1 millisecond). bit description 31:16 offset (ofst) ?ro. the offset of the message bu ffer in dwords from the beginning of the abar. 15:0 buffer size (sz) ?ro. specifies the size of the transmit message buffer area in dwords. the pch sata controller only supports transmit buffer. a value of 0 is invalid.
sata controller registers (d31:f2) 616 datasheet 14.4.1.9 em_ctrl?enclosure management control register (d31:f2) address offset: abar + 20h?23h attribute: r/w, r/wo, ro default value: 07010000h size: 32 bits this register is used to control and obtain status for the enclosure management interface. this register includes informatio n on the attributes of the implementation, enclosure management messages supported, the status of the interface, whether any message are pending, and is used to initiate sending messages. this register is reserved if enclosure management is not supported (cap_ems = 0). bit description 31:27 reserved 26 activity led hardware driven (attr.alhd) ?r/wo. 1 = the sata controller drives the activity led for the led message type in hardware and does not use software for this led. the host controller does no t begin transmitting the hard ware based activity signal until after software has written ctl.tm=1 after a reset condition. 25 transmit only (attr.xmt) ?ro. 0 = the sata controller supports tr ansmitting and re ceiving messages. 1 = the sata controller only supports transmitting messages and does not support receiving messages. 24 single message buffer (attr.smb) ?ro. 0 = there are separate receiv e and transmit buffers such that unsolicited messages could be supported. 1 = the sata controller has one message bu ffer that is shared for messages to transmit and messages received. unsolici ted receive messages are not supported and it is software?s responsibility to manage access to this buffer. 23:20 reserved 19 sgpio enclosure management messages (supp.sgpio)? ro. 1 = the sata controller supports the sg pio register interface message type. 18 ses-2 enclosure management messages (supp.ses2)? ro. 1 = the sata controller suppo rts the ses-2 message type. 17 saf-te enclosure management messages (supp.safte)? ro. 1 = the sata controller suppo rts the saf-te message type. 16 led message types (supp.led)? ro. 1 = the sata controller su pports the led message type. 15:10 reserved 9 reset (rst):? r/w. 0 = a write of 0 to this bit by software will have no effect. 1 = when set by software, the sata controll er shall reset all enclosure management message logic and take all appropriate rese t actions to ensure messages can be transmitted / received after the reset. after the sata contro ller completes the reset operation, the sa ta controller shall set the value to 0. 8 transmit message (ctl.tm)? r/w. 0 = a write of 0 to this bit by software will have no effect. 1 = when set by software, the sata controll er shall transmit th e message contained in the message buffer. when the message is completely sent, the sata controller shall set the value to 0. software shall not change the contents of the message buffer while ctl.tm is set to 1. 7:1 reserved 0 message received (sts.mr):? ro. message received is not supported in the pch.
datasheet 617 sata controller registers (d31:f2) 14.4.1.10 vs?ahci version register (d31:f2) address offset: abar + 70h?73h attribute: ro default value: 00010000h size: 32 bits this register indicates the major and minor version of the nvmhci specification. it is bcd encoded. the upper two bytes represen t the major version number, and the lower two bytes represent the minor version number. example: version 3.12 would be represented as 00030102h. the current version of the specification is 1.0 (00010000h). 14.4.1.11 vsp?vendor specific register (d31:f2) address offset: abar + a0h?a3h attribute: ro, rwo default value: 00000001h size: 32 bits 14.4.1.12 rstf?intel ? rst feature capabilities register address offset: abar + c8h?c9h attribute: rwo default value: 003fh size: 16 bits no hardware action is taken on this register. this register is needed for the intel? rapid storage technology software. these bits are set by bios to request the feature from the appropriate intel rapid storage technology software. bit description 31:16 major version number (mjr) ?ro. indicates the major version is 1 15:0 minor version number (mnr) ?ro. indicates the minor version is 0. bit description 31:1 reserved 0 supports low power device detection (slpd)?rwo indicates whether sata powe r management and device hot (un)pulg is supported. 0 = not supported. 1 = supported. bit description 15:12 reserved 11:10 orom ui normal delay (oud) ?r/wo. the values of these bits specify the delay of the orom ui splash scre en in a normal status. 00 = 2 seconds (default) 01 = 4 seconds 10 = 6 seconds 11 = 8 seconds if bit 5 = 0b, these valu es will be disregarded. 9 reserved
sata controller registers (d31:f2) 618 datasheet 8 intel ? rrt only on esata (roes)? r/wo indicates the request that only intel ? rapid recovery technology (rrt) volumes can can span internal and external sata (esata). if not set, any raid volume can span internal and external sata. 0 = disabled 1 = enabled 7 reserved 6 hdd unlock (hddlk) ?rwo indicates the requested status of hdd password unlock in the os. 0 = disabled 1 = enabled 5 intel rst orom ui (rstoromui) ?r/wo. indicates the requested status of the intel ? rst orom ui display. 0 = the intel rst orom ui and banner are no t displayed if all disks and raid volumes have a normal status. 1 = the intel rst orom ui is displayed during each boot. 4 intel ? rrt enable (rste)? rwo indicates the requested status of the in tel? rapid recovery technology support 0 = disabled 1 = enabled 3 raid 5 enable (r5e)? rwo indicates the requested st atus of raid 5 support 0 = disabled 1 = enabled 2 raid 10 enable (r10e)? rwo indicates the requested st atus of raid 10 support 0 = disabled 1 = enabled 1 raid 1 enable (r1e)? rwo indicates the requested st atus of raid 1 support 0 = disabled 1 = enabled 0 raid 0 enable (r0e)? rwo indicates the requested st atus of raid 0 support 0 = disabled 1 = enabled bit description
datasheet 619 sata controller registers (d31:f2) 14.4.2 port registers (d31:f2) ports not available will result in the corresponding port dma register space being reserved. the controller shall ignore writes to the reserved space on write cycles and shall return 0 on read cycle accesses to the reserved location. table 14-5. port [5:0] dma register address map (sheet 1 of 4) abar + offset mnemonic register 100h?103h p0clb port 0 command list base address 104h?107h p0clbu port 0 command li st base address upper 32-bits 108h?10bh p0fb port 0 fis base address 10ch?10fh p0fbu port 0 fis base address upper 32-bits 110h?113h p0is port 0 interrupt status 114h?117h p0ie port 0 interrupt enable 118h?11bh p0cmd port 0 command 11ch?11fh ? reserved 120h?123h p0tfd port 0 task file data 124h?127h p0sig port 0 signature 128h?12bh p0ssts port 0 serial ata status 12ch?12fh p0sctl port 0 serial ata control 130h?133h p0serr port 0 serial ata error 134h?137h p0sact port 0 serial ata active 138h?13bh p0ci port 0 command issue 13ch?17fh ? reserved 180h?183h p1clb port 1 command list base address 184h?187h p1clbu port 1 command li st base address upper 32-bits 188h?18bh p1fb port 1 fis base address 18ch?18fh p1fbu port 1 fis base address upper 32-bits 190h?193h p1is port 1 interrupt status 194h?197h p1ie port 1 interrupt enable 198h?19bh p1cmd port 1 command 19ch?19fh ? reserved 1a0h?1a3h p1tfd port 1 task file data 1a4h?1a7h p1sig port 1 signature 1a8h?1abh p1ssts port 1 serial ata status 1ach?1afh p1sctl port 1 serial ata control 1b0h?1b3h p1serr port 1 serial ata error 1b4h?1b7h p1sact port 1 serial ata active 1b8h?1bbh p1ci port 1 command issue 1bch?1ffh ? reserved
sata controller registers (d31:f2) 620 datasheet 200h?27fh (mobile only) ? reserved registers are not available and so ftware must not read from or write to registers. 200h?203h p2clb port 2 command list base address 204h?207h p2clbu port 2 command list base address upper 32-bits 208h?20bh p2fb port 2 fis base address 20ch?20fh p2fbu port 2 fis ba se address upper 32-bits 210h?213h p2is port 2 interrupt status 214h?217h p2ie port 2 interrupt enable 218h?21bh p2cmd port 2 command 21ch?21fh ? reserved 220h?223h p2tfd port 2 task file data 224h?227h p2sig port 2 signature 228h?22bh p2ssts port 2 serial ata status 22ch?22fh p2sctl port 2 serial ata control 230h?233h p2serr port 2 serial ata error 234h?237h p2sact port 2 serial ata active 238h?23bh p2ci port 2 command issue 23ch?27fh ? reserved 280h?2ffh (mobile only) ? reserved registers are not available and so ftware must not read from or write to registers. 280h?283h p3clb port 3 command list base address 284h?287h p3clbu port 3 command list base address upper 32-bits 288h?28bh p3fb port 3 fis base address 28ch?28fh p3fbu port 3 fis ba se address upper 32-bits 290h?293h p3is port 3 interrupt status 294h?297h p3ie port 3 interrupt enable 298h?29bh p3cmd port 3 command 29ch?29fh ? reserved 2a0h?2a3h p3tfd port 3 task file data 2a4h?2a7h p3sig por t 3 signature 2a8h?2abh p3ssts port 3 serial ata status 2ach?2afh p3sctl port 3 serial ata control 2b0h?2b3h p3serr port 3 serial ata error 2b4h?2b7h p3sact port 3 serial ata active 2b8h?2bbh p3ci port 3 command issue 2bch?2ffh ? reserved table 14-5. port [5:0] dma register address map (sheet 2 of 4) abar + offset mnemonic register
datasheet 621 sata controller registers (d31:f2) 300h?303h p4clb port 4 command list base address 304h?307h p4clbu port 4 command li st base address upper 32-bits 308h?30bh p4fb port 4 fis base address 30ch?30fh p4fbu port 4 fis base address upper 32-bits 310h?313h p4is port 4 interrupt status 314h?317h p4ie port 4 interrupt enable 318h?31bh p4cmd port 4 command 31ch?31fh ? reserved 320h?323h p4tfd port 4 task file data 324h?327h p4sig port 4 signature 328h?32bh p4ssts port 4 serial ata status 32ch?32fh p4sctl port 4 serial ata control 330h?333h p4serr port 4 serial ata error 334h?337h p4sact port 4 serial ata active 338h?33bh p4ci port 4 command issue 340h?341h p4fbsi port 4 fis-based switching control 342h?37fh ? reserved 380h?383h p5clb port 5 command list base address 384h?387h p5clbu port 5 command li st base address upper 32-bits 388h?38bh p5fb port 5 fis base address 38ch?38fh p5fbu port 5 fis base address upper 32-bits 390h?393h p5is port 5 interrupt status 394h?397h p5ie port 5 interrupt enable 398h?39bh p5cmd port 5 command 39ch?39fh ? reserved 3a0h?3a3h p5tfd port 5 task file data 3a4h?3a7h p5sig port 5 signature 3a8h?3abh p5ssts port 5 serial ata status 3ach?3afh p5sctl port 5 serial ata control 3b0h?3b3h p5serr port 5 serial ata error 3b4h?3b7h p5sact port 5 serial ata active 3b8h?3bbh p5ci port 5 command issue 3c0h?3c3h p5fbsi port 5 fis-based switching control 3c4h?3ffh ? reserved 400h?403h p6clb port 6 command list base address 404h?407h p6clbu port 6 command li st base address upper 32-bits 408h?40bh p6fb port 6 fis base address table 14-5. port [5:0] dma register address map (sheet 3 of 4) abar + offset mnemonic register
sata controller registers (d31:f2) 622 datasheet 40ch?40fh p6fbu port 6 fis ba se address upper 32-bits 410h?413h p6is port 6 interrupt status 414h?417h p6ie port 6 interrupt enable 418h?41bh p6cmd port 6 command 41ch?41fh ? reserved 420h?423h p6tfd port 6 task file data 424h?427h p6sig port 6 signature 428h?42bh p6ssts port 6 serial ata status 42ch?42fh p6sctl port 6 serial ata control 430h?433h p6serr port 6 serial ata error 434h?437h ? reserved 438h?43bh p6ci port 6command issue 43ch?47fh ? reserved 480h?483h p7clb port 7 command list base address 484h?487h p7clbu port 7 command list base address upper 32-bits 488h?48fh ? reserved 490h?493h p7is port 7 interrupt status 494h?497h p7ie port 7 interrupt enable 498h?49bh p7cmd port 7 command 49ch?4a3h ? reserved 4a4h?4a7h p7sig por t 7 signature 4a8h?4b7h p7ssts reserved 4b8h?4bbh p7ci port 7 command issue 4bch?fffh ? reserved table 14-5. port [5:0] dma register address map (sheet 4 of 4) abar + offset mnemonic register
datasheet 623 sata controller registers (d31:f2) 14.4.2.1 pxclb?port [5:0] comman d list base address register (d31:f2) address offset: port 0: abar + 100h attribute: r/w port 1: abar + 180h port 2: abar + 200h (desktop only) port 3: abar + 280h (desktop only) port 4: abar + 300h port 5: abar + 380h port 6: abar + 400h default value: undefined size: 32 bits 14.4.2.2 pxclbu?port [5:0] comma nd list base address upper 32-bits register (d31:f2) address offset: port 0: abar + 104h attribute: r/w port 1: abar + 184h port 2: abar + 204h (desktop only) port 3: abar + 284h (desktop only) port 4: abar + 304h port 5: abar + 384h port 6: abar + 404h default value: undefined size: 32 bits bit description 31:10 command list base address (clb)? r/w. indicates the 32-bit base for the command list for this port. this base is used when fetching commands to execute. the structure pointed to by this a ddress range is 1 kb in length . this address must be 1-kb aligned as indicated by bi ts 31:10 being read/write. note that these bits are not reset on a controller reset. 9:0 reserved bit description 31:0 command list base address upper (clbu)? r/w. indicates the u pper 32-bits for the command list base address for this po rt. this base is us ed when fetching commands to execute. note that these bits are not reset on a controller reset.
sata controller registers (d31:f2) 624 datasheet 14.4.2.3 pxfb?port [5:0] fis ba se address register (d31:f2) address offset: port 0: abar + 108h attribute: r/w port 1: abar + 188h port 2: abar + 208h (desktop only) port 3: abar + 288h (desktop only) port 4: abar + 308h port 5: abar + 388h port 6: abar + 408h default value: undefined size: 32 bits 14.4.2.4 pxfbu?port [5:0] fis base address upper 32-bits register (d31:f2) address offset: port 0: abar + 10ch attribute: r/w port 1: abar + 18ch port 2: abar + 20ch (desktop only) port 3: abar + 28ch (desktop only) port 4: abar + 30ch port 5: abar + 38ch port 6: abar + 40ch default value: undefined size: 32 bits bit description 31:8 fis base address (fb)? r/w. indicates the 32-bit base for received fises. the structure pointed to by this address range is 256 bytes in length. this address must be 256-byte aligned, as indicated by bits 31:3 being read/write. note that these bits are not reset on a controller reset. 7:0 reserved bit description 31:0 fis base address upper (fbu)? r/w. indicates the upper 32-bi ts for the received fis base for this port. note that these bits are not reset on a controller reset.
datasheet 625 sata controller registers (d31:f2) 14.4.2.5 pxis?port [5:0] interru pt status register (d31:f2) address offset: port 0: abar + 110h attribute: r/wc, ro port 1: abar + 190h port 2: abar + 210h (desktop only) port 3: abar + 290h (desktop only) port 4: abar + 310h port 5: abar + 390h port 6: abar + 410h default value: 00000000h size: 32 bits bit description 31 cold port detect status (cpds)? ro. cold presence detect is not supported. 30 task file error status (tfes) ?r/wc. this bit is set whenever the status register is updated by the device and the er ror bit (pxtfd.bit 0) is set. 29 host bus fatal error status (hbfs)? r/wc. indicates that the pch encountered an error that it cannot recover from due to a bad software pointer. in pci, such an indication would be a target or master abort. 28 host bus data error status (hbds)? r/wc. indicates that the pch encountered a data error (uncorrectable ecc / parity) when reading from or writing to system memory. 27 interface fatal error status (ifs)? r/wc. indicates that the pch encountered an error on the sata interface whic h caused the transfer to stop. 26 interface non-fatal error status (infs) ?r/wc. indicates that the pch encountered an error on the sata interfa ce but was able to continue operation. 25 reserved 24 overflow status (ofs)? r/wc. indicates that the pch re ceived more bytes from a device than was specified in the prd table for the command. 23 incorrect port multiplier status (ipms) ?r/wc. the pch sata controller does not support port multipliers. 22 phyrdy change status (prcs) ?ro. when set to one, this bit indicates the internal phyrdy signal changed state. this bit reflects the state of pxserr.diag.n. unlike most of the other bits in the register, this bit is ro and is only cleared when pxserr.diag.n is cleared. note that the internal phyrdy signal also transitions when the po rt interface enters partial or slumber power mana gement states. partial and slumber must be disabled when surprise removal notification is desi red, otherwise the po wer management state transitions will appe ar as false insertio n and removal events. 21:8 reserved 7 device interlock status (dis)? r/wc. when set, this bit indicates that a platform interlock switch has been opened or clos ed, which may lead to a change in the connection state of the device. this bit is only valid in systems that support an interlock switch (cap.sis [abar+00:bit 28] set). for systems that do not support an interl ock switch, this bit will always be 0. 6 port connect change status (pcs)? ro . this bit reflects the state of pxserr.diag.x. (abar+130h/1d0h/230h/2d0h, bit 26) unlike other bits in this register, this bit is only cleare d when pxserr.diag.x is cleared. 0 = no change in current connect status. 1 = change in current connect status. 5 descriptor processed (dps)? r/wc. a prd with the i bit set has transferred all its data.
sata controller registers (d31:f2) 626 datasheet 14.4.2.6 pxie?port [5:0] interru pt enable register (d31:f2) address offset: port 0: abar + 114h attribute: r/w, ro port 1: abar + 194h port 2: abar + 214h (desktop only) port 3: abar + 294h (desktop only) port 4: abar + 314h port 5: abar + 394h port 6: abar + 414h default value: 00000000h size: 32 bits this register enables and disables the re porting of the corresponding interrupt to system software. when a bit is set (1) and the corresponding interrupt condition is active, then an interrupt is generated. interrupt sources that are disabled (0) are still reflected in the status registers. 4 unknown fis interrupt (ufs)? ro. when set to 1, this bit indicates that an unknown fis was received and has been copied into system memory. this bit is cleared to 0 by software clearing the pxserr.diag. f bit to 0. note that this bit does not directly reflect the pxserr.d iag.f bit. pxserr.diag.f is set immediately when an unknown fis is detected, whereas this bit is set when the fis is posted to memory. software should wait to act on an unknown fis until this bit is set to 1 or the two bits may become out of sync. 3 set device bits interrupt (sdbs)? r/wc. a set device bits fis has been received with the i bit set and has been copied into system memory. 2 dma setup fis interrupt (dss)? r/wc. a dma setup fis has been received with the i bit set and has been co pied into system memory. 1 pio setup fis interrupt (pss)? r/wc. a pio setup fis has been received with the i bit set, it has been copied into system memory, and the data related to that fis has been transferred. 0 device to host register fis interrupt (dhrs)? r/wc. a d2h register fis has been received with the i bit set, and has been copied into system memory. bit description bit description 31 cold presence detect enable (cpde)? ro. cold presence detect is not supported. 30 task file error enable (tfee)? r/w. when set, and ghc.ie and pxtfd.sts.err (due to a reception of the error register from a received fis) ar e set, the pch will generate an interrupt. 29 host bus fatal error enable (hbfe)? r/w. when set, and ghc.ie and pxs.hbfs are set, the pch will generate an interrupt. 28 host bus data error enable (hbde)? r/w. when set, and ghc.ie and pxs.hbds are set, the pch will generate an interrupt. 27 host bus data error enable (hbde) ?r/w. when set, ghc.ie is set, and pxis.hbds is set, the pch will generate an interrupt. 26 interface non-fatal error enable (infe) ?r/w. when set, ghc.ie is set, and pxis.infs is set, the pch will generate an interrupt. 25 reserved 24 overflow error enable (ofe)? r/w . when set, and ghc.ie an d pxs.ofs are set, the pch will generate an interrupt.
datasheet 627 sata controller registers (d31:f2) 23 incorrect port multiplier enable (ipme) ?r/w. the pch sata controller does not support port multipliers. bios and storage so ftware should keep this bit cleared to 0. 22 phyrdy change interrupt enable (prce) ?r/w. when set, and ghc.ie is set, and pxis.prcs is set, the pch shall generate an interrupt. 21:8 reserved 7 device interlock enable (die)? r/w. when set, and pxis.d is is set, the pch will generate an interrupt. for systems that do not support an interloc k switch, this bit shall be a read-only 0. 6 port change interrupt enable (pce)? r/w. when set, and ghc.ie and pxs.pcs are set, the pch will generate an interrupt. 5 descriptor processed interrupt enable (dpe)? r/w. when set, and ghc.ie and pxs.dps are set, the pch will generate an interrupt 4 unknown fis interrupt enable (ufie)? r/w. when set, and ghc. ie is set and an unknown fis is received, the pch will generate this interrupt. 3 set device bits fis interrupt enable (sdbe)? r/w. when set, and ghc.ie and pxs.sdbs are set, the pch wi ll generate an interrupt. 2 dma setup fis interrupt enable (dse)? r/w. when set, and ghc.ie and pxs.dss are set, the pch will generate an interrupt. 1 pio setup fis interrupt enable (pse)? r/w. when set, and ghc.ie and pxs.pss are set, the pch will generate an interrupt. 0 device to host register fis interrupt enable (dhre)? r/w. when set, and ghc.ie and pxs.dhrs are set, the pch will generate an interrupt. bit description
sata controller registers (d31:f2) 628 datasheet 14.4.2.7 pxcmd?port [5:0] command register (d31:f2) address offset: port 0: abar + 118h attribute: r/w, ro, r/wo port 1: abar + 198h port 2: abar + 218h (desktop only) port 3: abar + 298h (desktop only) port 4: abar + 318h port 5: abar + 398h port 6: abar + 418h default value: 0000w00wh size: 32 bits where w = 00?0b (for?, see bit description) function level reset:no (bit 21, 19 and 18 only) bit description 31:28 interface communication control (icc)? r/w.this is a four bit field that can be used to control reset and powe r states of the inte rface. writes to this field will cause actions on the interface, either as primit ives or an oob sequence, and the resulting status of the interface will be reported in the pxssts re gister (address offset port 0:abar+124h, port 1: abar+1a4h, port 2: abar+224h, port 3: abar+2a4h, port 4: abar+224h, port 5: abar+2a4h). when system software writes a non-reserved value other than no-op (0h), the pch will perform the action and update this field back to idle (0h). if software writes to this field to change the state to a state the link is already in (such as, interface is in the active state and a request is made to go to the active state), the pch will take no action and return this field to idle. note: when the alpe bit (bit 26) is set, then this register should not be set to 02h or 06h. 27 aggressive slumber / partial (asp)? r/w. when set, and the alpe bit (bit 26) is set, the pch shall aggressively enter the slumber state when it clears the pxci register and the pxsact register is cleared. when clea red, and the alpe bit is set, the pch will aggressively enter the partial state when it clears the pxci register and the pxsact register is cleared. if cap.salp is cleared to 0, software shall treat this bit as reserved. 26 aggressive link power ma nagement enable (alpe)? r/w. when set, the pch will aggressively enter a lower link power state (partial or slumber) based upon the setting of the as p bit (bit 27). value definition fh?7h reserved 6h slumber: this will cause the pch to request a transition of the interface to the slumbe r state. the sata de vice may reject the request and the interface will remain in its current state 5h?3h reserved 2h partial: this will cause the pch to request a transition of the interface to the partial state. the sata device may reject the request and the interface will remain in its current state. 1h active: this will cause the pch to request a transition of the interface into the active 0h no-op / idle: when software reads this value, it indicates the pch is not in the process of changing the interface state or sending a device reset, and a new link command may be issued.
datasheet 629 sata controller registers (d31:f2) 25 drive led on atapi enable (dlae)? r/w . when set, the pch will drive the led pin active for atapi commands (pxclb[chz.a] se t) in addition to ata commands. when cleared, the pch will only drive the led pin active for ata commands. see section 5.16.9 for details on the activity led. 24 device is atapi (atapi)? r/w. when set, the connected de vice is an atapi device. this bit is used by the pch to control wh ether or not to generate the desktop led when commands are active. see section 5.16.9 for details on the activity led. 23 reserved 22 bios must set this bit to 0. 21 external sata port (esp)? r/wo. 0 = this port supports internal sata devices only. 1 = this port will be used with an extern al sata device and hot plug is supported. when set, cap.sxs must also be set. this bit is not reset by function level reset. 20 reserved 19 mechanical switch attached to port (mpsp) ?r/wo. when interlock switches are supported in the platform (cap.sis [abar+ 00h:bit 28] set), this indicates whether this particular port has an interlock switch attached. this bit can be used by system software to enable such features as a ggressive power management, as disconnects can always be detected regardless of phy state with an interlock switch. when this bit is set, it is expected that hpcp (bit 18) in th is register is also set. the pch takes no action on the state of this bit ? it is for system software only. for example, if this bit is cleared, and an interlock switch toggles, the pch still treats it as a proper interlock switch event. note: this bit is not reset on a controller reset or by a function level reset. 18 hot plug capable port (hpcp) ?r/wo. 0 = port is not capable of hot-plug. 1 = port is hot-plug capable. this indicates whether the pl atform exposes this port to a device which can be hot- plugged. sata by definition is hot-pluggable, bu t not all platforms are constructed to allow the device to be removed (it may be screwed into the chassis, for example). this bit can be used by system software to indica te a feature such as ?eject device? to the end-user. the pch takes no action on the stat e of this bit?it is for system software only. for example, if this bit is cleared, and a hot-plug event occurs, the pch still treats it as a proper hot-plug event. note: this bit is not reset on a controller reset or by a function level reset. 17 bios must set this bit to 0. 16 reserved 15 controller running (cr)? ro. when this bit is set, the dma engines for a port are running. see section 5.2.2 of the serial ata ahci specification for details on when this bit is set and cleared by the pch. 14 fis receive running (fr) ?ro. when set, the fis receive dma engine for the port is running. see section 12.2.2 of the serial ata ahci specification for details on when this bit is set and cleared by the pch. bit description
sata controller registers (d31:f2) 630 datasheet 13 interlock switch state (iss) ?ro. for systems that support interlock switches (using cap.sis [abar+00h:bit 28]), if an inte rlock switch exists on this port (using isp in this register), this bit indicates the current st ate of the interlock switch. a 0 indicates the switch is closed, and a 1 indicates the switch is opened. for systems that do not support interlock sw itches, or if an interlock switch is not attached to this port , this bit reports 0. 12:8 current command slot (ccs)? ro. indicates the current command slot the pch is processing. this field is valid when the st bi t is set in this register, and is constantly updated by the pch. this field can be update d as soon as the pch recognizes an active command slot, or at some point soon afte r when it begins processing the command. this field is used by software to determin e the current command issue location of the pch. in queued mode, software shall not use this field, as its value does not represent the current command being exec uted. software shall only use pxci and pxsact when running queued commands. 7:5 reserved 4 fis receive enable (fre) ?r/w. when set, the pch may post received fises into the fis receive area pointed to by px fb (abar+108h/188h/208h/288h) and pxfbu (abar+10ch/18ch/20ch/28ch). when cleared, received fises are not accepted by the pch, except for the first d2h (device-to-host) register fis after the initialization sequence. system software must not set this bit until pxfb (pxfbu) have been programmed with a valid pointer to the fis receive area, and if software wishes to move the base, this bit must first be cl eared, and software must wait for th e fr bit (bit 14) in this register to be cleared. 3 command list override (clo) ?r/w. setting this bit to 1 causes pxtfd.sts.bsy and pxtfd.sts.drq to be cleared to 0. this allows a software rese t to be transmitted to the device regardless of whether th e bsy and drq bits are still set in the pxtfd.sts register. the controller sets this bit to 0 when pxtfd.sts.bsy and pxtfd.sts.drq have been cleared to 0. a write to this register with a value of 0 shall have no effect. this bit shall only be set to 1 immediately prior to setting the pxcmd.st bit to 1 from a previous value of 0. setting this bit to 1 at any other time is not supported and will result in indeterminate behavi or. software must wait for cl o to be cleared to 0 before setting pxcmd.st to 1. 2 power on device (pod)? ro . cold presence detect not supported. defaults to 1. 1 spin-up device (sud) ?r/w / ro. this bit is r/w and defaults to 0 for systems that support staggered spin -up (r/w when cap.sss (abar+00h:bit 27) is 1). bit is ro 1 for systems that do not support stag gered spin-up (when cap.sss is 0). 0 = no action. 1 = on an edge detect from 0 to 1, the pch starts a comreset initialization sequence to the device. clearing this bit to 0 does not cause any oob signal to be sent on the interface. when this bit is cleared to 0 and pxsctl.det=0h, the controller will enter listen mode. 0 start (st)? r/w . when set, the pch may process the command list. when cleared, the pch may not process the command list. wh enever this bit is changed from a 0 to a 1, the pch starts processing the command list at entry 0. whenever this bit is changed from a 1 to a 0, the pxci register is cleared by the pch upon the pch putting the controller into an idle state. see section 12.2.1 of the serial ata ahci sp ecification for import ant restrictions on when st can be set to 1. bit description
datasheet 631 sata controller registers (d31:f2) 14.4.2.8 pxtfd?port [5:0] task file data register (d31:f2) address offset: port 0: abar + 120h attribute: ro port 1: abar + 1a0h port 2: abar + 220h (desktop only) port 3: abar + 2a0h (desktop only) port 4: abar + 320h port 5: abar + 3a0h port 6: abar + 420h default value: 0000007fh size: 32 bits this is a 32-bit register that copies specif ic fields of the task file when fises are received. the fises that contain this information are: d2h register fis,pio setup fis and set device bits fis 14.4.2.9 pxsig?port [5:0] signature register (d31:f2) address offset: port 0: abar + 124h attribute: ro port 1: abar + 1a4h port 2: abar + 224h (desktop only) port 3: abar + 2a4h (desktop only) port 4: abar + 324h port 5: abar + 3a4h port 6: abar + 424h default value: ffffffffh size: 32 bits this is a 32-bit register which contains the initial signature of an attached device when the first d2h register fis is received from th at device. it is updated once after a reset sequence. bit description 31:16 reserved 15:8 error (err)? ro . contains the latest copy of the task file error register. 7:0 status (sts)? ro . contains the latest copy of the task file status register. fields of note in this register that affect ahci. bit field definition 7 bsy indicates the interface is busy 6:4 n/a not applicable 3 drq indicates a data transfer is requested 2:1 n/a not applicable 0 err indicates an error during the transfer bit description 31:0 signature (sig)? ro . contains the signature received from a device on the first d2h register fis. the bit order is as follows: bit field 31:24 lba high register 23:16 lba mid register 15:8 lba low register 7:0 sector count register
sata controller registers (d31:f2) 632 datasheet 14.4.2.10 pxssts?port [5:0] serial ata status register (d31:f2) address offset: port 0: abar + 128h attribute: ro port 1: abar + 1a8h port 2: abar + 228h (desktop only) port 3: abar + 2a8h (desktop only) port 4: abar + 328h port 5: abar + 3a8h port 6: abar + 428h default value: 00000000h size: 32 bits this is a 32-bit register that conveys the current state of the interface and host. the pch updates it continuously and asynchronously. when the pch transmits a comreset to the device, this register is updated to its reset values. bit description 31:12 reserved 11:8 interface power management (ipm)? ro . indicates the current interface state: all other values reserved. 7:4 current interface speed (spd) ?ro. indicates the negotiated interface communication speed. all other values reserved. the pch supports gen 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection (det)? ro . indicates the interface device detection and phy state: all other values reserved. value description 0h device not present or communication not established 1h interface in active state 2h interface in partial power management state 6h interface in slumber power management state value description 0h device not present or communication not established 1h generation 1 communication rate negotiated 2h generation 2 communication rate negotiated value description 0h no device de tected and phy communication not established 1h device presence detected but phy communication not established 3h device presence detected and phy communication established 4h phy in offline mode as a result of the interface being disabled or running in a bist loopback mode
datasheet 633 sata controller registers (d31:f2) 14.4.2.11 pxsctl?port [5:0] serial ata control register (d31:f2) address offset: port 0: abar + 12ch attribute: r/w, ro port 1: abar + 1ach port 2: abar + 22ch (desktop only) port 3: abar + 2ach (desktop only) port 4: abar + 32ch port 5: abar + 3ach port 6: abar + 42ch default value: 00000004h size: 32 bits this is a 32-bit read-write register by which software controls sata capabilities. writes to the scontrol register result in an acti on being taken by the pch or the interface. reads from the register return the last value written to it. bit description 31:16 reserved 15:12 select power management (spm)?r/ w. this field is not used by ahci 11:8 interface power management transitions allowed (ipm)? r/w . indicates which power states the pch is allowed to transition to: all other values reserved 7:4 speed allowed (spd) ?r/w. indicates the highest allo wable speed of the interface. this speed is limited by the ca p.iss (abar+00h:bit 23:20) field. the pch supports gen 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection initialization (det)? r/w. controls the pch?s device detection and interface initialization. all other values reserved. when this field is written to a 1h, the pch initiates comreset and starts the initialization process. when the initialization is complete, this field shall remain 1h until set to another value by software. this field may only be changed to 1h or 4h when pxcmd.st is 0. changing this field while the pch is running results in undefined behavior. note: it is permissible to implement any of the serial ata defined behaviors for transmission of comreset when det=1h. value description 0h no interface restrictions 1h transitions to the partial state disabled 2h transitions to the slumber state disabled 3h transitions to both partial and slumber states disabled value description 0h no speed negotiation restrictions 1h limit speed negotiation to generation 1 communication rate 2h limit speed negotiation to generation 2 communication rate value description 0h no device detection or initialization action requested 1h perform interface communication initialization sequence to establish communication. this is fu nctionally equivalent to a hard reset and results in the interface being reset and communications re-initialized 4h disable the serial ata interface and put phy in offline mode
sata controller registers (d31:f2) 634 datasheet 14.4.2.12 pxserr?port [5:0] serial ata error register (d31:f2) address offset: port 0: abar + 130h attribute: r/wc port 1: abar + 1b0h port 2: abar + 230h (desktop only) port 3: abar + 2b0h (desktop only) port 4: abar + 330h port 5: abar + 3b0h port 6: abar + 430h default value: 00000000h size: 32 bits bits 26:16 of this register contain diagnostic error information for use by diagnostic software in validating correct operation or isolating failure modes. bits 11:0 contain error information used by host software in determining the appropriate response to the error condition. if one or more of bits 11:8 of this register are set, the controller will stop the current transfer. bit description 31:27 reserved 26 exchanged (x)? r/wc. when set to 1, this bit indicates that a change in device presence has been detected since the last time this bit was cleared. this bit shall always be set to 1 an ytime a cominit signal is received. this bit is reflected in the p0is.pcs bit. 25 unrecognized fis type (f)? r/wc. indicates that one or more fiss were received by the transport layer with good crc, but had a type field that was not recognized. 24 transport state transition error (t)? r/wc. indicates that an error has occurred in the transition from one state to another within the transport layer since the last time this bit was cleared. 23 link sequence error (s)? r/wc: indicates that one or mo re link state machine error conditions was encountered. the link layer state machine defines the conditions under which the link layer detect s an erroneous transition. 22 handshake (h)? r/wc. indicates that one or more r_err handshake response was received in response to fram e transmission. such errors may be the result of a crc error detected by the recipien t, a disparity or 8b/10b deco ding error, or other error condition leading to a negative handshake on a transmitted frame. 21 crc error (c)? r/wc. indicates that one or more crc errors occurre d with the link layer. 20 disparity error (d)? r/wc. this field is not used by ahci. 19 10b to 8b decode error (b)? r/wc. indicates that one or more 10b to 8b decoding errors occurred. 18 comm wake (w)? r/wc. indicates that a comm wake signal was detected by the phy. 17 phy internal error (i)? r/wc. indicates that the phy de tected some internal error. 16 phyrdy change (n)? r/wc. when set to 1, this bit indicates that the internal phyrdy signal changed state since the last time this bit was cleared. in the pch, this bit will be set when phyrdy changes from a 0 -> 1 or a 1 -> 0. the state of this bit is then reflected in the pxis.prcs interrupt status bit and an interrupt will be generated if enabled. software cl ears this bit by writing a 1 to it. 15:12 reserved 11 internal error (e)? r/wc. the sata controller failed due to a master or target abort when attempting to access system memory.
datasheet 635 sata controller registers (d31:f2) 14.4.2.13 pxsact?port [5:0] serial ata active register (d31:f2) address offset: port 0: abar + 134h attribute: r/w port 1: abar + 1b4h port 2: abar + 234h (desktop only) port 3: abar + 2b4h (desktop only) port 4: abar + 334h port 5: abar + 3b4h port 6: abar + 434h default value: 00000000h size: 32 bits 10 protocol error (p)? r/wc. a violation of the serial ata protocol was detected. note: the pch does not set this bit for all prot ocol violations that may occur on the sata link. 9 persistent communication or data integrity error (c)? r/wc. a communication error that was not recovered occurred that is expected to be persistent. persistent communications errors may arise from faulty interconnect with the device, from a device that has been removed or has failed, or a number of other causes. 8 transient data integrity error (t)? r/wc. a data integrity error occurred that was not recovered by the interface. 7:2 reserved 1 recovered communications error (m)? r/wc. communications between the device and host was temporarily lost but was re-established. this can arise from a device temporarily being removed, from a temporary loss of phy synchronization, or from other causes and may be de rived from the phynrdy signal between the phy and link layers. 0 recovered data integrity error (i)? r/wc. a data integrity error occurred that was recovered by the interface through a retr y operation or other recovery action. bit description bit description 31:0 device status (ds)? r/w. system software sets this bi t for sata queuing operations prior to setting the pxci.ci bit in the same command slot entry. this field is cleared using the set device bits fis. this field is also cleared when pxcmd. st (abar+118h/198h/218h/298h:bit 0) is cleared by software, and as a re sult of a comreset or srst.
sata controller registers (d31:f2) 636 datasheet 14.4.2.14 pxci?port [5:0] command issue register (d31:f2) address offset: port 0: abar + 138h attribute: r/w port 1: abar + 1b8h port 2: abar + 238h (desktop only) port 3: abar + 2b8h (desktop only) port 4: abar + 338h port 5: abar + 3b8h port 6: abar + 438h default value: 00000000h size: 32 bits bit description 31:0 commands issued (ci)? r/w. this field is set by software to indicate to the pch that a command has been built-in system memory for a command slot and may be sent to the device. when the pch receives a fis wh ich clears the bsy and drq bits for the command, it clears the correspon ding bit in this re gister for that command slot. bits in this field shall only be set to 1 by software when pxcmd.st is set to 1. this field is also cleared when pxcmd. st (abar+118h/198h/218h/298h:bit 0) is cleared by software.
datasheet 637 sata controller registers (d31:f5) 15 sata controller registers (d31:f5) 15.1 pci configuration registers (sata?d31:f5) note: address locations that are not shown should be treated as reserved. all of the sata registers are in the core well. none of the registers can be locked. table 15-1. sata controller pci register address map (sata?d31:f5) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 02b0h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface see register description see register description 0ah scc sub class code see register description see register description 0bh bcc base class code 01h ro 0dh pmlt primary master latency timer 00h ro 10h?13h pcmd_bar primary command block base address 00000001h r/w, ro 14h?17h pcnl_bar primary control block base address 00000001h r/w, ro 18h?1bh scmd_bar secondary command block base address 00000001h r/w, ro 1ch?1fh scnl_bar secondary control block base address 00000001h r/w, ro 20h?23h bar legacy bus master base address 00000001h r/w, ro 24h?27h sidpba serial ata index / data pair base address 00000000h see register description 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h cap capabilities pointer 80h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 40h?41h ide_tim primary ide timing register 0000h r/w 42h?43h ide_tim secondary ide timing registers 0000h r/w
sata controller registers (d31:f5) 638 datasheet note: the pch sata controller is not arbitrated as a pci device; therefore, it does not need a master latency timer. 15.1.1 vid?vendor iden tification regist er (sata?d31:f5) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bit lockable: no power well: core 15.1.2 did?device identificati on register (sata?d31:f5) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bit lockable: no power well: core 48h sdma_cnt synchronous dma control 00h r/w 4ah?4bh sdma_tim synchrono us dma timing 0000h r/w 54h?57h ide_config de i/o configuration 00000000h r/w 70h?71h pid pci power management capability id see register description ro 72h?73h pc pci power management capabilities 4003h ro 74h?75h pmcs pci power management control and status 0008h r/w, ro, r/wc 90h map address map 00h r/w 92h?93h pcs port control and status 0000h r/w, ro, r/wc a8h?abh scap0 sata capability register 0 0010b012h ro ach?afh scap1 sata capability register 1 00000048h ro b0h?b1h flrcid flr capability id 0009h ro b2h?b3h flrclv flr capability length and value 2006h ro b4h?b5h flrctrl flr control 0000h r/w, ro c0h atc apm trapping control 00h r/w c4h ats atm trapping status 00h r/wc table 15-1. sata controller pci register address map (sata?d31:f5) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id ?ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ?ro. this is a 16-bit value assigned to the pch sata controller. note: the value of this field will change dependent upon the value of the map register. see section and section 15.1.28
datasheet 639 sata controller registers (d31:f5) 15.1.3 pcicmd?pci command register (sata?d31:f5) address offset: 04h ? 05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable ?r/w. this disables pin-based in tx# interrupts. this bit has no effect on msi operation. 0 = internal intx# messages are generated if there is an interrupt and msi is not enabled. 1 = internal intx# messages will not be generated. 9 fast back to back enable (fbe)?ro. reserved as 0. 8 serr# enable (serr_en) ? ro. reserved as 0. 7 wait cycle control (wcc)?ro. reserved as 0. 6 parity error response (per)? r/w. 0 = disabled. sata controller will not gene rate perr# when a data parity error is detected. 1 = enabled. sata controller will generate pe rr# when a data parity error is detected. 5 vga palette snoop (vps)?ro. reserved as 0. 4 postable memory write enable (pmwe)?ro. reserved as 0. 3 special cycle en able (sce)?ro. reserved as 0. 2 bus master enable (bme)? r/w. this bit controls the pch ability to act as a pci master for ide bus master transfers. this bit does not impact the generation of completions for split transaction commands. 1 memory space enable (mse)? ro. this controller does not support ahci; therefore, no memory space is required. 0 i/o space enable (iose)? r/w. this bit controls access to the i/o space registers. 0 = disables access to the legacy or native ide ports (both primary and secondary) as well as the bus mast er i/o registers. 1 = enable. note that the base address register for the bus master registers should be programmed before this bit is set.
sata controller registers (d31:f5) 640 datasheet 15.1.4 pcists?pci status register (sata?d31:f5) address offset: 06h ? 07h attribute: r/wc, ro default value: 02b0h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 15.1.5 rid?revision identificati on register (sata?d31:f5) offset address: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (dpe) ?r/wc. 0 = no parity error detected by sata controller. 1 = sata controller detects a parity error on its interface. 14 signaled system error (sse) ?ro. reserved as 0. 13 received master abort (rma)? r/wc. 0 = master abort not generated. 1 = sata controller, as a master , generated a master abort. 12 reserved 11 signaled target abort (sta) ?ro. reserved as 0. 10:9 devsel# timing status (dev_sts) ?ro. 01 = hardwired; controls the devi ce select time for the sata controller?s pci interface. 8 data parity error detected (dped)? r/wc. for pch, this bit can only be set on read completions received from sibu s where there is a parity error. 1 = sata controller, as a master, either detect s a parity error or sees the parity error line asserted, and the parity error response bit (bit 6 of the command register) is set. 7 fast back to back capable (fb2bc) ?ro. reserved as 1. 6 user definable features (udf)? ro. reserved as 0. 5 66mhz capable (66mhz_cap)? ro. reserved as 1. 4 capabilities list (cap_list)? ro. this bit indicates the pr esence of a capabilities list. the minimum requirement for the capabili ties list must be pci power management for the sata controller. 3 interrupt status (ints) ?ro. reflects the state of intx# messages, irq14 or irq15. 0 = interrupt is cleared (ind ependent of the state of in terrupt disabl e bit in the command register [offset 04h]). 1 = interrupt is to be asserted 2:0 reserved bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register
datasheet 641 sata controller registers (d31:f5) 15.1.6 pi?programmin g interface register (sata?d31:f5) address offset: 09h attribute: ro default value: 85h size: 8 bits when scc = 01h 15.1.7 scc?sub class code register (sata?d31:f5) address offset: 0ah attribute: ro default value: 01h size: 8 bits 15.1.8 bcc?base clas s code register (sata?d31:f5sata?d31:f5) address offset: 0bh attribute: ro default value: 01h size: 8 bits bit description 7 this read-only bit is a 1 to indicate that the pch supports bus master operation 6:4 reserved 3 secondary mode native capable (snc) ?ro. indicates whether or not the secondary channel has a fixed mode of operation. 0 = indicates the mode is fixed and is dete rmined by the (read-only) value of bit 2. this bit will always return 0. 2 secondary mode nati ve enable (sne) ?ro. determines the mode th at the secondary channel is operating in. 1 = secondary controller operating in native pci mode. this bit will always return 1. 1 primary mode native capable (pnc)? ro. indicates whether or not the primary channel has a fixed mode of operation. 0 = indicates the mode is fixed and is dete rmined by the (read-only) value of bit 0. this bit will always return 0. 0 primary mode native enable (pne) ?ro. determines the mode that the primary channel is operating in. 1 = primary controller operating in native pci mode. this bit will always return 1. bit description 7:0 sub class code (scc)? ro. the value of this field determines whethe r the controller supports legacy ide mode. bit description 7:0 base class code (bcc) ?ro. 01h = mass storage device
sata controller registers (d31:f5) 642 datasheet 15.1.9 pmlt?primary master latency timer register (sata?d31:f5) address offset: 0dh attribute: ro default value: 00h size: 8 bits 15.1.10 pcmd_bar?primary co mmand block base address register (sata?d31:f5) address offset: 10h ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 8-byte i/o space is used in native mo de for the primary cont roller?s command block. 15.1.11 pcnl_bar?primary contro l block base address register (sata?d31:f5) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 4-byte i/o space is used in native mo de for the primary cont roller?s command block. bit description 7:0 master latency timer count (mltc) ?ro. 00h = hardwired. the sata controller is im plemented internally, and is not arbitrated as a pci device, so it does no t need a master latency timer. bit description 31:16 reserved 15:3 base address? r/w. this field provides the base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:2 base address? r/w. this field provides the base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space.
datasheet 643 sata controller registers (d31:f5) 15.1.12 scmd_bar?secondary co mmand block base address register (ide d31:f5) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 8-byte i/o space is used in native mode for the secondary controller?s command block. 15.1.13 scnl_bar?secondary co ntrol block base address register (ide d31:f5) address offset: 1ch ? 1fh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. bit description 31:16 reserved 15:3 base address? r/w. this field provides the base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ?ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:2 base address? r/w. this field provides the base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte) ?ro. hardwired to 1 to indicate a request for i/o space.
sata controller registers (d31:f5) 644 datasheet 15.1.14 bar?legacy bus master base address register (sata?d31:f5) address offset: 20h ? 23h attribute: r/w, ro default value: 00000001h size: 32 bits the bus master ide interface function uses base address register 5 to request a 16- byte io space to provide a software interf ace to the bus master functions. only 12 bytes are actually used (6 bytes for primary, 6 bytes for secondary). only bits [15:4] are used to decode the address. 15.1.15 sidpba?sata index/data pair base address register (sata?d31:f5) address offset: 24h ? 27h attribute: r/w, ro default value: 00000000h size: 32 bits when scc is 01h when the programming interface is ide, the register represents an i/o bar allocating 16b of i/o space for the i/o mapped registers defined in section 15.3 . note that although 16b of locations are allocated, some maybe reserved. bit description 31:16 reserved 15:5 base address? r/w. this field provid es the base address of the i/o space (16 consecutive i/o locations). 4 base address 4 (ba4) ?r/w. when scc is 01h, this bit will be r/w re sulting in requesting 16b of i/o space. 3:1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:4 base address (ba)? r/w. base address of register i/o space 3:1 reserved 0 resource type indicator (rte)? ro. hardwired to 1 to indicate a request for i/o space.
datasheet 645 sata controller registers (d31:f5) 15.1.16 svid?subsystem vendor identification register (sata?d31:f5) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core function level reset: no 15.1.17 sid?subsystem identification register (sata?d31:f5) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core 15.1.18 cap?capabilities poin ter register (sata?d31:f5) address offset: 34h attribute: ro default value: 70h size: 8 bits 15.1.19 int_ln?interrupt line register (sata?d31:f5) address offset: 3ch attribute: r/w default value: 00h size: 8 bits function level reset: no 15.1.20 int_pn?interrupt pi n register (sata?d31:f5) address offset: 3dh attribute: ro default value: see register description size: 8 bits bit description 15:0 subsystem vendor id (svid)? r/wo. value is written by bios. no hardware action taken on this value. bit description 15:0 subsystem id (sid) ?r/wo. value is written by bios . no hardware action taken on this value. bit description 7:0 capabilities pointer (cap_ptr) ?ro. indicates that the firs t capability po inter offset is 70h if the sub class code (scc) (dev 31:f 2:0ah) is configure as ide mode (value of 01). bit description 7:0 interrupt line? r/w. this field is used to communicat e to software the interrupt line that the interrupt pin is connected to. these bits are not reset by flr. bit description 7:0 interrupt pin? ro. this reflects the value of d31ip.sip1 (chipset config registers:offset 3100h:bits 11:8).
sata controller registers (d31:f5) 646 datasheet 15.1.21 ide_tim?ide timing register (sata?d31:f5) address offset: primary: 40h?41h attribute: r/w secondary: 42h?43h default value: 0000h size: 16 bits note: bits 14:12 and 9:0 of this register are r/w to maintain software compatibility. these bits have no effect on hardware. 15.1.22 sdma_cnt?synchronous dma control register (sata?d31:f5) address offset: 48h attribute: r/w default value: 00h size: 8 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. bit description 15 ide decode enable (ide)? r/w. individually enable/disable the primary or secondary decode. 0 = disable. 1 = enables the pch to decode the asso ciated command block and control block. 14:12 ide_tim field 2 ?r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware. 11:10 reserved 9:0 ide_tim field 1 ?r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware. bit description 7:4 reserved 3:0 sdma_cnt field 1 ?r/w. this field is r/w to mainta in software compatibility. this field has no effect on hardware.
datasheet 647 sata controller registers (d31:f5) 15.1.23 sdma_tim?synchronous dma timing register (sata?d31:f5) address offset: 4ah?4bh attribute: r/w default value: 0000h size: 16 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. 15.1.24 ide_config?ide i/o configuration register (sata?d31:f5) address offset: 54h?57h attribute: r/w default value: 00000000h size: 32 bits note: this register is r/w to maintain software compatibility. these bits have no effect on hardware. bit description 15:10 reserved 9:8 sdma_tim field 2 ?r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware. 7:2 reserved 1:0 sdma_tim field 1? r/w. this field is r/w to maintain software compatibility. this field has no effect on hardware. bit description 31:24 reserved 23:16 ide_config field 6 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 15 reserved 14 ide_config field 5 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 13 reserved 12 ide_config field 4 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 11:8 reserved 7:4 ide_config field 3 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 3 reserved 2 ide_config field 2 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware. 1 reserved 0 ide_config field 1 ?r/w. this field is r/w to mainta in software comp atibility. this field has no effect on hardware.
sata controller registers (d31:f5) 648 datasheet 15.1.25 pid?pci power management capability identification register (sata?d31:f5) address offset: 70h ? 71h attribute: ro default value: b001h size: 16 bits 15.1.26 pc?pci power manageme nt capabilities register (sata?d31:f5) address offset: 72h ? 73h attribute: ro default value: 4003h size: 16 bits f bits description 15:8 next capability (next) ?ro. when scc is 01h, this field will be b0h indicating the next it em is flr capability pointer in the list. 7:0 capability id (cid) ?ro. indicates that this poin ter is a pci power management. bits description 15:11 pme support (pme_sup) ?ro. by default with scc = 01h, the default value of 00000 indicates no pme support in ide mode. 10 d2 support (d2_sup)?ro. hardwired to 0. the d2 state is not supported 9 d1 support (d1_sup)?ro. hardwired to 0. the d1 state is not supported 8:6 auxiliary current (aux_cur)?ro. pme# from d3 cold state is not supported, therefore this field is 000b. 5 device specific initialization (dsi)?ro. hard wired to 0 to indicate that no device- specific initialization is required. 4 reserved 3 pme clock (pme_clk)?ro. hardwired to 0 to in dicate that pci clock is not required to generate pme#. 2:0 version (ver)? ro. hardwired to 011 to indicates su pport for revision 1.2 of the pci power management specification.
datasheet 649 sata controller registers (d31:f5) 15.1.27 pmcs?pci power mana gement control and status register (sata?d31:f5) address offset: 74h ? 75h attribute: ro, r/w, r/wc default value: 0008h size: 16 bits function level reset:no (bits 8 and 15 only) bits description 15 pme status (pmes) ?r/wc. bit is set when a pme event is to be requested, and if this bit and pmee is set, a pme# will be generated from the sata controller. note: when scc=01h this bit will be ro 0. soft ware is advised to clear pmee together with pmes prior to changing scc through map.sms. this bit is not reset by function level reset. 14:9 reserved 8 pme enable (pmee) ?r/w. when scc is not 01h, this bit r/w. when set, the sata controller generates pme# form d3 hot on a wake event. note: when scc=01h this bit will be ro 0. soft ware is advised to clear pmee together with pmes prior to changing scc through map.sms. this bit is not reset by function level reset. 7:4 reserved 3 no soft reset (nsfrst) ?ro. these bits are used to indicate wh ether devices transitioning from d3 hot state to d0 state will perform an internal reset. 0 = device transitioning from d3 hot state to d0 state perfo rm an internal reset. 1 = device transitioning from d3 hot state to d0 state do not perform an internal reset. configuration content is preserved. upon transition from the d3 hot state to d0 state initialized state, no addition al operating system interventi on is required to preserve configuration context beyond writing to the powerstate bits. regardless of this bit, the controller transition from d3 hot state to d0 state by a system or bus segment reset will return to the state d0 uninitialized with only pme context preserved if pme is supported and enabled. 2reserved 1:0 power state (ps) ?r/w. these bits are used both to determine the current power state of the sata controller and to set a new power state. 00 = d0 state 11 = d3 hot state when in the d3 hot state, the controller?s configurat ion space is available, but the i/o and memory spaces are not. addi tionally, interrupts are blocked.
sata controller registers (d31:f5) 650 datasheet 15.1.28 map?address map re gister (sata?d31:f5) address offset: 90h attribute: r/w, r/wo, ro default value: 00h size: bits function level reset: no (bits 9:8 only) bits description 15:8 reserved 7:6 sata mode select (sms)? r/w. software programs these bits to control the mode in which the sata controller should operate. 00b = ide mode all other combinations are reserved. 5:2 reserved 1:0 map value (mv) ?reserved.
datasheet 651 sata controller registers (d31:f5) 15.1.29 pcs?port control and st atus register (sata?d31:f5) address offset: 92h ? 93h attribute: r/w, ro default value: 0000h size: 16 bits function level reset: no by default, the sata ports are set to the di sabled state (bits [5:0] = 0). when enabled by software, the ports can transition between the on, partial, and slumber states and can detect devices. when disabled, the port is in the ?off? state and cannot detect any devices. if an ahci-aware or raid enabled operating system is being booted then system bios shall insure that all supported sata ports are enabled prior to passing control to the os. once the ahci aware os is booted it becomes the enabling/disabling policy owner for the individual sata ports. this is acco mplished by manipulating a port?s pxsctl and pxcmd fields. because an ahci or raid awar e os will typically not have knowledge of the pxe bits and because the pxe bits act as master on/off switches for the ports, pre- boot software must insure that these bits are set to 1 prior to booting the os, regardless as to whether or not a device is currently on the port. bits description 15:10 reserved 9 port 5 present (p5p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disabled using p1 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 1 has been detected. 8 port 4 present (p4p)? ro. the status of this bit may ch ange at any time. this bit is cleared when the port is disabled using p0 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 0 has been detected. 7:2 reserved 1 port 5 enabled (p5e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, an d slumber states and can detect devices. this bit is read-only 0 when map.spd[1]= 1. 0 port 4 enabled (p4e) ?r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, an d slumber states and can detect devices. this bit is read-only 0 when map.spd[0]= 1.
sata controller registers (d31:f5) 652 datasheet 15.1.30 satacr0?sata capability register 0 (sata?d31:f5) address offset: a8h?abh attribute: ro, rwo default value: 0010b012h size: 32 bits function level reset: no (bits 15:8 only) note: when scc is 01h this register is read-only 0. . 15.1.31 satacr1?sata capability register 1 (sata?d31:f5) address offset: ach?afh attribute: ro default value: 00000048h size: 32 bits when scc is 01h this register is read-only 0. . 15.1.32 flrcid?flr capability id register (sata?d31:f5) address offset: b0h?b1h attribute: ro default value: 0009h size: 16 bits . bit description 31:24 reserved 23:20 major revision (majrev)? ro. major revision number of the sata capability pointer implemented. 19:16 minor revision (minrev)? ro. minor revision number of the sata capability pointer implemented. 15:8 next capability pointer (next)? rwo. points to the next capability structure. 7:0 capability id (cap)? ro. the value of 12h has been assigned by the pci sig to designate the sata capability pointer. bit description 31:16 reserved 15:4 bar offset (barofst)? ro. indicates the offset into the bar where the index/data pair are located (in dword granularity). the index and data i/o registers are located at offset 10h within the i/o space defined by lbar (bar4). a value of 004h indicates offset 10h. 3:0 bar location (barloc)? ro. indicates the absolute pc i configuration register address of the bar containing the index/da ta pair (in dword granularity). the index and data i/o registers reside within the sp ace defined by lbar (bar4) in the sata controller. a value of 8h indicates and offset of 20h, which is lbar (bar4). bit description 15:8 next capability pointer? ro. a value of 00h indicates the final item in the capability list. 7:0 capability id? ro. the value of this field depends on the flrcssecl bit. if flrcssel = 0, this field is 13h if flrcssel = 1, this fi eld is 09h, indicating vend or specific capability.
datasheet 653 sata controller registers (d31:f5) 15.1.33 flrclv?flr capabili ty length and value register (sata?d31:f5) address offset: b2h?b3h attribute: ro, rwo default value: 2006h size: 16 bits function level reset: no (bits 9:8 only) when flrcssel = 0, this register is defined as follows: when flrcssel = 1, this register is defined as follows: 15.1.34 flrctrl?flr control register (sata?d31:f5) address offset: b4h?b5h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:10 reserved 9 flr capability? rwo. this field indicates suppo rt for function level reset. 8 txp capability? rwo. this field indicates support for the transactions pending (txp) bit. txp must be support ed if flr is supported. 7:0 capability length? ro. this field indicates the number of bytes of the vendor specific capability as required by the pci spec. it has the value of 06h for flr capability. bit description 15:12 vendor specific capability id? ro. a value of 02h identifi es this capability as a function level reset. 11:8 capability version? ro. this field indicates the ve rsion of the flr capability. 7:0 capability length? ro. this field indicates the number of bytes of the vendor specific capability as required by the pci spec. it has the value of 06h for flr capability. bit description 15:9 reserved 8 transactions pending (txp)? ro. 0 = completions for all non-po sted requests have been received by the controller. 1 = controller has issued non-posted request which has not been completed. 7:1 reserved 0 initiate flr? r/w. used to initiate flr transition. a write of 1 indicates flr transition.
sata controller registers (d31:f5) 654 datasheet 15.1.35 atc?apm trapping cont rol register (sata?d31:f5) address offset: c0h attribute: r/w default value: 00h size: 8 bits note: this sata controller does not support legacy i/o access. therefore, this register is reserved. software shall not ch ange the default values of the register; otherwise, the result will be undefined. . 15.1.36 atc?apm trapping cont rol register (sata?d31:f5) address offset: c4h attribute: r/wc default value: 00h size: 8 bits note: this sata controller does not support legacy i/o access. therefore, this register is reserved. software shall not ch ange the default values of the register; otherwise, the result will be undefined. . bit description 7:0 reserved bit description 7:0 reserved
datasheet 655 sata controller registers (d31:f5) 15.2 bus master ide i/ o registers (d31:f5) the bus master ide function uses 16 byte s of i/o space, allocated using the bar register, located in device 31:function 2 configuration space, offset 20h. all bus master ide i/o space registers can be accessed as byte, word, or dword quantities. reading reserved bits returns an indetermin ate, inconsistent value, and writes to reserved bits have no affect (but should not be attempted). these registers are only used for legacy operation. software must not use these registers when running ahci. the description of the i/o registers is shown in ta b l e 1 5 - 2 . table 15-2. bus master ide i/o register address map bar+ offset mnemonic register default type 00 bmicp command register primary 00h r/w 01 ? reserved ? ro 02 bmisp bus master ide status register primary 00h r/w, r/wc, ro 03 ? reserved ? ro 04?07 bmidp bus master ide descriptor table pointer primary xxxxxxxx h r/w 08 bmics command register secondary 00h r/w 09 ? reserved ? ro 0ah bmiss bus master ide status register secondary 00h r/w, r/wc, ro 0bh ? reserved ? ro 0ch?0fh bmids bus master ide descriptor table pointer secondary xxxxxxxx h r/w
sata controller registers (d31:f5) 656 datasheet 15.2.1 bmic[p,s]?bus master id e command register (d31:f5) address offset: primary: bar + 00h attribute: r/w secondary: bar + 08h default value: 00h size: 8 bits bit description 7:4 reserved 3 read / write control (r/wc)? r/w. this bit sets the direction of the bus master transfer: this bit must not be changed when the bus master function is active. 0 = memory reads 1 = memory writes 2:1 reserved 0 start/stop bus master (start)? r/w. 0 = all state information is lost when this bit is cleared. master mode operation cannot be stopped and then resumed. if this bit is reset while bus master operation is still active (that is, the bus master ide active bit (d31:f5:bar + 02h, bit 0) of the bus master ide status register for that ide channel is set) and the drive has not yet finished its data transfer (the interrupt bit in the bus master ide status register for that ide channel is not set), the bus master command is said to be aborted and data transferred from the drive may be discarded instead of being written to system memory. 1 = enables bus master operation of the co ntroller. bus master operation does not actually start unle ss the bus master enable bit (d31:f5:04h, bit 2) in pci configuration space is also set. bus master operation begins when this bit is detected changing from 0 to 1. the contro ller will transfer data between the ide device and memory only when this bit is set. master operation can be halted by writing a 0 to this bit. note: this bit is intended to be cleared by software after the data transfer is completed, as indicated by either the bu s master ide active bit being cleared or the interrupt bit of the bus master ide status register for that ide channel being set, or both. hardware does not clea r this bit automatically. if this bit is cleared to 0 prior to the dma data transfer being initiated by the drive in a device to memory data transfer, then th e pch will not send dmat to terminate the data transfer. software intervention (such as, send ing srst) is required to reset the interface in this condition.
datasheet 657 sata controller registers (d31:f5) 15.2.2 bmis[p,s]?bus master id e status register (d31:f5) address offset: primary: bar + 02h attribute: r/w, r/wc, ro secondary: bar + 0ah default value: 00h size: 8 bits 15.2.3 bmid[p,s]?bus master id e descriptor table pointer register (d31:f5) address offset: primary: bar + 04h?07h attribute: r/w secondary: bar + 0ch ? 0fh default value: all bits undefined size: 32 bits bit description 7 prd interrupt status (prdis) ?r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the host controller execution of a prd that has its prd_int bit set. 6 reserved 5 drive 0 dma capable? r/w. 0 = not capable 1 = capable. set by device de pendent code (bios or device driver) to indicate that drive 0 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. the pch does not use this bit. it is intended for systems that do not attach bmide to the pci bus. 4:3 reserved 2 interrupt? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set when a device fis is received with the ?i? bit set, provided that software has not disabled interrupts using the ien bit of th e device control regi ster (see chapter 5 of the serial ata specification , revision 1.0a). 1 error? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the controller encoun ters a target abort or master abort when transferring data on pci. 0 bus master ide active (act) ?ro. 0 = this bit is cleared by th e pch when the last transfer for a region is performed, where eot for that region is set in the region descriptor. it is also cleared by the pch when the start bus master bit (d31:f 5:bar+ 00h, bit 0) is cleared in the command register. when this bit is read as a 0, all data transferred from the drive during the previous bus master command is visible in system memory, unless the bus master command was aborted. 1 = set by the pch when the start bit is written to the command register. bit description 31:2 address of descri ptor table (addr) ?r/w. the bits in this field correspond to bits [31:2] of the memory location of the physic al region descriptor (prd). the descriptor table must be dword-aligned. the descriptor ta ble must not cross a 64-k boundary in memory. 1:0 reserved
sata controller registers (d31:f5) 658 datasheet 15.3 serial ata index/data pair superset registers all of these i/o registers are in the core we ll. they are exposed only when scc is 01h (that is, ide programming interface) and the controller is not in combined mode. these are index/data pair registers that are used to access the serialata superset registers (serialata status, serialata control and serialata error). the i/o space for these registers is allocated through sidpba. loca tions with offset from 08h to 0fh are reserved for future expansion. software-write operations to the reserved locations shall have no effect while software-read operations to the reserved locations shall return 0. 15.3.1 sindx?sata index register (d31:f5) address offset: sidpba + 00h attribute: r/w default value: 00000000h size: 32 bits note: these are index/data pair registers that are used to access the ssts, sctl, and serr. the i/o space for these registers is allocated through sidpba. 15.3.2 sdata?sata index data register (d31:f5) address offset: sidpba + 04h attribute: r/w default value: all bits undefined size: 32 bits note: these are index/data pair registers that are used to access the ssts, sctl, and serr. the i/o space for these registers is allocated through sidpba. bit description 31:16 reserved 15:8 port index (pidx) ?r/w. this index field is used to specify the port of the sata controller at which the po rt-specific ssts, sctl, and serr registers are located. 00h = primary master (port 4) 02h = secondary master (port 5) all other values are reserved. 7:0 register index (ridx) ?r/w. this index field is used to specify one out of three registers currently being indexed into. 00h = ssts 01h = sctl 02h = serr all other values are reserved bit description 31:0 data (data) ?r/w. this data register is a ?windo w? through which data is read or written to the memory mapped registers. a read or write to this data register triggers a corresponding read or write to the memory mapped register pointed to by the index register. the index regi ster must be setup prior to th e read or write to this data register. note that a physical register is not actually implemented as the data is actually stored in the memory mapped registers. since this is not a physical register, the ?default? value is the same as the default value of the register po inted to by index.
datasheet 659 sata controller registers (d31:f5) 15.3.2.1 pxssts?serial ata status register (d31:f5) address offset: attribute: ro default value: 00000000h size: 32 bits sdata when sindx.ridx is 00h. this is a 32-b it register that conveys the current state of the interface and host. th e pch updates it continuously and asynchronously. when the pch transmits a comreset to the device , this register is updated to its reset values. bit description 31:12 reserved 11:8 interface power management (ipm)? ro . indicates the current interface state: all other values reserved. 7:4 current interface speed (spd) ?ro. indicates the negotiated interface communication speed. all other values reserved. the pch supports gen 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection (det)? ro . indicates the interface devi ce detection and phy state: all other values reserved. value description 0h device not present or communication not established 1h interface in active state 2h interface in partial power management state 6h interface in slumber power management state value description 0h device not present or communication not established 1h generation 1 communication rate negotiated 2h generation 2 communication rate negotiated value description 0h no device de tected and phy communication not established 1h device presence detected but phy communication not established 3h device presence detected and phy communication established 4h phy in offline mode as a result of the interface being disabled or running in a bist loopback mode
sata controller registers (d31:f5) 660 datasheet 15.3.2.2 pxsctl?serial ata control register (d31:f5) address offset: attribute: r/w, ro default value: 00000004h size: 32 bits sdata when sindx.ridx is 01h. this is a 32-bit read-write register by which software controls sata capabilities. writes to the sc ontrol register result in an action being taken by the pch or the interface. reads from the register return the last value written to it. bit description 31:16 reserved 15:12 select power management (spm)?ro. this field is not used by ahci. 11:8 interface power management transitions allowed (ipm)? r/w . indicates which power states the pch is allowed to transition to: all other values reserved 7:4 speed allowed (spd) ?r/w. indicates the highest allo wable speed of the interface. this speed is limited by the ca p.iss (abar+00h:bit 23:20) field. all other values reserved. the pch supports gen 1 communication rates (1.5 gb/s) and gen 2 rates (3.0 gb/s). 3:0 device detection initialization (det)? r/w . controls the pch?s device detection and interface initialization. all other values reserved. value description 0h no interface restrictions 1h transitions to the partial state disabled 2h transitions to the slumber state disabled 3h transitions to both partial and slumber states disabled value description 0h no speed negotiation restrictions 1h limit speed negotiation to generation 1 communication rate 2h limit speed negotiation to generation 2 communication rate value description 0h no device detection or initialization action requested 1h perform interface communication initialization sequence to establish communication. this is fu nctionally equivalent to a hard reset and results in the interface being reset and communications re-initialized 4h disable the serial ata interface and put phy in offline mode
datasheet 661 sata controller registers (d31:f5) 15.3.2.3 pxserr?serial ata error register (d31:f5) address offset: attribute: r/wc default value: 00000000h size: 32 bits sdata when sindx.ridx is 02h. bits 26:16 of this register contain diagnostic error information for use by diagnostic software in validating correct operation or isolating failure modes. bits 11:0 contain error information used by host software in determining the appropriate response to the error conditio n. if one or more of bits 11:8 of this register are set, the controller will stop the current transfer. bit description 31:27 reserved 26 exchanged (x)? r/wc. when set to 1, this bit in dicates that a change in device presence has been detected since the last time this bit was cleared. this bit shall always be set to 1 anytime a cominit signal is rece ived. this bit is refl ected in the p0is.pcs bit. 25 unrecognized fis type (f)? r/wc. indicates that one or mo re fiss were received by the transport layer with good crc, but ha d a type field that was not recognized. 24 transport state transition error (t)? r/wc. indicates that an error has occurred in the transition from one state to another within the transpor t layer since the last time this bit was cleared. 23 link sequence error (s)? r/wc: indicates that one or more link state machine error conditions was encountered. the link layer state machine defines the conditions under which the link layer detect s an erroneous transition. 22 handshake (h)? r/wc. indicates that one or more r_err handshake response was received in response to frame transmission . such errors may be the result of a crc error detected by the recipient, a disparity or 8b/10b decoding error, or other error condition leading to a negative handshake on a transmitted frame. 21 crc error (c)? r/wc. indicates that one or more cr c errors occurred with the link layer. 20 disparity error (d)? r/wc. this field is not used by ahci. 19 10b to 8b decode error (b)? r/wc. indicates that one or more 10b to 8b decoding errors occurred. 18 comm wake (w)? r/wc. indicates that a comm wake signal was detected by the phy. 17 phy internal error (i)? r/wc. indicates that the phy de tected some internal error. 16 phyrdy change (n)? r/wc. when set to 1, this bit indicates that the internal phyrdy signal changed state since the la st time this bit was cleared. in the pch, this bit will be set when phyrdy changes from a 0 -> 1 or a 1 -> 0. the state of this bit is then reflected in the pxis.prcs inte rrupt status bit and an inte rrupt will be generated if enabled. software clears this bit by writing a 1 to it. 15:12 reserved 11 internal error (e)? r/wc. the sata controller failed due to a master or target abort when attempting to access system memory. 10 protocol error (p)? r/wc. a violation of the serial ata protocol was detected. note: the pch does not set this bit for all prot ocol violations that may occur on the sata link.
sata controller registers (d31:f5) 662 datasheet 9 persistent communication or data integrity error (c)? r/wc. a communication error that was not recovered occurred that is expected to be pe rsistent. persistent communications errors may arise from faulty interconne ct with the device, from a device that has been removed or has failed, or a number of other causes. 8 transient data integrity error (t)? r/wc. a data integrity error occurred that was not recovered by the interface. 7:2 reserved 1 recovered communications error (m)? r/wc. communications between the device and host was temporarily lost but was re-established. this can arise from a device temporarily being removed, from a temporary lo ss of phy synchronization, or from other causes and may be derived from the phynrdy signal between the phy and link layers. 0 recovered data integrity error (i)? r/wc. a data integrity error occurred that was recovered by the interface through a retr y operation or other recovery action. bit description
datasheet 663 ehci controller registers (d29:f0, d26:f0) 16 ehci controller registers (d29:f0, d26:f0) 16.1 usb ehci configuration registers (usb ehci?d29:f0, d26:f0) note: prior to bios initialization of the pch usb subsystem, the ehci controllers will appear as function 7. after bios initialization, the ehci controllers will be function 0. note: register address locations that are not shown in ta b l e 16-1 should be treated as reserved (see section 9.2 for details). table 16-1. usb ehci pci register address ma p (usb ehci?d29:f0, d26:f0) (sheet 1 of 2) offset mnemonic register name default value type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0290h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 20h ro 0ah scc sub class code 03h ro 0bh bcc base class code 0ch ro 0dh pmlt primary master latency timer 00h ro 0eh headtyp header type 80h ro 10h?13h mem_base memory base address 00000000h r/w, ro 2ch?2dh svid usb ehci subsystem vendor identification xxxxh r/w 2eh?2fh sid usb ehci subsystem identification xxxxh r/w 34h cap_ptr capabilities pointer 50h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 50h pwr_capid pci power management capability id 01h ro 51h nxt_ptr1 next item pointer 58h r/w 52h?53h pwr_cap power manageme nt capabilities c9c2h r/w 54h?55h pwr_cntl_sts power management control/ status 0000h r/w, r/wc, ro 58h debug_capid debug port capability id 0ah ro
ehci controller registers (d29:f0, d26:f0) 664 datasheet note: all configuration registers in this section are in the core well and reset by a core well reset and the d3-to-d0 warm reset, except as noted. 16.1.1 vid?vendor identi fication register (usb ehci?d29:f0, d26:f0) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 59h nxt_ptr2 next item pointer #2 98h ro 5ah?5bh debug_base debug port base offset 20a0h ro 60h usb_relnum usb release number 20h ro 61h fl_adj frame length adjustment 20h r/w 62h?63h pwake_cap port wa ke capabili ties 01ffh r/w 64h?67h ? reserved ? ? 68h?6bh leg_ext_cap usb ehci legacy support extended capability 00000001h r/w, ro 6ch?6fh leg_ext_cs usb ehci legacy extended support control/status 00000000h r/w, r/wc, ro 70h?73h special_smi intel specific usb 2.0 smi 00000000h r/w, r/wc 74h?7fh ? reserved ? ? 80h access_cntl access control 00h r/w 84h ehciir1 ehci initialization register 1 03081f01h r/w, rwl 88h?8bh ehciir2 ehci initialization register 2 04000010h r/w 98h flr_cid flr capability id 09h ro 99h flr_next flr next capability pointer 00h ro 9ah?9bh flr_clv flr capability length and version 2006h ro, r/wo 9ch flr_ctrl flr control 00h r/w 9dh flr_stat flr status 00h ro f4h?f7h ehciir3 ehci initialization register 3 00408588h r/w fch?ffh ehciir4 ehci initialization register 4 20591708h r/w table 16-1. usb ehci pci register address ma p (usb ehci?d29:f0, d26:f0) (sheet 2 of 2) offset mnemonic register name default value type bit description 15:0 vendor id ?ro. this is a 16-bit value assigned to intel.
datasheet 665 ehci controller registers (d29:f0, d26:f0) 16.1.2 did?device identification register (usb ehci?d29:f0, d26:f0) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits 16.1.3 pcicmd?pci co mmand register (usb ehci?d29:f0, d26:f0) address offset: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 device id ?ro. this is a 16-bit value assigned to the pch usb ehci controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable? r/w. 0 = the function is capable of genera ting interrupts. 1 = the function can not generate its interrupt to the interrupt controller. note that the corresponding interrupt status bit (d29:f0, d26:f0:06h, bit 3) is not affected by the interrupt enable. 9 fast back to back enable (fbe)?ro. hardwired to 0. 8 serr# enable (serr_en) ?r/w. 0 = disables ehc?s capability to generate an serr#. 1 = the enhanced host controller (ehc) is ca pable of generating (internally) serr# in the following cases: ? when it receive a completion status othe r than ?successful? for one of its dma initiated memory reads on dmi (and su bsequently on its internal interface). ? when it detects an address or comman d parity error and the parity error response bit is set. ? when it detects a data parity error (whe n the data is going into the ehc) and the parity error response bit is set. 7 wait cycle control (wcc)?ro. hardwired to 0. 6 parity error response (per)? r/w. 0 = the ehc is not checking for correct parity (on its internal interface). 1 = the ehc is checking for correct parity (o n its internal interface) and halt operation when bad parity is detect ed during the data phase. note: if the ehc detects bad parity on the addr ess or command phases when the bit is set to 1, the host controller does not take the cycle. it halts the host controller (if currently not halted) and sets the host system error bit in the usbsts register. this applies to both requ ests and completions from the system interface. this bit must be set for the parity errors to generate serr#. 5 vga palette snoop (vps)?ro. hardwired to 0. 4 postable memory write enable (pmwe)?ro. hardwired to 0. 3 special cycle enable (sce)?ro. hardwired to 0.
ehci controller registers (d29:f0, d26:f0) 666 datasheet 16.1.4 pcists?pci status register (usb ehci?d29:f0, d26:f0) address offset: 06h ? 07h attribute: r/wc, ro default value: 0290h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 2 bus master enable (bme) ?r/w. 0 = disables this functionality. 1 = enables the pch to act as a master on the pci bus for usb transfers. 1 memory space enable (mse)? r/w. this bit controls access to the usb 2.0 memory space registers. 0 = disables this functionality. 1 = enables accesses to the usb 2.0 registers. the base address register (d29:f0, d26:f0:10h) for usb 2.0 should be pr ogrammed before this bit is set. 0 i/o space enable (ios e)?ro. hardwired to 0. bit description bit description 15 detected parity error (dpe) ?r/wc. 0 = no parity error detected. 1 = this bit is set by the pch when a parity error is seen by the ehci controller, regardless of the setting of bit 6 or bit 8 in the command register or any other conditions. 14 signaled system error (sse)? r/wc. 0 = no serr# signaled by the pch. 1 = this bit is set by the pch when it signal s serr# (internally). the ser_en bit (bit 8 of the command regist er) must be 1 for this bit to be set. 13 received master abort (rma)? r/wc. 0 = no master abort received by ehc on a memory access. 1 = this bit is set when ehc, as a master, receives a master abort status on a memory access. this is treated as a host error and halts the dma engines. this event can optionally generate an serr# by setting the serr# enable bit . 12 received target abort (rta)? r/wc. 0 = no target abort received by ehc on memory access. 1 = this bit is set when ehc, as a master, re ceives a target abort status on a memory access. this is treated as a host error and halts the dma engines. this event can optionally generate an serr# by setting the serr# enable bit (d29:f0, d26:f0:04h, bit 8). 11 signaled target abort (sta)?ro. this bit is used to indicate when the ehci function responds to a cycle with a target abort. there is no reason for this to happen, so this bit is hardwired to 0. 10:9 devsel# timing status (devt_sts)?ro. th is 2-bit field defines the timing for devsel# assertion. 8 master data parity error detected (dped)? r/wc. 0 = no data parity error detected on usb2.0 read completion packet. 1 = this bit is set by the pch when a data pa rity error is detected on a usb 2.0 read completion packet on the internal interface to the ehci host controller and bit 6 of the command regist er is set to 1.
datasheet 667 ehci controller registers (d29:f0, d26:f0) 16.1.5 rid?revision identification register (usb ehci?d29:f0, d26:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 16.1.6 pi?programming interface register (usb ehci?d29:f0, d26:f0) address offset: 09h attribute: ro default value: 20h size: 8 bits 16.1.7 scc?sub class code register (usb ehci?d29:f0, d26:f0) address offset: 0ah attribute: ro default value: 03h size: 8 bits 7 fast back to back capable (fb2bc)?ro. hardwired to 1. 6 user definable features (udf)?ro. hardwired to 0. 5 66 mhz capable (66 mhz _cap)?ro. hardwired to 0. 4 capabilities list (cap_list)?r o. hardwired to 1 indicating that offset 34h contains a valid capabilities pointer. 3 interrupt status? ro. this bit reflects th e state of this function?s interrupt at the input of the enable/disable logic. 0 = this bit will be 0 when the interrupt is de-asserted. 1 = this bit is a 1 when th e interrupt is asserted. the value reported in this bit is independen t of the value in the interrupt enable bit. 2:0 reserved bit description bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 7:0 programming interface ?ro. a value of 20h indicates that this usb 2.0 host controller conforms to the ehci specification. bit description 7:0 sub class code (scc) ?ro. 03h = universal serial bus host controller.
ehci controller registers (d29:f0, d26:f0) 668 datasheet 16.1.8 bcc?base class code register (usb ehci?d29:f0, d26:f0) address offset: 0bh attribute: ro default value: 0ch size: 8 bits 16.1.9 pmlt?primary master latency timer register (usb ehci?d29:f0, d26:f0) address offset: 0dh attribute: ro default value: 00h size: 8 bits 16.1.10 headtyp?header type register (usb ehci?d29:f0, d26:f0) address offset: 0eh attribute: ro default value: 80h size: 8 bits bit description 7:0 base class code (bcc) ?ro. 0ch = serial bus controller. bit description 7:0 master latency timer count (mltc)? ro. hardwired to 00h. because the ehci controller is internally implemented with arbitration on an interface (and not pci), it does not need a master latency timer. bit description 7 multi-function device ?ro. when set to ?1? indicates this is a multifunction device: 0 = single-function device 1 = multi-function device. when rmh is enabled, this bit defaults to 1. when rmh is di sabled, this bit defaults to 0. 6:0 configuration layout. hardwired to 00h, whic h indicates the standard pci configuration layout.
datasheet 669 ehci controller registers (d29:f0, d26:f0) 16.1.11 mem_base?memory base address register (usb ehci?d29:f0, d26:f0) address offset: 10h ? 13h attribute: r/w, ro default value: 00000000h size: 32 bits 16.1.12 svid?usb ehci subsys tem vendor id register (usb ehci?d29:f0, d26:f0) address offset: 2ch ? 2dh attribute: r/w default value: xxxxh size: 16 bits reset: none 16.1.13 sid?usb ehci su bsystem id register (usb ehci?d29:f0, d26:f0) address offset: 2eh ? 2fh attribute: r/w default value: xxxxh size: 16 bits reset: none bit description 31:10 base address ?r/w. bits [31:10] correspond to memory address signals [31:10], respectively. this gives 1-kb of locatable memory space aligned to 1-kb boundaries. 9:4 reserved 3 prefetchable ?ro. hardwired to 0 indicating that this range should not be prefetched. 2:1 type ?ro. hardwired to 00b indicating that th is range can be mapped anywhere within 32-bit address space. 0 resource type indicator (rte) ?ro. hardwired to 0 indicating that the base address field in this regist er maps to memory space. bit description 15:0 subsystem vendor id (svid) ?r/w. this register, in co mbination with the usb 2.0 subsystem id register, enables the operating system to distinguish each subsystem from the others. note: writes to this register are enabled when the wrt_rdonly bit (d29:f0, d26:f0:80h, bit 0) is set to 1. bit description 15:0 subsystem id (sid) ?r/w. bios sets the value in this register to identify the subsystem id. this re gister, in combination with the subsystem vendor id register, enables the operating system to distinguish each subsystem from other(s). note: writes to this register are enabled when the wrt_rdonly bit (d29:f0, d26:f0:80h, bit 0) is set to 1.
ehci controller registers (d29:f0, d26:f0) 670 datasheet 16.1.14 cap_ptr?capabiliti es pointer register (usb ehci?d29:f0, d26:f0) address offset: 34h attribute: ro default value: 50h size: 8 bits 16.1.15 int_ln?interrupt line register (usb ehci?d29:f0, d26:f0) address offset: 3ch attribute: r/w default value: 00h size: 8 bits function level reset: no 16.1.16 int_pn?interrupt pin register (usb ehci?d29:f0, d26:f0) address offset: 3dh attribute: ro default value: see description size: 8 bits 16.1.17 pwr_capid?pci power management capability id register (usb ehci?d29:f0, d26:f0) address offset: 50h attribute: ro default value: 01h size: 8 bits bit description 7:0 capabilities pointer (cap_ptr) ?ro. this register points to the starting offset of the usb 2.0 capabilities ranges. bit description 7:0 interrupt line (int_ln)? r/w. this data is not used by the pch. it is used as a scratchpad register to communicate to software the interrupt line that the interrupt pin is connected to. bit description 7:0 interrupt pin? ro. this reflects the value of d29ip.e1ip (chipset config registers:offset 3108:bits 3:0) or d26ip. e2ip (chipset config registers:offset 3114:bits 3:0). note: bits 7:4 are always 0h. bit description 7:0 power management capability id ?ro. a value of 01h indicates that this is a pci power management ca pabilities field.
datasheet 671 ehci controller registers (d29:f0, d26:f0) 16.1.18 nxt_ptr1?next item pointer #1 register (usb ehci?d29:f0, d26:f0) address offset: 51h attribute: r/w default value: 58h size: 8 bits 16.1.19 pwr_cap?power manageme nt capabilities register (usb ehci?d29:f0, d26:f0) address offset: 52h ? 53h attribute: r/w, ro default value: c9c2h size: 16 bits notes: 1. normally, this register is read-only to re port capabilities to the power management software. to report different power management capabilities, dependin g on the system in which the pch is used, bits 15:11 and 8:6 in this register are writable when the wrt_rdonly bit (d29:f0, d26:f0:80h, bit 0) is set. the value written to this register does not affect the hardware other than changi ng the value returned during a read. 2. reset: core well, but not d3-to-d0 warm reset. bit description 7:0 next item pointer 1 value ?r/w (special). this regist er defaults to 58h, which indicates that the next capabi lity registers begin at configuration offset 58h. this register is writable when the wrt_rdonly bit (d29:f0, d26:f0:80h, bit 0) is set. this allows bios to effectively hide the debug port capability re gisters, if necessary. this register should only be written during sy stem initialization before the plug-and-play software has enabled any master -initiated traffic. only valu es of 58h (debug port and flr capabilities vi sible) and 98h (debug port invisibl e, next capability is flr) are expected to be programmed in this register. note: register not reset by d3-to-d0 warm reset. bit description 15:11 pme support (pme_sup) ?r/w. this 5-bit field indicates the power states in which the function may assert pme#. the pch ehc do es not support the d1 or d2 states. for all other states, the pch ehc is capable of generating pme#. software should never need to modify this field. 10 d2 support (d2_sup) ? ro. 0 = d2 state is not supported 9 d1 support (d1_sup)?ro. 0 = d1 state is not supported 8:6 auxiliary current (aux_cur) ?r/w . the pch ehc reports 375 ma maximum suspend well current re quired when in the d3 cold state. 5 device specific initialization (dsi )?ro. the pch reports 0, indicating that no device-specific initialization is required. 4 reserved 3 pme clock (pme_clk)? ro. the pch reports 0, indicating that no pci clock is required to generate pme#. 2:0 version (ver) ?ro. the pch reports 010b, indicating th at it complies with revision 1.1 of the pci power management specification.
ehci controller registers (d29:f0, d26:f0) 672 datasheet 16.1.20 pwr_cntl_sts?power management control/ status register (usb ehci?d29:f0, d26:f0) address offset: 54h ? 55h attribute: r/w, r/wc, ro default value: 0000h size: 16 bits function level reset: no (bits 8 and 15 only) note: reset (bits 15, 8): suspend well, and not d3 -to-d0 warm reset no r core well reset. bit description 15 pme status? r/wc. 0 = writing a 1 to this bit will clear it and cause the internal pme to de-assert (if enabled). 1 = this bit is set when the pch ehc wo uld normally assert the pme# signal independent of the state of the pme_en bit. note: this bit must be explicitly cleared by the operating system each time the operating system is loaded. this bit is not reset by function level reset. 14:13 data scale?ro. hardwired to 00b indicating it does not support the associated data register. 12:9 data select?ro. hardwired to 0000b indicating it does not support the associated data register. 8 pme enable? r/w. 0 = disable. 1 = enables the pch ehc to generate an inte rnal pme signal when pme_status is 1. note: this bit must be explicitly cleared by the operating system each time it is initially loaded. this bit is not reset by function level reset. 7:2 reserved 1:0 power state? r/w. this 2-bit field is used both to determine the cu rrent power state of ehc function and to set a new power state. the definition of the field values are: 00 = d0 state 11 = d3 hot state if software attempts to write a value of 10b or 01b in to this field, the write operation completes normally; however, the data is discarded and no st ate change occurs. when in the d3 hot state, the pch does not accept accesses to the ehc memory range; but the configuration space is still be accessible. when not in the d0 state, the generation of the interrupt output is bloc ked. specifically, the ehc interrupt is not asserted by the pch when not in the d0 state. when software changes this value from the d3 hot state to the d0 state, an internal warm (soft) controlled reset is generated, and software must re-i nitialize the function.
datasheet 673 ehci controller registers (d29:f0, d26:f0) 16.1.21 debug_capid?debug port capability id register (usb ehci?d29:f0, d26:f0) address offset: 58h attribute: ro default value: 0ah size: 8 bits 16.1.22 nxt_ptr2?next item pointer #2 register (usb ehci?d29:f0, d26:f0) address offset: 59h attribute: ro default value: 98h size: 8 bits function level reset: no 16.1.23 debug_base?debug port base offset register (usb ehci?d29:f0, d26:f0) address offset: 5ah ? 5bh attribute: ro default value: 20a0h size: 16 bits 16.1.24 usb_relnum?usb re lease number register (usb ehci?d29:f0, d26:f0) address offset: 60h attribute: ro default value: 20h size: 8 bits bit description 7:0 debug port capability id ?ro. hardwired to 0ah indicating that this is the start of a debug port capability structure. bit description 7:0 next item pointer 2 capability? ro. this register points to the next capability in the function level reset capability structure. bit description 15:13 bar number? ro. hardwired to 001b to indicate the memory bar begins at offset 10h in the ehci configuration space. 12:0 debug port offset? ro. hardwired to 0a0h to indicate that the debug port registers begin at offset a0h in the ehci memory range. bit description 7:0 usb release number ?ro. a value of 20h indicates that this controller follows universal serial bus (usb) sp ecification, revision 2.0 .
ehci controller registers (d29:f0, d26:f0) 674 datasheet 16.1.25 fl_adj?frame length adjustment register (usb ehci?d29:f0, d26:f0) address offset: 61h attribute: r/w default value: 20h size: 8 bits function level reset: no this feature is used to adjust any offset from the clock source that generates the clock that drives the sof counter. when a new value is written into these six bits, the length of the frame is adjusted. its initial programmed value is system dependent based on the accuracy of hardware usb clock and is initialized by system bios. this register should only be modified when the hcha lted bit (d29:f0, d26:f0:caplength + 24h, bit 12) in the usb2.0_sts register is a 1. changing value of this register while the host controller is operating yields undefined resu lts. it should not be reprogrammed by usb system software unless the default or bios programmed values are incorrect, or the system is restoring the register while returning from a suspended state. these bits in suspend well and not reset by a d3-to-d0 warm rest or a core well reset. bit description 7:6 reserved?ro. these bits are reserved for future use and should read as 00b. 5:0 frame length timing value? r/w. each decimal value ch ange to this register corresponds to 16 high-speed bit times. th e sof cycle time (number of sof counter clock periods to generate a sof micro-frame length) is equal to 59488 + value in this field. the default value is decimal 32 (20h), which gives a sof cycle time of 60000. frame length (# 480 mhz clocks) (decimal) frame length timing value (this register) (decimal) 59488 0 59504 1 59520 2 ?? 59984 31 60000 32 ?? 60480 62
datasheet 675 ehci controller registers (d29:f0, d26:f0) 16.1.26 pwake_cap?port wake capability register (usb ehci?d29:f0, d26:f0) address offset: 62 ? 63h attribute: r/w default value: 01ffh size: 16 bits default value: 07ffh function level reset: no this register is in the suspend power well. the intended use of this register is to establish a policy about which ports are to be used for wake events. bit positions 1?8(d29) or 1?6(d26) in the mask correspond to a physical port implemented on the current ehci controller. a 1 in a bit position indicates that a device connected below the port can be enabled as a wake-up device and the port may be enabled for disconnect/ connect or overcurrent events as wake-up events. this is an information-only mask register. the bits in this register do not affect the actual operation of the ehci host controller. the system-specific policy can be established by bios initializing this register to a system-specific value. system software uses the information in this register when enabling devices and ports for remote wake-up. these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 15:9 (d29) 15:7 (d26) reserved 8:1 (d29) 6:1 (d26) port wake up capability mask? r/w. bit positions 1 through 8 (device 29) or 1 through 6(device 26) correspond to a phys ical port implemented on this host controller. for example, bi t position 1 corresponds to port 1, bit position 2 corresponds to port 2, etc. 0 port wake implemented? r/w. a 1 in this bit indicates that this register is implemented to software.
ehci controller registers (d29:f0, d26:f0) 676 datasheet 16.1.27 leg_ext_cap?usb ehci legacy support extended capability register (usb ehci?d29:f0, d26:f0) address offset: 68 ? 6bh attribute: r/w, ro default value: 00000001h size: 32 bits power well: suspend function level reset: no note: these bits are not reset by a d3-to- d0 warm rest or a core well reset. bit description 31:25 reserved?ro. hardwired to 00h 24 hc os owned semaphore ?r/w. system software sets this bit to request ownership of the ehci controller. ownership is obtained when this bit reads as 1 and the hc bios owned semaphore bit reads as clear. 23:17 reserved?ro. hardwired to 00h 16 hc bios owned semaphore? r/w. the bios sets this bit to establish ownership of the ehci controller. system bios will clea r this bit in response to a request for ownership of the ehci contro ller by system software. 15:8 next ehci capability pointer ?ro. hardwired to 00h to in dicate that there are no ehci extended capability st ructures in this device. 7:0 capability id ?ro. hardwired to 01h to indicate that this ehci extended capability is the legacy support capability.
datasheet 677 ehci controller registers (d29:f0, d26:f0) 16.1.28 leg_ext_cs?usb ehci legacy support extended control / status register (usb ehci?d29:f0, d26:f0) address offset: 6c ? 6fh attribute: r/w, r/wc, ro default value: 00000000h size: 32 bits power well: suspend function level reset: no note: these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 31 smi on bar? r/wc. software clears this bit by writing a 1 to it. 0 = base address register (bar) not written. 1 = this bit is set to 1 when the base address register (bar) is written. 30 smi on pci command ?r/wc. software clears this bit by writing a 1 to it. 0 = pci command (pcicmd) register not written. 1 = this bit is set to 1 when the pci command (pcicmd) re gister is written. 29 smi on os ownership change ?r/wc. software clears this bit by writing a 1 to it. 0 = no hc os owned semaphore bit change. 1 = this bit is set to 1 when the hc os owned semaphore bit in the leg_ext_cap register (d29:f0, d26:f0:68h, bit 24) transitions from 1 to 0 or 0 to 1. 28:22 reserved 21 smi on async advance ?ro. this bit is a shadow bi t of the interrupt on async advance bit (d29:f0, d26:f0:caplength + 24h, bit 5) in the usb2.0_sts register. note: to clear this bit system software must write a 1 to the interrupt on async advance bit in the usb2.0_sts register. 20 smi on host system error ?ro. this bit is a shadow bit of host system error bit in the usb2.0_sts register (d29:f0, d26:f0:caplength + 24h, bit 4). note: to clear this bit system so ftware must write a 1 to th e host system error bit in the usb2.0_sts register. 19 smi on frame list rollover ?ro. this bit is a shadow bit of frame list rollover bit (d29:f0, d26:f0:caplength + 24h, bit 3) in the usb2.0_sts register. note: to clear this bit system software must write a 1 to the frame list rollover bit in the usb2.0_sts register. 18 smi on port change detect ?ro. this bit is a shadow bi t of port change detect bit (d29:f0, d26:f0:caplength + 24h, bit 2) in the usb2.0_sts register. note: to clear this bit system software must wr ite a 1 to the port change detect bit in the usb2.0_sts register. 17 smi on usb error ?ro. this bit is a shadow bit of usb error interrupt (usberrint) bit (d29:f0, d26:f0:caplength + 24h, bit 1) in the usb2.0_sts register. note: to clear this bit system software must wr ite a 1 to the usb error interrupt bit in the usb2.0_sts register. 16 smi on usb complete? ro. this bit is a shadow bit of usb interrupt (usbint) bit (d29:f0, d26:f0:caplength + 24h, bit 0) in the usb2.0_sts register. note: to clear this bit system so ftware must write a 1 to th e usb interrupt bit in the usb2.0_sts register.
ehci controller registers (d29:f0, d26:f0) 678 datasheet 15 smi on bar enable? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on ba r (d29:f0, d26:f0:6ch, bit 31) is 1, then the host controller will issue an smi. 14 smi on pci command enable ?r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on pci command (d29:f0, d26:f0:6ch, bit 30) is 1, then the host controller will issue an smi. 13 smi on os ownership enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1 and the os ownership ch ange bit (d29:f0, d26:f0:6ch, bit 29) is 1, the host controller will issue an smi. 12:6 reserved 5 smi on async advance enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on as ync advance bit (d29:f0, d26:f0:6ch, bit 21) is a 1, the host co ntroller will issue an smi immediately. 4 smi on host system error enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on ho st system error (d29:f0, d26:f0:6ch, bit 20) is a 1, the ho st controller will issue an smi. 3 smi on frame list rollover enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e smi on frame list rollover bit (d29:f0, d26:f0:6ch, bit 19) is a 1, the ho st controller will issue an smi. 2 smi on port change enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e smi on port change detect bit (d29:f0, d26:f0:6ch, bit 18) is a 1, the ho st controller will issue an smi. 1 smi on usb error enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on usb error bit (d29:f0, d26:f0:6ch, bit 17) is a 1, the host controll er will issue an smi immediately. 0 smi on usb complete enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1, an d the smi on usb complete bit (d29:f0, d26:f0:6ch, bit 16) is a 1, the host co ntroller will issue an smi immediately. bit description
datasheet 679 ehci controller registers (d29:f0, d26:f0) 16.1.29 special_smi?intel spec ific usb 2.0 smi register (usb ehci?d29:f0, d26:f0) address offset: 70h ? 73h attribute: r/w, r/wc default value: 00000000h size: 32 bits power well: suspend function level reset: no note: these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 31:30 (d29) 31:28 (d26) reserved 29:22 (d29) 27:22 (d26) smi on portowner? r/wc. software clears these bits by writing a 1 to it. 0 = no port owner bit change. 1 = bits 29:22, 27:22 correspond to the port owner bits for ports 0 (22) through 5 (27) or 7 (29). these bits are set to 1 when the associated port owner bits transition from 0 to 1 or 1 to 0. 21 smi on pmcsr ?r/wc. software clears these bits by writing a 1 to it. 0 = power state bits not modified. 1 = software modified the power state bi ts in the power ma nagement control/ status (pmcsr) register (d29:f0, d26:f0:54h). 20 smi on async ?r/wc. software clears these bits by writing a 1 to it. 0 = no async schedule enable bit change 1 = async schedule enable bit transitioned from 1 to 0 or 0 to 1. 19 smi on periodic ?r/wc. software clears this bit by writing a 1 it. 0 = no periodic schedule enable bit change. 1 = periodic schedule enable bit tr ansitions from 1 to 0 or 0 to 1. 18 smi on cf ?r/wc. software clears th is bit by writing a 1 it. 0 = no configure flag (cf) change. 1 = configure flag (cf) transitions from 1 to 0 or 0 to 1. 17 smi on hchalted? r/wc. software clears this bit by writing a 1 it. 0 = hchalted did not transition to 1 (a s a result of the run/stop bit being cleared). 1 = hchalted transitions to 1 (as a result of the run/stop bit being cleared). 16 smi on hcreset? r/wc. software clears this bit by writing a 1 it. 0 = hcreset did not transitioned to 1. 1 = hcreset transitioned to 1. 15:14 reserved 13:6 smi on portowner enable ?r/w. 0 = disable. 1 = enable. when any of these bits are 1 and the corresponding smi on portowner bits are 1, then the host controller will issue an smi. unused ports should have their co rresponding bits cleared. 5 smi on pmscr enable ?r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on pmscr is 1, then the host controller will issue an smi.
ehci controller registers (d29:f0, d26:f0) 680 datasheet 16.1.30 access_cntl?access control register (usb ehci?d29:f0, d26:f0) address offset: 80h attribute: r/w default value: 00h size: 8 bits function level reset: no 4 smi on async enable ?r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on async is 1, then the host controller will issue an smi 3 smi on periodic enable ?r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on periodic is 1, then the host controller will issue an smi. 2 smi on cf enable ?r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on cf is 1, then the host controller will issue an smi. 1 smi on hchalted enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1 and smi on hchalted is 1, then the host controller will issue an smi. 0 smi on hcreset enable ?r/w. 0 = disable. 1 = enable. when this bit is a 1 and smi on hcreset is 1, then host controller will issue an smi. bit description bit description 7:1 reserved 0 wrt_rdonly? r/w. when set to 1, this bit en ables a select group of normally read-only registers in the ehc function to be written by software. registers that may only be written when this mode is entered are noted in the summary tables and detailed description as ?read/write-special?. the registers fall into two categories: 1. system-configu red parameters 2. status bits
datasheet 681 ehci controller registers (d29:f0, d26:f0) 16.1.31 ehciir1?ehci init ialization register 1 (usb ehci?d29:f0, d26:f0) address offset: 84h?87h attribute: r/w default value: 83088e01h size: 32 bits 16.1.32 ehciir2?ehci initia lization register 2 (usb ehci?d29:f0, d26:f0) offset address: 88h?8bh attribute: r/w default value: 04000010h size: 32-bit bit description 31:29 reserved 28 ehci prefetch entry clear? r/w. 0 = ehc will clear prefetched entries in dma. 1 = ehc will not clear prefetched entries in dma 27:19 reserved 18 ehci initialization register 1 field 2 ?r/w. bios must set this bit to 1. 17:11 reserved 10:8 ehci initialization register 1 field 1 ?r/w. bios must set this field to 11. 7:5 reserved 4 pre-fetch based pause enable? r/w. 0 = pre-fetch based pause is disabled. 1 = pre-fetch based pause is enabled. 3:0 reserved bit description 31:30 reserved 29 ehci initialization register 2 field 6 ?r/w. bios must set this bit to 0. 28:20 reserved 19 ehci initialization register 2 field 5 ?r/w. bios must set this bit to 1. 18:12 reserved 11 ehci initialization register 2 field 4 ?r/w. bios must set this bit to 1. 10 ehci initialization register 2 field 3 ?r/w. bios must set this bit to 1. 9 reserved 8 ehci initialization register 2 field 2 ?r/w. bios must set this bit to 1. 7:6 reserved 5 ehci initialization register 2 field 1? r/w. bios must set this bit to 1. 4:0 reserved
ehci controller registers (d29:f0, d26:f0) 682 datasheet 16.1.33 flr_cid?function le vel reset capability id register (usb eh ci?d29:f0, d26:f0) address offset: 98h attribute: ro default value: 09h size: 8 bits function level reset: no 16.1.34 flr_next?function level reset next capability pointer register (usb eh ci?d29:f0, d26:f0) address offset: 99h attribute: ro default value: 00h size: 8 bits function level reset: no bit description 7:0 capability id ?r0. 13h = if flrcssel = 0 09h (vendor specific capability) = if flrcssel = 1 bit description 7:0 a value of 00h in this register indi cates this is the last capability field.
datasheet 683 ehci controller registers (d29:f0, d26:f0) 16.1.35 flr_clv?function level reset capability length and version register (usb ehci?d29:f0, d26:f0) address offset: 9ah?9bh attribute: r/wo, ro default value: 2006h size: 16 bits function level reset: no when flrcssel = 0, this register is defined as follows: when flrcssel = 1, this register is defined as follows: 16.1.36 flr_ctrl?function level reset control register (usb ehci?d29:f0, d26:f0) address offset: 9ch attribute: r/w default value: 00h size: 8 bits function level reset: no bit description 15:10 reserved 9 flr capability ?r/wo. 1 = support for function level reset (flr). 8 txp capability ?r/wo. 1 = support for transactions pending (txp) bit. txp must be supported if flr is supported. 7:0 capability length? ro. this field indicates the # of bytes of this vendor specific capability as required by the pci specific ation. it has the value of 06h for the flr capability. bit description 15:12 vendor specific capability id? ro. a value of 2h in this fiel d identifies this capability as function level reset. 11:8 capability version? ro. this field indicates the ve rsion of the flr capability. 7:0 capability length? ro. this field indicates the # of bytes of this vendor specific capability as required by the pci specific ation. it has the value of 06h for the flr capability. bit description 7:1 reserved 0 initiate flr ?r/w. this bit is used to initiate flr transition. a write of 1 initiates flr transition. since hardware must not respon d to any cycles until flr completion, the value read by software from this bit is always 0.
ehci controller registers (d29:f0, d26:f0) 684 datasheet 16.1.37 flr_sts?function le vel reset status register (usb ehci?d29:f0, d26:f0) address offset: 9dh attribute: ro default value: 00h size: 8 bits function level reset: no 16.1.38 ehciir3?ehci initiali zation register 3 (usb ehci?d29:f0, d26:f0) offset address: f4h?f7h attribute: r/w default value: 00408588h size: 32-bit 16.1.39 ehciir4?ehci initiali zation register 4 (usb ehci?d29:f0, d26:f0) offset address: fch?ffh attribute: r/w default value: 20591708h size: 32-bit bit description 7:1 reserved 0 transactions pending (txp) ?ro. 0 = completions for all non-posted requests have been received. 1 = controller has issued non-posted requests which have no bee completed. bit description 31 ehciir3 write enable ?r/w. 0 = writes to the ehciir3 register are disabled 1 = if set, the values of the ehciir3 register may be modified 30:24 reserved 23:22 ehci initialization register 3 field 1 ?r/w. bios must program this field to 10b. 21:0 reserved bit description 31:18 reserved 17 ehci initialization register 4 field 2 ?r/w. bios must set this bit to 1. 16 reserved 15 ehci initialization register 4 field 1 ?r/w. bios must set this bit to 1. 14:0 reserved
datasheet 685 ehci controller registers (d29:f0, d26:f0) 16.2 memory-mapped i/o registers the ehci memory-mapped i/o space is composed of two sets of registers: capability registers and operational registers. note: the pch ehci controller will not accept memory transactions (neither reads nor writes) as a target that are locked transactions. the locked transactions should not be forwarded to pci as the address space is known to be allocated to usb. note: when the ehci function is in the d3 pci power state, accesses to the usb 2.0 memory range are ignored and result a master abort. similarly, if the memory space enable (mse) bit (d29:f0, d26:f0:04h, bit 1) is not set in the command register in configuration space, the memory range will not be decoded by the pch enhanced host controller (ehc). if the mse bit is not se t, the pch must default to allowing any memory accesses for the range specified in the bar to go to pci. this is because the range may not be valid and, therefore, the cycle must be made available to any other targets that may be currently using that range. 16.2.1 host controller capability registers these registers specify the limits, restrictio ns and capabilities of the host controller implementation. within the host controller capability registers, only the structural parameters register is writable. these re gisters are implemented in the suspend well and is only reset by the standard suspend- well hardware reset, not by hcreset or the d3-to-d0 reset. note: note that the ehci controller does not support as a target memory transactions that are locked transactions. attempting to a ccess the ehci controller memory-mapped i/o space using locked memory transactions will result in undefined behavior. note: note that when the usb2 function is in th e d3 pci power state, accesses to the usb2 memory range are ignored and will result in a master abort. similarly, if the memory space enable (mse) bit is not set in the co mmand register in configuration space, the memory range will not be decoded by the e nhanced host controller (ehc). if the mse bit is not set, the ehc will not claim any memory accesses for the range specified in the bar. note: ?read/write special? means that the register is normally read-only, but may be written when the wrt_rdonly bit is set. because these registers are expected to be programmed by bios during initialization, their contents must not get modified by hcreset or d3-to- d0 internal reset. table 16-2. enhanced host co ntroller capability registers mem_base + offset mnemonic register default type 00h caplength capabilities registers length 20h ro 02h?03h hciversion host controller interface version number 0100h ro 04h?07h hcsparams host controller structural parameters 00204208h (d29:f0) 00203206 (d26:f0) r/w (special), ro 08h?0bh hccparams host controller capability parameters 00006881h ro
ehci controller registers (d29:f0, d26:f0) 686 datasheet 16.2.1.1 caplength? capability registers length register offset: mem_base + 00h attribute: ro default value: 20h size: 8 bits 16.2.1.2 hciversion?host contro ller interface version number register offset: mem_base + 02h ? 03h attribute: ro default value: 0100h size: 16 bits 16.2.1.3 hcsparams?host controller structural parameters register offset: mem_base + 04h ? 07h attribute: r/w, ro default value: 00204208h (d29:f0) size: 32 bits 00203206h (d26:f0) function level reset: no note: this register is reset by a suspend well reset and not a d3-to-d0 reset or hcreset. note: this register is writable wh en the wrt_rdonly bit is set. bit description 7:0 capability register length value ?ro. this register is used as an offset to add to the memory base register (d29:f0, d26:f0:10h) to find the beginning of the operational register space. this field is ha rdwired to 20h indicating that the operation registers begin at offset 20h. bit description 15:0 host controller interface version number? ro. this is a two-byte register containing a bcd encoding of the version number of interface that this ho st controller interface conforms. bit description 31:24 reserved 23:20 debug port number (dp_n)? ro. hardwired to 2h indicating that the debug port is on the second lowest num bered port on the ehci. ehci#1: port 1 ehci#2: port 9 19:16 reserved 15:12 number of companion controllers (n_cc)? r/w. this field indicates the number of companion controllers associated with this usb ehci host controller. bios must program this field to 0b to in dicate companion host controllers are not supported. port-ownership hand-off is no t supported. only high-speed devices are supported on the host controller root ports. 11:8 number of ports per companion controller (n_pcc) ?ro. this field indicates the number of ports supported per companion host controller. this field is 0h indication no other companion controller support. 7:4 reserved. these bits are reserved and default to 0. 3:0 n_ports? r/w. this field specifies the number of physical downstream ports implemented on this host controller. the valu e of this field determ ines how many port registers are addressable in the operational register space. valid values are in the range of 1h to fh. a 0 in this field is undefined. for integrated usb 2.0 rate matching hub enabled: each ehci reports 2 ports by default. port 0 assigned to the rmh and po rt 1 assigned as the debug port. when the kvm/usb-r feature is enabled it will show up as port2 on the ehci, and bios would need to update this field to 3h.
datasheet 687 ehci controller registers (d29:f0, d26:f0) 16.2.1.4 hccparams?host cont roller capability parameters register offset: mem_base + 08h ? 0bh attribute: ro default value: 00006881h size: 32 bits bit description 31:18 reserved 17 asynchronous schedule update capability (asuc) ?r/w. there is no functionality associated with this bit. 16 periodic schedule update capability (psuc)? ro. this field is hardwired to 0b to indicate that the ehc hardware supports the pe riodic schedule update event flag in the usb2.0_cmd register. 15:8 ehci extended capabilities pointer (eecp)? ro. this field is hardwired to 68h, indicating that the ehci capa bilities list exists and begins at offset 68h in the pci configuration space. 7:4 isochronous scheduling threshold ?ro. this field indicates, re lative to the current position of the executing ho st controller, where software can reliably update the isochronous schedule. when bit 7 is 0, the value of the least significant 3 bits indicates the number of micro-frames a host controller hold a set of isochronous data structures (one or more) before flushing the state. when bit 7 is a 1, then host software assumes the host controller may cache an isochronou s data structure for an entire frame. see the ehci specification for deta ils on how software uses this information for scheduling isochronous transfers. this field is hardwired to 8h. 3 reserved 2 asynchronous schedule park capability ?ro. this bit is hardwired to 0 indicating that the host controller does no t support this optional feature 1 programmable frame list flag ?ro. 0 = system software must use a frame list length of 1024 elements with this host controller. the usb2.0_cmd register (d29:f0, d26:f0:caplength + 20h, bits 3:2) frame list size field is a read-only regist er and must be set to 0. 1 = system software can specify and use a sm aller frame list and configure the host controller using the usb2.0_cmd register frame list size field. the frame list must always be aligned on a 4k page boundary . this requirement ensures that the frame list is always physically contiguous. 0 64-bit addressing capability ?ro. this field document s the addressing range capability of this implementation. the value of this field determines whether software should use the 32-bit or 64-bit data structures. this bit is hardwired to 1. note: the pch supports 64 bit addressing only.
ehci controller registers (d29:f0, d26:f0) 688 datasheet 16.2.2 host controller operational registers this section defines the enhanced host controller operational registers. these registers are located after the capabilities registers. the operational register base must be dword-aligned and is calculated by adding the value in the first capabilities register (caplength) to the base addr ess of the enhanced host controller register address space (mem_base). since caplength is always 20h, table 16-3 already accounts for this offset. all registers are 32 bits in length. note: software must read and write these registers using only dword accesses.these registers are divided into two sets. the fi rst set at offsets mem_base + 00:3bh are implemented in the core power well. unless otherwise noted, the core well registers are reset by the assertion of any of the following: ? core well hardware reset ? hcreset ?d3-to-d0 reset table 16-3. enhanced host controller operational register address map mem_base + offset mnemonic register name default special notes type 20h?23h usb2.0_cmd usb 2.0 command 00080000h r/w, ro 24h?27h usb2.0_sts usb 2.0 status 00001000h r/wc, ro 28h?2bh usb2.0_intr usb 2.0 interrupt enable 00000000h r/w 2ch?2fh frindex usb 2.0 frame index 00000000h r/w, 30h?33h ctrldssegment control data structure segment 00000000h r/w, ro 34h?37h perodiclistbase period frame list base address 00000000h r/w 38h?3bh asynclistaddr current asynchronous list address 00000000h r/w 3ch?5fh ? reserved 0h ro 60h?63h configflag configure flag 00000000h suspend r/w 64h?67h port0sc port 0 status and control 00003000h suspend r/w, r/wc, ro 68h?6bh port1sc port 1 status and control 00003000h suspend r/w, r/wc, ro 6ch?6fh port2sc port 2 status and control 00003000h suspend r/w, r/wc, ro 70h?73h port3sc port 3 status and control 00003000h suspend r/w, r/wc, ro 74h?77h port4sc port 4 status and control 00003000h suspend r/w, r/wc, ro 78h?7bh port5sc port 5 status and control 00003000h suspend r/w, r/wc, ro 74h?77h (d29 only) port6sc port 6 status and control 00003000h suspend r/w, r/wc, ro 78h?7bh (d29 only) port7sc port 7 status and control 00003000h suspend r/w, r/wc, ro 7ch?9fh ? reserved undefined ro a0h?b3h ? debug port registers undefined see register description b4h?3ffh ? reserved undefined ro
datasheet 689 ehci controller registers (d29:f0, d26:f0) the second set at offsets mem_base + 60h to the end of the implemented register space are implemented in the suspend po wer well. unless otherwise noted, the suspend well registers are reset by the assertion of either of the following: ? suspend well hardware reset ? hcreset 16.2.2.1 usb2.0_cmd?usb 2.0 command register offset: mem_base + 20?23h attribute: r/w, ro default value: 00080000h size: 32 bits bit description 31:24 reserved 23:16 interrupt threshold control ?r/w. system software uses this field to select the maximum rate at which the host controller wi ll issue interrupts. the only valid values are defined below. if software writes an invalid value to this register, the results are undefined. 15:14 reserved 13 asynch schedule update (asc)? r/w. there is no functionality associated with this bit. 12 periodic schedule prefetch enable ?r/w. this bit is used by software to enable the host controller to prefetch the periodic schedule even in c0. 0 = prefetch based pause enabled only when not in c0. 1 = prefetch based pause enable in c0. once software has written a 1b to this bit to enable period ic schedule prefetching, it must disable prefecthing by writing a 0b to this bit whenever peri odic schedule updates are about to begin. software should continue to dynamica lly disable and re-enable the prefetcher surrounding any updates to the pe riodic scheduler (that is, until the host controller has been re set using a hcreset). 11:8 unimplemented asynchronous park mode bits?ro. hardwired to 000b indicating the host controller does not su pport this optional feature. 7 light host controller reset?ro. hardwired to 0. the pch does not implement this optional reset. value maximum interrupt interval 00h reserved 01h 1 micro-frame 02h 2 micro-frames 04h 4 micro-frames 08h 8 micro-frames (default, equates to 1 ms) 10h 16 micro-frames (2 ms) 20h 32 micro-frames (4 ms) 40h 64 micro-frames (8 ms)
ehci controller registers (d29:f0, d26:f0) 690 datasheet 6 interrupt on async advance doorbell ?r/w. this bit is used as a doorbell by software to tell the host controller to is sue an interrupt the next time it advances asynchronous schedule. 0 = the host controller sets this bit to a 0 after it has set the interrupt on async advance status bit (d29:f0, d26:f0:caplength + 24h, bit 5) in the usb2.0_sts register to a 1. 1 = software must write a 1 to this bit to ri ng the doorbell. when the host controller has evicted all appropriate cached schedule state, it sets th e interrupt on async advance status bit in the us b2.0_sts register. if the interrupt on async advance enable bit in the usb2.0_intr register (d29:f0, d26:f0:caplength + 28h, bit 5) is a 1 then the host controller will as sert an interrupt at the next interrupt threshold. see the ehci specif ication for operational details. note: software should not write a 1 to this bit when the asynchronous schedule is inactive. doing so will yield undefined results. 5 asynchronous schedule enable ?r/w. this bit controls wh ether the host controller skips processing the asynchronous schedule. 0 = do not process the asynchronous schedule 1 = use the asynclistaddr register to access the asynchronous schedule. 4 periodic schedule enable ?r/w. this bit controls whethe r the host controller skips processing the periodic schedule. 0 = do not process the periodic schedule 1 = use the periodiclistbase register to access the periodic schedule. 3:2 frame list size ?ro. the pch hardwires this field to 00b because it only supports the 1024-element frame list size. 1 host controller reset (hcreset) ?r/w. this control bit used by software to reset the host controller. the effects of this on root hub registers ar e similar to a chip hardware reset (that is, rsmrst# assertio n and pwrok de-assertion on the pch). when software writes a 1 to th is bit, the host controller re sets its internal pipelines, timers, counters, state machines, etc. to their initial value. any transaction currently in progress on usb is immediat ely terminated. a usb reset is not driven on downstream ports. note: pci configuration registers and host co ntroller capability registers are not effected by this reset. all operational registers, including port re gisters and port state machines are set to their initial values. port owne rship reverts to the companion host controller(s), with the side effects described in the ehci spec. soft ware must re-initialize the host controller to return the host controlle r to an operational state. this bit is set to 0 by the host controller when the reset process is complete. software cannot terminate the reset process earl y by writing a 0 to this register. software should not set this bit to a 1 when the hchalted bit (d29:f0, d26:f0:caplength + 24h, bit 12) in the usb2 .0_sts register is a 0. attempting to reset an actively running host controller will result in undefined behavior. this reset me be used to leave ehci port test modes. bit description
datasheet 691 ehci controller registers (d29:f0, d26:f0) note: the command register indicates the command to be executed by the serial bus host controller. writing to the register causes a command to be executed. 0 run/stop (rs) ?r/w. 0 = stop (default) 1 = run. when set to a 1, the host controller proceeds with execution of the schedule. the host controller continues execution as long as this bit is set. when this bit is set to 0, the host controller completes the current transaction on the usb and then halts. the hchalted bit in the usb2.0_sts register indicates when the host controller has finished the transactio n and has entered the stopped state. software should not wr ite a 1 to this field unless the ho st controller is in the halted state (that is, hchalted in the usbsts regi ster is a 1). the halted bit is cleared immediately when the run bit is set. the following table expl ains how the different combinatio ns of run and halted should be interpreted: memory read cycles initiated by the ehc that receive any status other than successful will result in this bit being cleared. bit description run/stop halted interpretation 0b 0b in the process of halting 0b 1b halted 1b 0b running 1b 1b invalid - the hchalted bit clears immediately
ehci controller registers (d29:f0, d26:f0) 692 datasheet 16.2.2.2 usb2.0_sts?usb 2.0 status register offset: mem_base + 24h?27h attribute: r/wc, ro default value: 00001000h size: 32 bits this register indicates pending interrupts and various states of the host controller. the status resulting from a transaction on the serial bus is not indicated in this register. see the interrupts description in section 4 of the ehci specification for additional information concerning usb 2.0 interrupt conditions. note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 has no effect. bit description 31:16 reserved 15 asynchronous schedule status ? ro. this bit reports the cu rrent real status of the asynchronous schedule. 0 = disabled. (default) 1 = enabled. note: the host controller is not required to immediately disable or enable the asynchronous schedule when software transitions the asynchronous schedule enable bit (d29:f0, d26:f0:caplength + 20h, bit 5) in the usb2.0_cmd register. when th is bit and the asynchronous schedule enable bit are the same value, the asynchronous schedule is either enabled (1) or disabled (0). 14 periodic schedule status ? ro. this bit reports the current real status of the periodic schedule. 0 = disabled. (default) 1 = enabled. note: the host controller is not required to immediately disable or enable the periodic schedule when softwa re transitions the periodic schedule enable bit (d29:f0, d26:f0:caplength + 20h, bit 4) in the us b2.0_cmd register. when this bit and the periodic schedule enable bit are the same value, the periodic schedule is either enabled (1) or disabled (0). 13 reclamation ? ro. this read-only status bit is used to detect an empty asynchronous schedule. the operational model and valid tr ansitions for this bit are described in section 4 of the ehci specification. 12 hchalted ? ro. 0 = this bit is a 0 when the run/stop bit is a 1. 1 = the host controller sets this bit to 1 afte r it has stopped executin g as a result of the run/stop bit being set to 0, either by soft ware or by the host controller hardware (such as, internal error). (default) 11:6 reserved 5 interrupt on async advance? r/wc. system software can force the host controller to issue an interrupt the next time the host co ntroller advances the asynchronous schedule by writing a 1 to the interrupt on async advance doorbell bit (d29:f0, d26:f0:caplength + 20h, bit 6) in the usb2 .0_cmd register. this bit indicates the assertion of that interrupt source.
datasheet 693 ehci controller registers (d29:f0, d26:f0) 4 host system error? r/wc. 0 = no serious error occurred during a host system access involving the host controller module 1 = the host controller sets this bit to 1 when a serious error oc curs during a host system access involving the host contro ller module. a hardware interrupt is generated to the system. memory read cycl es initiated by the ehc that receive any status other than successful will result in this bit being set. when this error occurs, the host contro ller clears the run/stop bit in the usb2.0_cmdregister (d29:f0, d26:f0:caplength + 20h, bit 0) to prevent further execution of the scheduled tds. a hardware interrupt is generated to the system (if enabled in the interrupt enable register). 3 frame list rollover? r/wc. 0 = no frame list index rollover from its maximum value to 0. 1 = the host controller sets this bit to a 1 when the frame list index rolls over from its maximum value to 0. since the pch only supports the 1024-entry frame list size, the frame list index rolls over every time frnum13 toggles. 2 port change detect? r/wc. this bit is allowed to be maintained in the auxiliary power well. alternatively, it is also acceptable that on a d3 to d0 transition of the ehci hc device, this bit is loaded with the or of al l of the portsc change bits (including: force port resume, overcurr ent change, enable/disable change and connect status change). regardless of the implementation , when this bit is readable (that is, in the d0 state), it must provide a valid view of the port status registers. 0 = no change bit transition from a 0 to 1 or no force port resume bit transition from 0 to 1 as a result of a j-k transiti on detected on a suspended port. 1 = the host controller sets this bi t to 1 when any port for which the port owner bit is set to 0 has a change bit transition fro m a 0 to 1 or a force port resume bit transition from 0 to 1 as a result of a j- k transition detected on a suspended port. 1 usb error interrupt (usberrint)? r/wc. 0 = no error condition. 1 = the host controller sets this bit to 1 wh en completion of a usb transaction results in an error condition (such as, error counter underflow). if the td on which the error interrupt occurred also had it s ioc bit set, both this bit and bit 0 are set. see the ehci specification for a list of the usb errors that will result in this interrupt being asserted. 0 usb interrupt (usbint)? r/wc. 0 = no completion of a usb transaction whose transfer descriptor had its ioc bit set. no short packet is detected. 1 = the host controller sets this bit to 1 wh en the cause of an interrupt is a completion of a usb transaction whose transfer descriptor had its ioc bit set. the host controller also sets this bit to 1 when a short packet is detected (actual number of bytes received was less than the expected number of bytes). bit description
ehci controller registers (d29:f0, d26:f0) 694 datasheet 16.2.2.3 usb2.0_intr?usb 2.0 interrupt enable register offset: mem_base + 28h?2bh attribute: r/w default value: 00000000h size: 32 bits this register enables and disables reporting of the corresponding interrupt to the software. when a bit is set and the corresponding interrupt is active, an interrupt is generated to the host. interrupt sources that are disabled in this register still appear in the usb2.0_sts register to allow the software to poll for events. each interrupt enable bit description indicates whether it is depe ndent on the interrupt threshold mechanism (see section 4 of the ehci specification), or not. bit description 31:6 reserved 5 interrupt on async advance enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e interrupt on async advance bit (d29:f0, d26:f0:caplength + 24h, bit 5) in the us b2.0_sts register is a 1, the host controller will issue an interrupt at the next interrupt threshol d. the interrupt is acknowledged by software clearing the interrupt on async advance bit. 4 host system error enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e host system error status bit (d29:f0, d26:f0:caplength + 24h, bit 4) in the us b2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknow ledged by software clearing the host system error bit. 3 frame list rollover enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the frame list rollover bit (d29:f0, d26:f0:caplength + 24h, bit 3) in the us b2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknow ledged by software clearing the frame list rollover bit. 2 port change interrupt enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, an d the port change detect bit (d29:f0, d26:f0:caplength + 24h, bit 2) in the us b2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknow ledged by software clearing the port change detect bit. 1 usb error interrupt enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the usberrint bit (d29:f0, d26:f0:caplength + 24h, bit 1) in the usb2.0_sts register is a 1, the host controller will issue an interrupt at the next interru pt threshold. the interrupt is acknow ledged by software by clearing the usberrint bit in the usb2.0_sts register. 0 usb interrupt enable? r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e usbint bit (d29:f0, d26:f0:caplength + 24h, bit 0) in the usb2.0_sts register is a 1, the host controller will issue an interrupt at the next interru pt threshold. the interrupt is acknow ledged by software by clearing the usbint bit in the usb2.0_sts register.
datasheet 695 ehci controller registers (d29:f0, d26:f0) 16.2.2.4 frindex?frame index register offset: mem_base + 2ch?2fh attribute: r/w default value: 00000000h size: 32 bits the sof frame number value for the bus sof token is derived or alternatively managed from this register. see section 4 of the ehci specification for a detailed explanation of the sof value management requirements on the host controller. the value of frindex must be within 125 s (1 micro-frame) ahead of the sof token value. the sof value may be implemented as an 11-bit shadow register. for this discussion, this shadow register is 11 bits and is named sofv. sofv updates every 8 micro-frames (1 millisecond). an example implementation to achieve this behavior is to increment sofv each time the frindex[2:0] increments from 0 to 1. software must use the value of frindex to derive the current micro-frame number, both for high-speed isochronous sched uling purposes and to provide the get micro- frame number function required to client drivers. therefore, the value of frindex and the value of sofv must be kept consistent if chip is reset or software writes to frindex. writes to frindex must also write-through frindex[13:3] to sofv[10:0]. to keep the update as simple as possible, software should never write a frindex value where the three least significant bits are 111b or 000b. note: this register is used by the host controller to index into the periodic frame list. the register updates every 125 microseconds (once each micro-frame). bits [12:3] are used to select a particular entry in the periodic frame list during periodic schedule execution. the number of bits used for the in dex is fixed at 10 for the pch since it only supports 1024-entry frame lists. this register must be written as a dword. word and byte writes produce undefined results. this register cannot be written unless the host controller is in the halted state as indicated by the hchalted bit (d29:f0, d26:f0:caplength + 24h, bit 12). a write to this register while the run/stop bit (d29:f0, d26:f0:caplength + 20h, bit 0) is set to a 1 (usb2.0_cmd register) produces undefined results. writes to this register also effect the sof value. see section 4 of the ehci specification for details. 16.2.2.5 ctrldssegment?contro l data structure segment register offset: mem_base + 30h?33h attribute: r/w, ro default value: 00000000h size: 32 bits this 32-bit register corresponds to the most significant address bits [63:32] for all ehci data structures. since the pch hardwire s the 64-bit addressing capability field in hccparams to 1, this register is used with the link pointers to construct 64-bit addresses to ehci control data structures. this register is concatenated with the link pointer from either the periodiclistb ase, asynclistaddr, or any control data structure link field to construct a 64-bit address. this register allows the host software to locate all control data structures within the same 4 gb memory segment. bit description 31:14 reserved 13:0 frame list current index/frame number ?r/w. the value in this register increments at the end of each time fr ame (such as, micro-frame). bits [12:3] are used for the frame list current index. this means that each location of the frame list is accessed 8 times (frames or mi cro-frames) before moving to the next index. bit description 31:12 upper address[63:44]?ro. hardwired to 0s. the pch ehc is only capable of generating addresses up to 16 terabytes (44 bits of address). 11:0 upper address[43:32] ?r/w. this 12-bit field corresp onds to addres s bits 43:32 when forming a control data structure address.
ehci controller registers (d29:f0, d26:f0) 696 datasheet 16.2.2.6 periodiclistbase?periodic frame list base address register offset: mem_base + 34h?37h attribute: r/w default value: 00000000h size: 32 bits this 32-bit register contains the beginning address of the periodic frame list in the system memory. since the pch host controller operates in 64-bit mode (as indicated by the 1 in the 64-bit addressing capability fiel d in the hccsparams re gister) (offset 08h, bit 0), then the most significant 32 bits of every control data structure address comes from the ctrldssegment register. hcd load s this register prior to starting the schedule execution by the host controller. the memory structure referenced by this physical memory pointer is assumed to be 4-kbyte aligned. the contents of this register are combined with the frame index register (frindex) to enable the host controller to step through the periodic frame list in sequence. 16.2.2.7 asynclistaddr?current asynchronous list address register offset: mem_base + 38h?3bh attribute: r/w default value: 00000000h size: 32 bits this 32-bit register contains the address of the next asynchronous queue head to be executed. since the pch host controller operat es in 64-bit mode (as indicated by a 1 in 64-bit addressing capability field in the hccparams register) (offset 08h, bit 0), then the most significant 32 bits of every control data structure address comes from the ctrldssegment register (offset 08h). bits [4:0] of this register cannot be modified by system software and will always return 0s when read. the memory structure referenced by this physical memory poin ter is assumed to be 32-byte aligned. bit description 31:12 base address (low) ?r/w. these bits correspond to memory address signals [31:12], respectively. 11:0 reserved bit description 31:5 link pointer low (lpl) ?r/w. these bits correspond to memory address signals [31:5], respectively. this field may only reference a queue head (qh). 4:0 reserved
datasheet 697 ehci controller registers (d29:f0, d26:f0) 16.2.2.8 configflag?configure flag register offset: mem_base + 60h?63h attribute: r/w default value: 00000000h size: 32 bits this register is in the suspend power well. it is only reset by hardware when the suspend power is initially applied or in response to a host controller reset. 16.2.2.9 portsc?port n status and control register when rmh is disabled: offset: port 0, port 8: mem_base + 64h ? 67h port 1, port 9: mem_base + 68 ? 6bh port 2, port 10: mem_base + 6c ? 6fh port 3, port 11: mem_base + 70 ? 73h port 4: port 12: mem_base + 74 ? 77h port 5: port 13: mem_base + 78 ? 7bh port 6: mem_base + 7ch?7bh port 7: mem_base + 80h?83h when rmh is enabled: offset: port 0 rmh: mem_base + 64h ? 67h port 1 debug port: mem_base + 68 ? 6bh port 2 usb redirect (if enabled): mem_base + 6c ? 6fh attribute: r/w, r/wc, ro default value: 00003000h size: 32 bits note: when rmh is enabled this register is associated with the upstream ports of the ehci controller and does not represent downstream hub ports. usb hub class commands must be used to determine rmh port status and enable test modes. see chapter 11 of the usb specification, revision 2.0 for more details. rate matching hub wake capabilities can be configured by the rmhw kctl register (rcba+35b0h) located in the chipset configuration chapter. a host controller must implement one or more port registers. software uses the n_port information from the structural parameters register to determine how many ports need to be serviced. all ports have the structure defined below. software must not write to unreported port status and control registers. this register is in the suspend power well. it is only reset by hardware when the suspend power is initially applied or in resp onse to a host controller reset. the initial conditions of a port are: ? no device connected ?port disabled. bit description 31:1 reserved 0 configure flag (cf) ?r/w. host software sets this bit as the last action in its process of configuring the host controller. this bit co ntrols the default port-r outing control logic. bit values and side-effects are listed below. see section 4 of the ehci spec for operation details. 0 = compatibility debug only (default). 1 = port routing control logic default-rout es all ports to this host controller.
ehci controller registers (d29:f0, d26:f0) 698 datasheet when a device is attached, the port state transitions to the attached state and system software will process this as with any status change notification. see section 4 of the ehci specification for operational requiremen ts for how change events interact with port suspend mode. bit description 31:23 reserved 22 wake on overcurrent enable (wkoc_e)? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offset 54, bit 15) when the overcurrent active bit (bit 4 of this register) is set. 21 wake on disconnect enable (wkdscnnt_e)? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offs et 54, bit 15) when the current connect status changes from connecte d to disconnected (that is , bit 0 of this register changes from 1 to 0). 20 wake on connect enable (wkcnnt_e)? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offs et 54, bit 15) when the current connect status changes from disconnected to conne cted (that is, bit 0 of this register changes from 0 to 1). 19:16 port test control? r/w. when this field is 0s, the port is not operating in a test mode. a non-zero value indicates that it is op erating in test mode and the specific test mode is indicated by the specif ic value. the encoding of the test mode bits are (0110b ? 1111b are reserved): see the usb specification revision 2.0, ch apter 7 for details on each test mode. 15:14 reserved 13 port owner? r/w. this bit unconditionally goes to a 0 when the configured flag bit in the usb2.0_cmd register makes a 0 to 1 transition. system software uses this fi eld to release ownership of th e port to a selected host controller (in the event that the attached de vice is not a high-spe ed device). software writes a 1 to this bit when the attached device is not a high-speed device. a 1 in this bit means that a companion host controller owns and controls the port. see section 4 of the ehci specification for operational details. 12 port power (pp) ?ro. read-only with a value of 1. this indicates that the port does have power. value maximum interrupt interval 0000b test mode not enabled (default) 0001b test j_state 0010b test k_state 0011b test se0_nak 0100b test packet 0101b force_enable
datasheet 699 ehci controller registers (d29:f0, d26:f0) 11:10 line status ?ro.these bits reflect the current logical levels of the d+ (bit 11) and d? (bit 10) signal lines. these bits are used fo r detection of low-speed usb devices prior to the port reset and enable sequen ce. this field is valid only when the port enable bit is 0 and the current connect stat us bit is set to a 1. 00 = se0 10 = j-state 01 = k-state 11 = undefined 9 reserved 8 port reset ?r/w. when software writes a 1 to this bit (from a 0), the bus reset sequence as defined in the usb specification, revision 2.0 is started. software writes a 0 to this bit to terminate the bus reset sequ ence. software must ke ep this bit at a 1 long enough to ensure th e reset sequence completes as specified in the usb specification, revision 2.0. 1 = port is in reset. 0 = port is not in reset. note: when software writes a 0 to this bit, th ere may be a delay before the bit status changes to a 0. the bit st atus will not read as a 0 until after the reset has completed. if the port is in high-speed mode after re set is complete, the host controller will automatically enable this port (such as, set the port enable bit to a 1). a host controller must terminate the reset and stabilize the state of the port within 2 milliseconds of software transitioning this bit from 0 to 1. for example: if the port de tects that the attached device is high-speed during reset, then the host contro ller must have the port in the enabled state within 2 ms of software writing this bit to a 0. the hchalted bit (d29:f0, d26:f0:caplength + 24h, bit 12) in the usb2.0_sts register should be a 0 before software attempts to use this bit. the host controller may hold port reset asserted to a 1 when the hchalted bit is a 1. this bit is 0 if port power is 0 note: system software should not at tempt to reset a port if the hchalted bit in the usb2.0_sts register is a 1. doing so will result in undefined behavior. 7 suspend? r/w. 0 = port not in suspend state.(default) 1 = port in suspend state. port enabled bit and suspend bi t of this register define the port states as follows: when in suspend state, downst ream propagation of data is blocked on this port, except for port reset. note that the bit status does not change unt il the port is suspended and that there may be a delay in suspending a po rt depending on the ac tivity on the port. the host controller will unconditionally se t this bit to a 0 when software sets the force port resume bit to a 0 (from a 1). a write of 0 to this bit is ignored by the host controller. if host software sets this bit to a 1 when the port is not enabled (that is, port enabled bit is a 0) the results are undefined. bit description port enabled suspend port state 0xdisabled 10enabled 11suspend
ehci controller registers (d29:f0, d26:f0) 700 datasheet 6 force port resume? r/w. 0 = no resume (k-state) detected/driven on port. (default) 1 = resume detected/driven on port. software sets this bit to a 1 to drive resume signaling. the host controller sets this bit to a 1 if a j-to-k transition is detected while the port is in the suspend state. when this bit transitions to a 1 because a j- to-k transition is detected, the port change detect bit (d29:f0, d26:f0:caplength + 24h, bit 2) in the usb2 .0_sts register is also set to a 1. if software sets this bit to a 1, the host controller must not set the port change detect bit. note: when the ehci controller owns the po rt, the resume sequence follows the defined sequence documented in the us b specification, revision 2.0. the resume signaling (full-speed 'k') is driven on the port as long as this bit remains a 1. software must appropriately time the resume and set this bit to a 0 when the appropriate amount of time has elapsed. writing a 0 (from 1) causes the port to return to high-speed mode (forci ng the bus below the port into a high-speed idle). this bit will rema in a 1 until the port has switched to the high-speed idle. 5 overcurrent change? r/wc. the functionality of this bit is not dependent upon the port owner. software clears th is bit by writing a 1 to it. 0 = no change. (default) 1 = there is a change to overcurrent active. 4 overcurrent active? ro. 0 = this port does not have an overcurrent condition. (default) 1 = this port currently has an overcurrent condition. this bit will automatically transition from 1 to 0 when the over current condition is removed. the pch automatically disables the port when the overcurrent active bit is 1. 3 port enable/disable change ?r/wc. for the root hub, this bit gets set to a 1 only when a port is disabled due to the appropri ate conditions existing at the eof2 point (see chapter 11 of the usb specification for th e definition of a port error). this bit is not set due to the disabled-to-enabled transition, nor due to a disconnect. software clears this bit by writing a 1 to it. 0 = no change in status. (default). 1 = port enabled/disabled status has changed. 2 port enabled/disabled ?r/w. ports can only be enabled by the host controller as a part of the reset and enable. so ftware cannot enable a port by writing a 1 to this bit. ports can be disabled by either a fault condition (disconnect event or other fault condition) or by host software . note that the bit status does not change until the port state actually changes. there may be a dela y in disabling or enabling a port due to other host controller and bus events. 0 = disable 1 = enable (default) 1 connect status change ?r/wc. this bit indicates a chan ge has occurred in the port?s current connect status. soft ware sets this bit to 0 by writing a 1 to it. 0 = no change (default). 1 = change in current connect status. the host controller sets this bit for all changes to the port device connect status, even if system software has not cleared an existing connect status change. for example, the insertion status changes twice before system software has cleared the ch anged condition, hub hardware will be ?setting? an already-set bit (that is, the bit will remain set). 0 current connect status ?ro. this value reflects the current state of the port, and may not correspond directly to the event th at caused the connec t status change bit (bit 1) to be set. 0 = no device is present. (default) 1 = device is present on port. bit description
datasheet 701 ehci controller registers (d29:f0, d26:f0) 16.2.3 usb 2.0-based de bug port registers the debug port?s registers are located in th e same memory area, defined by the base address register (mem_base), as the standard ehci registers. the base offset for the debug port registers (a0h) is declared in the debug port base offset capability register at configuration offset 5ah (d29:f0, d26:f0:offset 5ah). the specific ehci port that supports this debug capability (port 1 for d29: f0 and port 9 for d26:f0) is indicated by a 4-bit field (bits 20?23) in the hcsparams re gister of the ehci controller. the address map of the debug port registers is shown in table 16-4 . notes: 1. all of these registers are implemented in the core well and re set by pltrst#, ehc hcreset, and a ehc d3-to-d0 transition. 2. the hardware associated with this register provides no chec ks to ensure that software programs the interface correctly. how th e hardware behaves when programmed improperly is undefined. table 16-4. debug port register address map mem_base + offset mnemonic register name default type a0?a3h cntl_sts control/status 00000000h r/w, r/wc, ro a4?a7h usbpid usb pids 00000000h r/w, ro a8?afh databuf[7:0] data buffer (bytes 7:0) 00000000 00000000h r/w b0?b3h config configuration 00007f01h r/w
ehci controller registers (d29:f0, d26:f0) 702 datasheet 16.2.3.1 cntl_sts?control/status register offset: mem_base + a0h attribute: r/w, r/wc, ro default value: 00000000h size: 32 bits bit description 31 reserved 30 owner_cnt? r/w. 0 = ownership of the debug port is not fo rced to the ehci controller (default) 1 = ownership of the debug port is forc ed to the ehci controller (that is, immediately taken away from the companio n classic usb host controller) if the port was already owned by the ehci cont roller, then setting this bit has no effect. this bit overrides all of the owne rship-related bits in the standard ehci registers. 29 reserved 28 enabled_cnt? r/w. 0 = software can clear this by writing a 0 to it. the hardware clears this bit for the same conditions where the port enable/disable change bit (in the portsc register) is set. (default) 1 = debug port is enabled for operation. soft ware can directly set this bit if the port is already enabled in the as sociated portsc register (this is enforced by the hardware). 27:17 reserved 16 done_sts? r/wc. software can clear th is by writing a 1 to it. 0 = request not complete 1 = set by hardware to indicate that the request is complete. 15:12 link_id_sts?ro. this field id entifies the link interface. 0h = hardwired. indicates th at it is a usb debug port. 11 reserved 10 in_use_cnt? r/w. set by software to indicate th at the port is in use. cleared by software to indicate that th e port is free and may be used by other software. this bit is cleared after reset. (this bi t has no affect on hardware.) 9:7 exception_sts? ro. this field indicates the exception when the error_good#_sts bit is set. this field should be ignored if the error_good#_sts bit is 0. 000 =no error. (default) note: this should not be seen since this field should only be checked if there is an error. 001 =transaction error: indicates the us b 2.0 transaction had an error (crc, bad pid, timeout, etc.) 010 =hardware error. request was attemp ted (or in progress) when port was suspended or reset. all other combinations are reserved
datasheet 703 ehci controller registers (d29:f0, d26:f0) notes: 1. software should do read-modify-write operations to this register to preserve the contents of bits not being modified. this include reserved bits. 2. to preserve the usage of reserved bits in the future, software sh ould always write the same value read from the bit unti l it is defined. reserved bits will always return 0 when read. 6 error_good#_sts? ro. 0 = hardware clears this bit to 0 after the proper completion of a read or write. (default) 1 = error has occurred. details on the natu re of the error are provided in the exception field. 5 go_cnt? r/w. 0 = hardware clears this bit when hardwa re sets the done_sts bit. (default) 1 = causes hardware to perform a read or write request. note: writing a 1 to this bit when it is alre ady set may result in undefined behavior. 4 write_read#_cnt? r/w. software clears this bit to indicate that the current request is a read. softwa re sets this bit to indicate that the current request is a write. 0 = read (default) 1 = write 3:0 data_len_cnt? r/w. this field is used to indica te the size of the data to be transferred. default = 0h. for write operations, this field is set by software to indicate to the hardware how many bytes of data in data buffer are to be transferred to the console. a value of 0h indicates that a zero-length packet should be sent. a value of 1?8 indicates 1?8 bytes are to be transferred. values 9?fh are invalid and how hardware behaves if used is undefined. for read operations, this fiel d is set by hardware to indicate to software how many bytes in data buffer are valid in response to a read operation. a value of 0h indicates that a zero length packet was returned and the state of data buffe r is not defined. a value of 1?8 indicates 1?8 by tes were received. hardware is not allowed to return values 9?fh. the transferring of data always starts with byte 0 in the data area and moves toward byte 7 until the transfer size is reached. bit description
ehci controller registers (d29:f0, d26:f0) 704 datasheet 16.2.3.2 usbpid?usb pids register offset: mem_base + a4h?a7h attribute: r/w, ro default value: 00000000h size: 32 bits this dword register is used to communicate pid information between the usb debug driver and the usb debug port. the debug port uses some of these fields to generate usb packets, and uses other fields to retu rn pid information to the usb debug driver. 16.2.3.3 databuf[7:0]?data buffer bytes[7:0] register offset: mem_base + a8h?afh attribute: r/w default value: 0000000000000000h size: 64 bits this register can be accessed as 8 separate 8-bit registers or 2 separate 32-bit register. 16.2.3.4 config?configuration register offset: mem_base + b0?b3h attribute: r/w default value: 00007f01h size: 32 bits bit description 31:24 reserved 23:16 received_pid_sts[23:16] ?ro. hardware updates this field with the received pid for transactions in either dire ction. when the controller is writing data, this field is updated with the handshake pid that is received from the devi ce. when the host controller is reading data, this field is updated with the da ta packet pid (if the device sent data), or the handshake pid (if the devi ce naks the request). this field is valid when the hardware clears the go_done#_cnt bit. 15:8 send_pid_cnt[15:8] ?r/w. hardware sends this pid to begin the data packet when sending data to usb (that is, wr ite_read#_cnt is asserted). software typically sets this field to either data0 or data1 pid values. 7:0 token_pid_cnt[7:0] ?r/w. hardware sends this pid as the token pid for each usb transaction. software typically sets this field to either in, out, or setup pid values. bit description 63:0 databuffer[63:0] ?r/w. this field is the 8 bytes of the data buffer. bits 7:0 correspond to least significant byte (byt e 0). bits 63:56 correspond to the most significant byte (byte 7). the bytes in the data buffer must be written with data before soft ware initiates a write request. for a read re quest, the data buffer contains valid data when done_sts bit (offset a0, bit 16) is cleared by the hardwa re, error_good#_sts (offset a0, bit 6) is cleared by the hardware, and the data_l ength_cnt field (offs et a0, bits 3:0) indicates the number of bytes that are valid. bit description 31:15 reserved 14:8 usb_address_cnf ?r/w. this 7-bit field identifies the usb device address used by the controller for all token pid generation. (default = 7fh) 7:4 reserved 3:0 usb_endpoint_cnf ?r/w. this 4-bit field identifies the endpoint used by the controller for all token pid generation. (default = 1h)
datasheet 705 intel ? high definition audio controller registers (d27:f0) 17 intel ? high definition audio controller registers (d27:f0) the intel ? high definition audio controller resides in pci device 27, function 0 on bus 0. this function contains a set of dma engines that are used to move samples of digitally encoded data between system memory and external codecs. note: all registers in this function (including me mory-mapped registers) must be addressable in byte, word, and dword quantities. the software must always make register accesses on natural boundaries (that is, dword accesses must be on dword boundaries; word accesses on word boundaries, etc.). register access crossing the dword boundary are ignored. in addition, the memory-mapped register space must not be accessed with the lock semantic exclusive-access mechanism. if software attempts exclusive-access mechanisms to the intel ? high definition audio memory-mapped space, the results are undefined. note: users interested in providing feedback on the intel ? high definition audio specification or planning to implement the intel ? high definition audio specification into a future product will need to execute the intel ? high definition audio specification developer?s agreement . for more information, contact nextgenaudio@intel.com. 17.1 intel ? high definition audio pci configuration space (intel ? high definition audio?d27:f0) note: address locations that are not shown should be treated as reserved. table 17-1. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 1 of 2) offset mnemonic register name default access 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 00h ro 0ah scc sub class code 03h ro 0bh bcc base class code 04h ro 0ch cls cache line size 00h r/w 0dh lt latency timer 00h ro 0eh headtyp header type 00h ro 10h?13h hdbarl intel ? high definition audio lower base address (memory) 00000004h r/w, ro 14h?17h hdbaru intel high definition audio upper base address (memory) 00000000h r/w 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo
intel ? high definition audio controller registers (d27:f0) 706 datasheet 34h capptr capability list pointer 50h ro 3ch intln interrupt line 00h r/w 3dh intpn interrupt pin see register description ro 40h hdctl intel ? high definition audio control 01h r/w, ro 43h hdinit1 intel high definition audio initialization register 1 07h ro 44h tcsel traffic class select 00h r/w 4ch dckctl docking control (mobile only) 00h r/w, ro 4dh dcksts docking status (mobile only) 80h r/wo, ro 50h?51h pid pci power management capability id 6001h r/wo, ro 52h?53h pc power management capabilities c842h ro 54h?57h pcs power management control and status 00000000h r/w, ro, r/wc 60h?61h mid msi capability id 7005h ro 62h?63h mmc msi message control 0080h r/w, ro 64h?67h mmla msi message lower address 00000000h r/w, ro 68h?6bh mmua msi message upper address 00000000h r/w 6ch?6dh mmd msi message data 0000h r/w 70h?71h pxid pci express* capability identifiers 0010h ro 72h?73h pxc pci express capabilities 0091h ro 74h?77h devcap device capabilities 10000000h ro, r/wo 78h?79h devc device control 0800h r/w, ro 7ah?7bh devs device status 0010h ro 100h?103h vccap virtual channel enhanced capability header 13010002h r/wo 104h?107h pvccap1 port vc capability register 1 00000001h ro 108h?10bh pvccap2 port vc capability register 2 00000000h ro 10ch?10d pvcctl port vc control 0000h ro 10eh?10fh pvcsts port vc status 0000h ro 110h?113h vc0cap vc0 resource capability 00000000h ro 114h?117h vc0ctl vc0 resource control 800000ffh r/w, ro 11ah?11bh vc0sts vc0 resource status 0000h ro 11ch?11fh vcicap vci resource capability 00000000h ro 120h?123h vcictl vci resource control 00000000h r/w, ro 126h?127h vcists vci resource status 0000h ro 130h?133h rccap root complex link declaration enhanced capability header 00010005h ro 134h?137h esd element self description 0f000100h ro 140h?143h l1desc link 1 description 00000001h ro 148h?14bh l1addl link 1 lower address see register description ro 14ch?14fh l1addu link 1 upper address 00000000h ro table 17-1. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 2 of 2) offset mnemonic register name default access
datasheet 707 intel ? high definition audio controller registers (d27:f0) 17.1.1 vid?vendor identi fication register (intel ? high definition au dio controller?d27:f0) offset: 00h?01h attribute: ro default value: 8086h size: 16 bits 17.1.2 did?device identification register (intel ? high definition audi o controller?d27:f0) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits bit description 15:0 vendor id? ro. this is a 16-bit value assign ed to intel. intel vid = 8086h bit description 15:0 device id ?ro. this is a 16-bit value assigned to the pch?s intel ? high definition audio controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register.
intel ? high definition audio controller registers (d27:f0) 708 datasheet 17.1.3 pcicmd?pci command register (intel ? high definition audi o controller?d27:f0) offset address: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable (id)? r/w. 0= the intx# signals may be asserted. 1= the intel ? high definition audio controller?s intx# signal will be de-asserted. note: this bit does not affect the generation of msis. 9 fast back to back enable (fbe)?ro . not implemented. hardwired to 0. 8 serr# enable (serr_en)? r/w. serr# is not gene rated by the pch intel ? high definition audio controller. 7 wait cycle control (wcc)?ro. no t implemented. hardwired to 0. 6 parity error response (per)?r/w. per functionality not implemented. 5 vga palette snoop (vps). not implemented. hardwired to 0. 4 memory write and invalidate enable (mwi e)?ro. not implemented. hardwired to 0. 3 special cycle enable (sce). not implemented. hardwired to 0. 2 bus master enable (bme) ?r/w. controls standard pci express* bus mastering capabilities for memory and i/o, reads and wr ites. note that this bit also controls msi generation since msi?s are essentially memory writes. 0 = disable 1 = enable 1 memory space enable (mse)? r/w. enables memory space addresses to the intel ? high definition audio controller. 0 = disable 1 = enable 0 i/o space enable (iose)?ro. ha rdwired to 0 si nce the intel ? high definition audio controller does not implement i/o space.
datasheet 709 intel ? high definition audio controller registers (d27:f0) 17.1.4 pcists?pci status register (intel ? high definition audi o controller?d27:f0) offset address: 06h?07h attribute: ro, r/wc default value: 0010h size: 16 bits bit description 15 detected parity error (dpe)?ro. not implemented. hardwired to 0. 14 serr# status (serrs)?ro. not implemented. hardwired to 0. 13 received master abort (rma)? r/wc. software clears this bit by writing a 1 to it. 0 = no master abort received. 1 = the intel ? high definition audio controller sets this bit when, as a bus master, it receives a master abort. when set, the intel ? high definition audio controller clears the run bit for the chan nel that received the abort. 12 received target abort (rta)?ro. not implemented. hardwired to 0. 11 signaled target abort (sta)?ro. not implemented. hardwired to 0. 10:9 devsel# timing st atus (dev_sts)?ro. does not apply. hardwired to 0. 8 data parity error detected (dped)?ro. not implemented. hardwired to 0. 7 fast back to back capable (fb2bc)?ro. does not apply. hardwired to 0. 6 reserved 5 66 mhz capable (66mhz_cap)?ro. does not apply. hardwired to 0. 4 capabilities list (cap_list)? ro. hardwired to 1. indicate s that the controller contains a capabilities poin ter list. the first item is pointed to by looking at configuration offset 34h. 3 interrupt status (is) ?ro. 0 = this bit is 0 after th e interrupt is cleared. 1 = this bit is 1 when the intx# is asserted. note that this bit is not set by an msi. 2:0 reserved
intel ? high definition audio controller registers (d27:f0) 710 datasheet 17.1.5 rid?revision iden tification register (intel ? high definition audi o controller?d27:f0) offset: 08h attribute: ro default value: see bit description size: 8 bits 17.1.6 pi?programming interface register (intel ? high definition audi o controller?d27:f0) offset: 09h attribute: ro default value: 00h size: 8 bits 17.1.7 scc?sub class code register (intel ? high definition audi o controller?d27:f0) address offset: 0ah attribute: ro default value: 03h size: 8 bits 17.1.8 bcc?base class code register (intel ? high definition audi o controller?d27:f0) address offset: 0bh attribute: ro default value: 04h size: 8 bits 17.1.9 cls?cache line size register (intel ? high definition audi o controller?d27:f0) address offset: 0ch attribute: r/w default value: 00h size: 8 bits bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 7:0 programming interface ?ro. bit description 7:0 sub class code (scc) ?ro. 03h = audio device bit description 7:0 base class code (bcc) ?ro. 04h = multimedia device bit description 7:0 cache line size ?r/w. implemented as r/w register, but has no functional impact to the pch
datasheet 711 intel ? high definition audio controller registers (d27:f0) 17.1.10 lt?latency timer register (intel ? high definition audi o controller?d27:f0) address offset: 0dh attribute: ro default value: 00h size: 8 bits 17.1.11 headtyp?header type register (intel ? high definition audi o controller?d27:f0) address offset: 0eh attribute: ro default value: 00h size: 8 bits 17.1.12 hdbarl?intel ? high definition audio lower base address register (intel ? high definition audio?d27:f0) address offset: 10h?13h attribute: r/w, ro default value: 00000004h size: 32 bits 17.1.13 hdbaru?intel ? high definition audio upper base address register (intel ? high definition audi o controller?d27:f0) address offset: 14h?17h attribute: r/w default value: 00000000h size: 32 bits bit description 7:0 latency timer?ro. hardwired to 00 bit description 7:0 header type?ro. hardwired to 00. bit description 31:14 lower base address (lba)? r/w. base address for the intel ? high definition audio controller?s memory mapped configuration registers. 16 kbytes are requested by hardwiring bits 13:4 to 0s. 13:4 reserved 3 prefetchable (pref)?ro. hardwired to 0 to indicate that this bar is not prefetchable 2:1 address range (addrng) ?ro. hardwired to 10b, indica ting that this bar can be located anywhere in 64-bit address space. 0 space type (sptyp) ?ro. hardwired to 0. indicates this bar is located in memory space. bit description 31:0 upper base address (uba)? r/w. upper 32 bits of the base address for the intel ? high definition audio controller?s memory mapped configuration registers.
intel ? high definition audio controller registers (d27:f0) 712 datasheet 17.1.14 svid?subsystem vendor identification register (intel ? high definition audi o controller?d27:f0) address offset: 2ch?2dh attribute: r/wo default value: 0000h size: 16 bits function level reset: no the svid register, in combination with the subsystem id register (d27:f0:2eh), enable the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subseq uent writes will have no effect. this register is not affected by the d3 hot to d0 transition. 17.1.15 sid?subsystem identification register (intel ? high definition audi o controller?d27:f0) address offset: 2eh?2fh attribute: r/wo default value: 0000h size: 16 bits function level reset: no the sid register, in combination with the subsystem vendor id register (d27:f0:2ch) make it possible for the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subseq uent writes will have no effect. this register is not affected by the d3 hot to d0 transition. t 17.1.16 capptr?capabilities pointer register (intel ? high definition audi o controller?d27:f0) address offset: 34h attribute: ro default value: 50h size: 8 bits this register indicates the offset for the capability pointer. bit description 15:0 subsystem vendor id ?r/wo. bit description 15:0 subsystem id? r/wo. bit description 7:0 capabilities pointer (cap_ptr) ?ro. this field indicates that the first capability pointer offset is offset 50h (power management capability)
datasheet 713 intel ? high definition audio controller registers (d27:f0) 17.1.17 intln?interrup t line register (intel ? high definition audi o controller?d27:f0) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 17.1.18 intpn?interrupt pin register (intel ? high definition audi o controller?d27:f0) address offset: 3dh attribute: ro default value: see description size: 8 bits 17.1.19 hdctl?intel ? high definition audio control register (intel ? high definition audi o controller?d27:f0) address offset: 40h attribute: ro default value: 01h size: 8 bits 17.1.20 hdinit1?intel ? high definition audio initialization register 1 (intel ? high definition audio controller?d27:f0) address offset: 43h attribute: ro default value: 07h size: 8 bits bit description 7:0 interrupt line (int_ln)? r/w. this data is not used by the pch. it is used to communicate to software the interrupt line that the interrupt pin is connected to. note: this register is not reset by a function level reset. bit description 7:4 reserved 3:0 interrupt pin ?ro. this reflects the value of d27ip.zip (chipset config registers:offset 3110h:bits 3:0). bit description 7:1 reserved 0 intel ? high definition signal mode ?ro. this bit is hardwired to 1 (high definition audio mode). bit description 7 reserved 6 hdinit1 field 2 ?r/w. bios must set this bit to 1. 5:3 reserved 2:0 hdinit1 field 1 ?r/w. bios must program this field to 111b.
intel ? high definition audio controller registers (d27:f0) 714 datasheet 17.1.21 tcsel?traffic class select register (intel ? high definition audi o controller?d27:f0) address offset: 44h attribute: r/w default value: 00h size: 8 bits function level reset: no this register assigned the value to be placed in the tc field. corb and rirb data will always be assigned tc0. 17.1.22 dckctl?docking control register (mobile only) (intel ? high definition audi o controller?d27:f0) address offset: 4ch attribute: r/w, ro default value: 00h size: 8 bits function level reset: no bit description 7:3 reserved 2:0 intel ? high definition audio traffi c class assignment (tcsel) ?r/w. this register assigns the valu e to be placed in the traffi c class field for input data, output data, and buffer descriptor transactions. 000 = tc0 001 = tc1 010 = tc2 011 = tc3 100 = tc4 101 = tc5 110 = tc6 111 = tc7 note: these bits are not reset on d3 hot to d0 transition; however, they are reset by pltrst#. bit description 7:1 reserved 0 dock attach (da)? r/w / ro. software writes a 1 to this bit to initiate the docking sequence on the hda_dock_en# and hda_ dock_rst# signals. when the docking sequence is complete, hardwa re will set the dock mated (gsts.dm) status bit to 1. software writes a 0 to this bit to initiate the undocking sequence on the hda_dock_en# and hda_dock _rst# signals. when the undocking sequence is complete, hardware will set the dock mated (gsts.dm) status bit to 0. note that software must ch eck the state of the dock mated (gsts.dm) bit prior to writing to the dock attach bit. software sh all only change the da bit from 0 to 1 when dm=0. likewise, software shall only change the da bit from 1 to 0 when dm=1. if these rules are violated, the results are undefined. note that this bit is read on ly when the dcksts.ds bit = 0.
datasheet 715 intel ? high definition audio controller registers (d27:f0) 17.1.23 dcksts?docking status register (mobile only) (intel ? high definition audi o controller?d27:f0) address offset: 4dh attribute: r/wo, ro default value: 80h size: 8 bits function level reset: no 17.1.24 pid?pci power management capability id register (intel ? high definition audi o controller?d27:f0) address offset: 50h?51h attribute: r/wo, ro default value: 6001h size: 16 bits function level reset: no (bits 7:0 only) bit description 7 docking supported (ds) ?r/wo: a 1 indicates that pc h supports hd audio docking. the dckctl.da bit is only writable when this ds bit is 1. acpi bios software should only branch to the docking routine when this ds bit is 1. bios may clear this bit to 0 to prohibit the acpi bios software from at tempting to run the docking routines. note that this bit is reset to its default value only on a pltrst#, but not on a crst# or d3hot-to-d0 transition. 6:1 reserved 0 dock mated (dm) ?ro: this bit effectively communicate s to software that an intel ? hd audio docked codec is physic ally and electrically attached. controller hardware sets this bit to 1 afte r the docking sequence triggered by writing a 1 to the dock attach (gctl.da) bit is comp leted (hda_dock_rst# de-assertion). this bit indicates to software that the docked codec(s) may be discovered using the statests register and then enumerated. controller hardware sets this bit to 0 afte r the undocking sequence triggered by writing a 0 to the dock attach (gctl.da) bit is completed (hda_dock_en# de-asserted). this bit indicates to software that the dock ed codec(s) may be physically undocked. bit description 15:8 next capability (next) ?r/wo. points to the next capability structure (msi). 7:0 cap id (cap) ?ro. hardwired to 01h. indicates that this pointer is a pci power management capability. th ese bits are not reset by function level reset.
intel ? high definition audio controller registers (d27:f0) 716 datasheet 17.1.25 pc?power management capabilities register (intel ? high definition audi o controller?d27:f0) address offset: 52h?53h attribute: ro default value: c842h size: 16 bits 17.1.26 pcs?power management co ntrol and status register (intel ? high definition audi o controller?d27:f0) address offset: 54h?57h attribute: ro, r/w, r/wc default value: 00000000h size: 32 bits function level reset: no bit description 15:11 pme support ?ro. hardwired to 11001b. indicate s pme# can be generated from d3 and d0 states. 10 d2 support?ro. hardwired to 0. indi cates that d2 state is not supported. 9 d1 support?ro. hardwired to 0. indica tes that d1 state is not supported. 8:6 aux current ?ro. hardwired to 001b. reports 55 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi)?ro. ha rdwired to 0. indica tes that no device specific initialization is required. 4 reserved 3 pme clock (pmec)?ro. does not apply. hardwired to 0. 2:0 version ?ro. hardwired to 010b. indicates support for version 1.1 of the pci power management specification. bit description 31:24 data ?ro. does not apply. hardwired to 0. 23 bus power/clock control enable?ro. does not apply. hardwired to 0. 22 b2/b3 support?ro. does not apply. hardwired to 0. 21:16 reserved 15 pme status (pmes)? r/wc. 0 = software clears the bit by writing a 1 to it. 1 = this bit is set when the intel ? high definition audio controller would normally assert the pme# signal independent of the state of the pme_en bit (bit 8 in this register). this bit is in the resume well and is clea red by a power-on reset. software must not make assumptions about the reset state of this bit and must se t it appropriately. 14:9 reserved 8 pme enable (pmee)? r/w. 0 = disable 1 = when set and if corresponding pmes also set, the intel ? high definition audio controller sets the pme_b0_sts bit in the gpe0_sts register (pmbase +28h). this bit is in the resume well and is clea red on a power-on rese t. software must not make assumptions about the reset state of this bit and must se t it appropriately. 7:2 reserved
datasheet 717 intel ? high definition audio controller registers (d27:f0) 17.1.27 mid?msi capability id register (intel ? high definition audi o controller?d27:f0) address offset: 60h?61h attribute: ro default value: 7005h size: 16 bits 17.1.28 mmc?msi messag e control register (intel ? high definition audi o controller?d27:f0) address offset: 62h?63h attribute: ro, r/w default value: 0080h size: 16 bits 1:0 power state (ps)? r/w. this field is used both to determine the cu rrent power state of the intel ? high definition audio controll er and to set a new power state. 00 = d0 state 11 = d3 hot state others = reserved notes: 1. if software attempts to wr ite a value of 01b or 10b in to this field, the write operation must complete normally; howeve r, the data is discarded and no state change occurs. 2. when in the d3 hot states, the intel ? high definition audio controller?s configuration space is available, but the io and memory space are not. additionally, interrupts are blocked. 3. when software changes this value from d3 hot state to the d0 st ate, an internal warm (soft) reset is generated, and so ftware must re-initialize the function. bit description bit description 15:8 next capability (next) ?ro. hardwired to 70h. points to the pci express* capability structure. 7:0 cap id (cap)? ro. hardwired to 05h. indicates that this pointer is a msi capability bit description 15:8 reserved 7 64b address capability (64add) ?ro. hardwired to 1. indicates the ability to generate a 64-bit message address 6:4 multiple message enable (mme)?ro. normally this is a r/w register. however since only 1 message is supported, these bi ts are hardwired to 000 = 1 message. 3:1 multiple message capable (mmc)?ro. hard wired to 0 indicating request for 1 message. 0 msi enable (me)? r/w. 0 = an msi may not be generated 1 = an msi will be generated instead of an intx signal.
intel ? high definition audio controller registers (d27:f0) 718 datasheet 17.1.29 mmla?msi message lower address register (intel ? high definition audi o controller?d27:f0) address offset: 64h?67h attribute: ro, r/w default value: 00000000h size: 32 bits 17.1.30 mmua?msi message upper address register (intel ? high definition audi o controller?d27:f0) address offset: 68h?6bh attribute: r/w default value: 00000000h size: 32 bits 17.1.31 mmd?msi messag e data register (intel ? high definition audi o controller?d27:f0) address offset: 6ch?6dh attribute: r/w default value: 0000h size: 16 bits 17.1.32 pxid?pci express* capability id register (intel ? high definition audi o controller?d27:f0) address offset: 70h?71h attribute: ro default value: 0010h size: 16 bits bit description 31:2 message lower address (mla)? r/w. lower address used for msi message. 1:0 reserved bit description 31:0 message upper address (mua)? r/w. upper 32-bits of address used for msi message. bit description 15:0 message data (md)? r/w. data used for msi message. bit description 15:8 next capability (next) ?ro. hardwired to 0. indicates th at this is the last capability structure in the list. 7:0 cap id (cap) ?ro. hardwired to 10h. indicates that this pointer is a pci express* capability structure.
datasheet 719 intel ? high definition audio controller registers (d27:f0) 17.1.33 pxc?pci express* capabilities register (intel ? high definition audi o controller?d27:f0) address offset: 72h?73h attribute: ro default value: 0091h size: 16 bits 17.1.34 devcap?device ca pabilities register (intel ? high definition audi o controller?d27:f0) address offset: 74h?77h attribute: r/wo, ro default value: 10000000h size: 32 bits function level reset: no bit description 15:14 reserved 13:9 interrupt message number (imn)?ro. hardwired to 0. 8 slot implemented (si) ?ro. hardwired to 0. 7:4 device/port type (dpt)? ro. hardwired to 1001b. indicates that this is a root complex integrated endpoint device. 3:0 capability version (cv) ?ro. hardwired to 0001b. indicates version #1 pci express capability bit description 31:29 reserved 28 function level reset (flr)? r/wo. a 1 indicates that th e pch hd audio controller supports the function level reset capability. 27:26 captured slot power limit sc ale (spls)?ro. hardwired to 0. 25:18 captured slot power limit va lue (splv)?ro. hardwired to 0. 17:15 reserved 14 power indicator present?ro. hardwired to 0. 13 attention indicator present?ro. hardwired to 0. 12 attention button present?ro. hardwired to 0. 11:9 endpoint l1 acceptable latency?r/wo. 8:6 endpoint l0s acceptable latency ?r/wo. 5 extended tag field support ?ro. hardwired to 0. indi cates 5-bit tag field support 4:3 phantom functions supported?ro. hardwired to 0. indicates that phantom functions not supported 2:0 max payload size supported ?ro. hardwired to 0. indicates 128-b maximum payload size capability
intel ? high definition audio controller registers (d27:f0) 720 datasheet 17.1.35 devc?device control register (intel ? high definition audi o controller?d27:f0) address offset: 78h?79h attribute: r/w, ro default value: 0800h size: 16 bits function level reset: no (bit 11 only) bit description 15 initiate flr (if) ?r/w. this bit is used to initiate flr transition. 1 = a write of 1 initiates flr transition. since hardware does not respond to any cycles until flr completion, the read valu e by software from this bit is 0. 14:12 max read request size?ro. hardwired to 0 enabling 128b maximum read request size. 11 no snoop enable (nsnpen)? r/w. 0 = the intel ? high definition audio controller will not set the no snoop bit. in this case, isochronous transfers will not use vc1 (vci) even if it is enabled since vc1 is never snooped. isochronous transfers will use vc0. 1 = the intel ? high definition audio controller is permitted to set the no snoop bit in the requester attributes of a bus master transaction. in this case, vc0 or vc1 may be used for isochronous transfers. note: this bit is not reset on d3 hot to d0 transition; however, it is reset by pltrst#. this bit is not reset by function level reset. 10 auxiliary power enable?ro. hardwire d to 0, indicating that intel ? high definition audio device does not draw aux power 9 phantom function enable?ro. hardwi red to 0 disabling phantom functions. 8 extended tag field enable ?ro. hardwired to 0 enabling 5-bit tag. 7:5 max payload size ?ro. hardwired to 0 indicating 128b. 4 enable relaxed ordering?ro. hardwire d to 0 disabling relaxed ordering. 3 unsupported request reportin g enable?r/w. not implemented. 2 fatal error reporting en able?r/w. not implemented. 1 non-fatal error reporting enable?r/w. not implemented. 0 correctable error reporting enable?r/w. not implemented.
datasheet 721 intel ? high definition audio controller registers (d27:f0) 17.1.36 devs?device status register (intel ? high definition audi o controller?d27:f0) address offset: 7ah?7bh attribute: ro default value: 0010h size: 16 bits 17.1.37 vccap?virtual channel enhanced capability header (intel ? high definition audi o controller?d27:f0) address offset: 100h?103h attribute: r/wo default value: 13010002h size: 32 bits bit description 15:6 reserved 5 transactions pending? ro. 0 = indicates that completions for all no n-posted requests have been received 1 = indicates that intel ? high definition audio controller has issued non-posted requests which have not been completed. 4 aux power detected ?ro. hardwired to 1 indicating the device is connected to resume power 3 unsupported request detected?ro. not implemented. hardwired to 0. 2 fatal error detected?ro. not implemented. ha rdwired to 0. 1 non-fatal error detected?ro. no t implemented. hardwired to 0. 0 correctable error detected?ro. not implemented. hardwired to 0. bit description 31:20 next capability offset ?r/wo. points to the next capability header. 130h = root complex link declaration enhanced capability header 000h = root complex link declaration enha nced capability header is not supported. 19:16 capability version? r/wo. 0h =pci express virtual chan nel capability and the root complex topology capability structure are not supported. 1h =pci express virtual chan nel capability and the root complex topology capability structure are supported. 15:0 pci express* extended capability ?r/wo. 0000h =pci express virtual channel capa bility and the root complex topology capability structure are not supported. 0002h =pci express virtual channel capa bility and the root complex topology capability structure are supported.
intel ? high definition audio controller registers (d27:f0) 722 datasheet 17.1.38 pvccap1?port vc capability register 1 (intel ? high definition audi o controller?d27:f0) address offset: 104h?107h attribute: ro default value: 00000001h size: 32 bits 17.1.39 pvccap2?port vc capability register 2 (intel ? high definition audi o controller?d27:f0) address offset: 108h?10bh attribute: ro default value: 00000000h size: 32 bits 17.1.40 pvcctl?port vc control register (intel ? high definition audi o controller?d27:f0) address offset: 10ch?10dh attribute: ro default value: 0000h size: 16 bits bit description 31:12 reserved 11:10 port arbitration table entry size?ro. hard wired to 0 since this is an endpoint device. 9:8 reference clock?ro. hardwired to 0 since this is an endpoint device. 7reserved 6:4 low priority extended vc count?ro. hardwire d to 0. indicates that only vc0 belongs to the low priority vc group 3reserved 2:0 extended vc count ?ro. hardwired to 001b. indicates that 1 extended vc (in addition to vc0) is supported by the intel ? high definition audio controller. bit description 31:24 vc arbitration table offset?ro. hardwired to 0 indicating that a vc arbitration table is not present. 23:8 reserved 7:0 vc arbitration capability?ro. hardwired to 0. these bits are not applicable since the intel ? high definition audio controller report s a 0 in the low priority extended vc count bits in the pvccap1 register. bit description 15:4 reserved 3:1 vc arbitration select?ro. hardwired to 0. normally these bits are r/w. however, these bits are not applicable since the intel ? high definition audio controller reports a 0 in the low priority extended vc count bits in the pvccap1 register 0 load vc arbitration table?ro. hardwired to 0 since an arbitration table is not present.
datasheet 723 intel ? high definition audio controller registers (d27:f0) 17.1.41 pvcsts?port vc status register (intel ? high definition audi o controller?d27:f0) address offset: 10eh?10fh attribute: ro default value: 0000h size: 16 bits 17.1.42 vc0cap?vc0 resour ce capability register (intel ? high definition audi o controller?d27:f0) address offset: 110h?113h attribute: ro default value: 00000000h size: 32 bits bit description 15:1 reserved 0 vc arbitration table status?ro. hardwired to 0 since an arbitration table is not present. bit description 31:24 port arbitration table offset?ro. hardwired to 0 since this field is not valid for endpoint devices 23 reserved 22:16 maximum time slots?ro. hardwired to 0 si nce this field is not valid for endpoint devices 15 reject snoop transactions?ro. hardwired to 0 since this field is not valid for endpoint devices. 14 advanced packet switching?ro. hardwired to 0 since this field is not valid for endpoint devices 13:8 reserved 7:0 port arbitration capability?ro. hardwired to 0 since this field is not valid for endpoint devices
intel ? high definition audio controller registers (d27:f0) 724 datasheet 17.1.43 vc0ctl?vc0 resource control register (intel ? high definition audi o controller?d27:f0) address offset: 114h?117h attribute: r/w, ro default value: 800000ffh size: 32 bits function level reset: no 17.1.44 vc0sts?vc0 resource status register (intel ? high definition audi o controller?d27:f0) address offset: 11ah?11bh attribute: ro default value: 0000h size: 16 bits bit description 31 vc0 enable?ro. hardwired to 1 for vc0. 30:27 reserved 26:24 vc0 id?ro. hardwired to 0 since th e first vc is always assigned as vc0 23:20 reserved 19:17 port arbitration select?ro. hardwired to 0 since this field is not valid for endpoint devices 16 load port arbitration table?ro. hardwired to 0 since this field is not valid for endpoint devices 15:8 reserved 7:0 tc/vc0 map? r/w, ro. bit 0 is hardwired to 1 si nce tc0 is always mapped vc0. bits [7:1] are implemented as r/w bits. bit description 15:2 reserved 1 vc0 negotiation pending?ro. hardwired to 0 since this bit does not apply to the integrated intel ? high definition audio device 0 port arbitration table status?ro. hardwire d to 0 since this field is not valid for endpoint devices
datasheet 725 intel ? high definition audio controller registers (d27:f0) 17.1.45 vcicap?vci resour ce capability register (intel ? high definition audi o controller?d27:f0) address offset: 11ch?11fh attribute: ro default value: 00000000h size: 32 bits 17.1.46 vcictl?vci reso urce control register (intel ? high definition audi o controller?d27:f0) address offset: 120h?123h attribute: r/w, ro default value: 00000000h size: 32 bits function level reset: no bit description 31:24 port arbitration table offset?ro. hardwired to 0 since this field is not valid for endpoint devices. 23 reserved 22:16 maximum time slots?ro. hardwired to 0 si nce this field is not valid for endpoint devices 15 reject snoop transactions?ro. hardwired to 0 since this field is not valid for endpoint devices 14 advanced packet switching?ro. hardwired to 0 since this field is not valid for endpoint devices 13:8 reserved 7:0 port arbitration capability?ro. hardwired to 0 since this field is not valid for endpoint devices bit description 31 vci enable? r/w. 0 = vci is disabled 1 = vci is enabled note: this bit is not reset on d3 hot to d0 transition; however, it is reset by pltrst#. 30:27 reserved 26:24 vci id ?r/w. this field assigns a vc id to the vci resource. this field is not used by the pch hardware, but it is r/w to avoid confusing software. 23:20 reserved 19:17 port arbitration select?ro. hardwired to 0 since this field is not valid for endpoint devices 16 load port arbitration table?ro. hardwired to 0 since this field is not valid for endpoint devices 15:8 reserved 7:0 tc/vci map ?r/w, ro. this field indicates th e tcs that are mapped to the vci resource. bit 0 is hardwired to 0 indicating th at it cannot be mapped to vci. bits [7:1] are implemented as r/w bits. this field is not used by the pch hardware, but it is r/w to avoid confusing software.
intel ? high definition audio controller registers (d27:f0) 726 datasheet 17.1.47 vcists?vci resource status register (intel ? high definition audi o controller?d27:f0) address offset: 126h?127h attribute: ro default value: 0000h size: 16 bits 17.1.48 rccap?root complex link declaration enhanced capability header register (intel ? high definition audi o controller?d27:f0) address offset: 130h attribute: ro default value: 00010005h size: 32 bits 17.1.49 esd?element self description register (intel ? high definition audi o controller?d27:f0) address offset: 134h?137h attribute: ro default value: 0f000100h size: 32 bits bit description 15:2 reserved 1 vci negotiation pending?ro. do es not apply. hardwired to 0. 0 port arbitration table status?ro. hardwire d to 0 since this field is not valid for endpoint devices. bit description 31:20 next capability offset ?ro. hardwired to 0 indicating this is the last capability. 19:16 capability version? ro. hardwired to 1h. 15:0 pci express* extended capability id ?ro. hardwired to 0005h. bit description 31:24 port number ?ro. hardwired to 0fh indicating that the intel ? high definition audio controller is assigned as port #15d. 23:16 component id ?ro. this field returns the value of the esd.cid field of the chip configuration section. esd.cid is programmed by bios. 15:8 number of link entries ?ro. the intel ? high definition audio only connects to one device, the pch egress port. therefore, this field reports a value of 1h. 7:4 reserved 3:0 element type (eltyp )?ro. the intel ? high definition audio controller is an integrated root complex device. therefore, the field reports a value of 0h.
datasheet 727 intel ? high definition audio controller registers (d27:f0) 17.1.50 l1desc?link 1 description register (intel ? high definition audi o controller?d27:f0) address offset: 140h?143h attribute: ro default value: 00000001h size: 32 bits 17.1.51 l1addl?link 1 lo wer address register (intel ? high definition audi o controller?d27:f0) address offset: 148h?14bh attribute: ro default value: see register description size: 32 bits 17.1.52 l1addu?link 1 upper address register (intel ? high definition audi o controller?d27:f0) address offset: 14ch?14fh attribute: ro default value: 00000000h size: 32 bits bit description 31:24 target port number ?ro. the intel ? high definition audio controller targets the pch?s port 0. 23:16 target component id ?ro. this field returns the valu e of the esd.cid field of the chip configuration section. esd.cid is programmed by bios. 15:2 reserved 1 link type? ro. hardwired to 0 indicating type 0. 0 link valid ?ro. hardwired to 1. bit description 31:14 link 1 lower address ?ro. hardwired to match the rc ba register value in the pci- lpc bridge (d31:f0:f0h). 13:0 reserved bit description 31:0 link 1 upper address ?ro. hardwired to 00000000h.
intel ? high definition audio controller registers (d27:f0) 728 datasheet 17.2 intel ? high definition audio memory mapped configuration registers (intel ? high definition audio?d27:f0) the base memory location for these memory mapped configuration registers is specified in the hdbar register (d27:f0 :offset 10h and d27:f0:offset 14h). the individual registers are then accessible at hdbar + offset as indicated in table 17-2 . these memory mapped registers must be acce ssed in byte, word, or dword quantities. note: address locations that are not shown in ta b l e 17-2 should be treated as reserved. table 17-2. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 1 of 4) hdbar + offset mnemonic register name default access 00h?01h gcap global capabilities 4401h ro 02h vmin minor version 00h ro 03h vmaj major version 01h ro 04h?05h outpay output payload capability 003ch ro 06h?07h inpay input payload capability 001dh ro 08h?0bh gctl global control 00000000h r/w 0ch?0dh wakeen wake enable 0000h r/w 0eh?0fh statests state change status 0000h r/wc 10h?11h gsts global status 0000h r/wc 12h?13h rsv reserved 0000h ro 14h?17h rsv reserved 00000000h ro 18h?19h outstrmpay output stream payload capability 0030h ro 1ah?1bh instrmpay input stream payload capability 0018h ro 1ch?1fh rsv reserved 00000000h ro 20h?23h intctl interrupt control 00000000h r/w 24h?27h intsts interrupt status 00000000h ro 30h?33h walclk wall clock counter 00000000h ro 34?37h rsv reserved 00000000h ro 38h?3bh ssync stream synchronization 00000000h r/w 40h?43h corblbase corb lower base address 00000000h r/w, ro 44h?47h corbubase corb upper base address 00000000h r/w 48h?49h corbwp corb write pointer 0000h r/w 4ah?4bh corbrp corb read pointer 0000h r/w, ro 4ch corbctl corb control 00h r/w 4dh corbst corb status 00h r/wc 4eh corbsize corb size 42h ro 50h?53h rirblbase rirb lower base address 00000000h r/w, ro
datasheet 729 intel ? high definition audio controller registers (d27:f0) 54h?57h rirbubase rirb upper base address 00000000h r/w 58h?59h rirbwp rirb write pointer 0000h r/w, ro 5ah?5bh rintcnt response interrupt count 0000h r/w 5ch rirbctl rirb control 00h r/w 5dh rirbsts rirb status 00h r/wc 5eh rirbsize rirb size 42h ro 60h?63h ic immediate command 00000000h r/w 64h?67h ir immediate response 00000000h ro 68h?69h ics immediate command status 0000h r/w, r/ wc 70h?73h dplbase dma position lower base address 00000000h r/w, ro 74h?77h dpubase dma position upper base address 00000000h r/w 80?82h isd0ctl input stream descriptor 0 (isd0) control 040000h r/w, ro 83h isd0sts isd0 status 00h r/wc, ro 84h?87h isd0lpib isd0 link position in buffer 00000000h ro 88h?8bh isd0cbl isd0 cyclic buffer length 00000000h r/w 8ch?8dh isd0lvi isd0 last valid index 0000h r/w 8eh?8f isd0fifow isd0 fifo watermark 0004h r/w 90h?91h isd0fifos isd0 fifo size 0077h ro 92h?93h isd0fmt isd0 format 0000h r/w 98h?9bh isd0bdpl isd0 buffer descriptor list pointer- lower base address 00000000h r/w, ro 9ch?9fh isd0bdpu isd0 buffer descripti on list pointer- upper base address 00000000h r/w a0h?a2h isd1ctl input stream desc riptor 1(isd01) control 040000h r/w, ro a3h isd1sts isd1 status 00h r/wc, ro a4h?a7h isd1lpib isd1 link position in buffer 00000000h ro a8h?abh isd1cbl isd1 cyclic buffer length 00000000h r/w ach?adh isd1lvi isd1 last valid index 0000h r/w aeh?afh isd1fifow isd1 fifo watermark 0004h r/w b0h?b1h isd1fifos isd1 fifo size 0077h ro b2h?b3h isd1fmt isd1 format 0000h r/w b8h?bbh isd1bdpl isd1 buffer descriptor list pointer- lower base address 00000000h r/w, ro bch?bfh isd1bdpu isd1 buffer descripti on list pointer- upper base address 00000000h r/w table 17-2. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 2 of 4) hdbar + offset mnemonic register name default access
intel ? high definition audio controller registers (d27:f0) 730 datasheet c0h?c2h isd2ctl input stream descriptor 2 (isd2) control 040000h r/w, ro c3h isd2sts isd2 status 00h r/wc, ro c4h?c7h isd2lpib isd2 link position in buffer 00000000h ro c8h?cbh isd2cbl isd2 cyclic buffer length 00000000h r/w cch?cdh isd2lvi isd2 last valid index 0000h r/w ceh?cfh isd1fifow isd1 fifo watermark 0004h r/w d0h?d1h isd2fifos isd2 fifo size 0077h ro d2h?d3h isd2fmt isd2 format 0000h r/w d8h?dbh isd2bdpl isd2 buffer descript or list pointer- lower base address 00000000h r/w, ro dch?dfh isd2bdpu isd2 buffer descript ion list pointer- upper base address 00000000h r/w e0h?e2h isd3ctl input stream descriptor 3 (isd3) control 040000h r/w, ro e3h isd3sts isd3 status 00h r/wc, ro e4h?e7h isd3lpib isd3 link position in buffer 00000000h ro e8h?ebh isd3cbl isd3 cyclic buffer length 00000000h r/w ech?edh isd3lvi isd3 last valid index 0000h r/w eeh?efh isd3fifow isd3 fifo watermark 0004h r/w f0h?f1h isd3fifos isd3 fifo size 0077h ro f2h?f3h isd3fmt isd3 format 0000h r/w f8h?fbh isd3bdpl isd3 buffer descript or list pointer- lower base address 00000000h r/w, ro fch?ffh isd3bdpu isd3 buffer descript ion list pointer- upper base address 00000000h r/w 100h?102h osd0ctl output stream descriptor 0 (osd0) control 040000h r/w, ro 103h osd0sts osd0 status 00h r/wc, ro 104h?107h osd0lpib osd0 link position in buffer 00000000h ro 108h?10bh osd0cbl osd0 cyclic buffer length 00000000h r/w 10ch?10dh osd0lvi osd0 last valid index 0000h r/w 10eh?10fh osd0fifow osd0 fifo watermark 0004h r/w 110h?111h osd0fifos osd0 fifo size 00bfh r/w 112?113h osd0fmt osd0 format 0000h r/w 118h?11bh osd0bdpl osd0 buffer descriptor list pointer- lower base address 00000000h r/w, ro 11ch?11fh osd0bdpu osd0 buffer description list pointer- upper base address 00000000h r/w table 17-2. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 3 of 4) hdbar + offset mnemonic register name default access
datasheet 731 intel ? high definition audio controller registers (d27:f0) 120h?122h osd1ctl output stream desc riptor 1 (osd1) control 040000h r/w, ro 123h osd1sts osd1 status 00h r/wc, ro 124h?127h osd1lpib osd1 link position in buffer 00000000h ro 128h?12bh osd1cbl osd1 cyclic buffer length 00000000h r/w 12ch?12dh osd1lvi osd1 last valid index 0000h r/w 12eh?12fh osd1fifow osd1 fifo watermark 0004h r/w 130h?131h osd1fifos osd1 fifo size 00bfh r/w 132h?133h osd1fmt osd1 format 0000h r/w 138h?13bh osd1bdpl osd1 buffer descript or list pointer- lower base address 00000000h r/w, ro 13ch?13fh osd1bdpu osd1 buffer descript ion list pointer- upper base address 00000000h r/w 140h?142h osd2ctl output stream desc riptor 2 (osd2) control 040000h r/w, ro 143h osd2sts osd2 status 00h r/wc, ro 144h?147h osd2lpib osd2 link position in buffer 00000000h ro 148h?14bh osd2cbl osd2 cyclic buffer length 00000000h r/w 14ch?14dh osd2lvi osd2 last valid index 0000h r/w 14eh?14fh osd2fifow osd2 fifo watermark 0004h r/w 150h?151h osd2fifos osd2 fifo size 00bfh r/w 152h?153h osd2fmt osd2 format 0000h r/w 158h?15bh osd2bdpl osd2 buffer descript or list pointer- lower base address 00000000h r/w, ro 15ch?15fh osd2bdpu osd2 buffer descript ion list pointer- upper base address 00000000h r/w 160h?162h osd3ctl output stream desc riptor 3 (osd3) control 040000h r/w, ro 163h osd3sts osd3 status 00h r/wc, ro 164h?167h osd3lpib osd3 link position in buffer 00000000h ro 168h?16bh osd3cbl osd3 cyclic buffer length 00000000h r/w 16ch?16dh osd3lvi osd3 last valid index 0000h r/w 16eh?16fh osd3fifow osd3 fifo watermark 0004h r/w 170h?171h osd3fifos osd3 fifo size 00bfh r/w 172h?173h osd3fmt osd3 format 0000h r/w 178h?17bh osd3bdpl osd3 buffer descript or list pointer- lower base address 00000000h r/w, ro 17ch?17fh osd3bdpu osd3 buffer descript ion list pointer- upper base address 00000000h r/w table 17-2. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 4 of 4) hdbar + offset mnemonic register name default access
intel ? high definition audio controller registers (d27:f0) 732 datasheet 17.2.1 gcap?global capabilities register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 00h attribute: ro default value: 4401h size: 16 bits 17.2.2 vmin?minor ve rsion register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 02h attribute: ro default value: 00h size: 8 bits 17.2.3 vmaj?major version register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 03h attribute: ro default value: 01h size: 8 bits bit description 15:12 number of output stream supported ?ro. hardwired to 0100b indicating that the pch?s intel ? high definition audio contro ller supports 4 output streams. 11:8 number of input stream supported ?ro. hardwired to 0100b indicating that the pch?s intel ? high definition audio contro ller supports 4 input streams. 7:3 number of bidirectio nal stream supported ?ro. hardwired to 0 indicating that the pch?s intel ? high definition audio controller supports 0 bidirectional stream. 2 reserved 1 number of serial data out signals ?ro. hardwired to 0 indicating that the pch?s intel ? high definition audio controller su pports 1 serial data output signal. 0 64-bit address supported ?ro. hardwired to 1b indicating that the pch?s intel ? high definition audio controller supports 64-bit addressing for bdl addresses, data buffer addressees, and co mmand buffer addresses. bit description 7:0 minor version ?ro. hardwired to 0 indicating that the pch supports minor revision number 00h of the intel ? high definition audio specification. bit description 7:0 major version ?ro. hardwired to 01h indicating that the pch supports major revision number 1 of the intel ? high definition audio specification.
datasheet 733 intel ? high definition audio controller registers (d27:f0) 17.2.4 outpay?output payloa d capability register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 04h attribute: ro default value: 003ch size: 16 bits 17.2.5 inpay?input payloa d capability register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 06h attribute: ro default value: 001dh size: 16 bits bit description 15:7 reserved 6:0 output payload capability ?ro. hardwired to 3ch indicating 60 word payload. this field indicates the total output payload available on the link. this does not include bandwidth used for command and control. this measurement is in 16-bit word quantities per 48 mhz frame. the default link clock of 24.000 mhz (the data is double pumped) provides 1000 bits per frame, or 62. 5 words in total. 40 bits are used for command and control, leaving 60 words available for data payload. 00h = 0 word 01h = 1 word payload. ..... ffh = 256 word payload. bit description 15:7 reserved 6:0 input payload capability ?ro. hardwired to 1dh indicating 29 word payload. this field indicates the total output payload available on the link. this does not include bandwidth used for response. this measurement is in 16 -bit word quantities per 48 mhz frame. the default link clock of 24. 000 mhz provides 500 bits per frame, or 31.25 words in total. 36 bits are used for response, leaving 29 words available for data payload. 00h = 0 word 01h = 1 word payload. ..... ffh = 256 word payload.
intel ? high definition audio controller registers (d27:f0) 734 datasheet 17.2.6 gctl?global control register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 08h attribute: r/w default value: 00000000h size: 32 bits bit description 31:9 reserved 8 accept unsolicited response enable? r/w. 0 = unsolicited responses from the codecs are not accepted. 1 = unsolicited response from the codecs are accepted by the controller and placed into the response input ring buffer. 7:2 reserved 1 flush control ?r/w. writing a 1 to this bit initiates a flush. when the flush completion is received by the controller, hardware sets the flush status bit and clears this flush control bit. before a flush cycle is initiated, the dma position buffer must be programmed with a valid memory address by software, but the dma position buffer bit 0 needs not be set to enable the position reporting mechanism. also, all streams must be stopped (the associat ed run bit must be 0). when the flush is initiated, the controller wi ll flush the pipelines to memory to ensure that the hardware is ready to transition to a d3 state. setting this bit is not a critical step in the power state transition if the content of the fifos is not critical. 0 controller reset #? r/w. 0 = writing a 0 causes the intel ? high definition audio contro ller to be reset. all state machines, fifos, and non-resume well memory mapped config uration registers (not pci configuration registers) in th e controller will be reset. the intel ? high definition audio link reset# signal will be asserted, and all othe r link signals will be driven to their default values. afte r the hardware has completed sequencing into the reset state, it will report a 0 in this bit. soft ware must read a 0 from this bit to verify the controller is in reset. 1 = writing a 1 causes the controller to ex it its reset state and de-assert the intel ? high definition audio link reset# sign al. software is resp onsible for setting/ clearing this bit such that the minimum intel ? high definition audio link reset# signal assertion pulse width specification is met. when the cont roller hardware is ready to begin operation, it will report a 1 in this bit. softwa re must read a 1 from this bit before accessing any controller re gisters. this bit defaults to a 0 after hardware reset, therefore, software ne eds to write a 1 to this bit to begin operation. notes: 1. the corb/rirb run bits and all stream run bits must be verified cleared to 0 before writing a 0 to this bi t to assure a clean re-start. 2. when setting or clearing this bit, softwa re must ensure that minimum link timing requirements (minimum reset# assertion time, etc.) are met. 3. when this bit is 0 indicating that the contro ller is in reset, writes to all intel high definition audio memory ma pped registers are ignored as if the device is not present. the only exception is this regist er itself. the global control register is write-able as a dword, word, or byte even when crst# (this bit) is 0 if the byte enable for the byte containing the crst# bit (byte enable 0) is active. if byte enable 0 is not active, writes to the glob al control register will be ignored when crst# is 0. when crst# is 0, reads to intel high definition audio memory mapped registers will return their default value except for registers that are not reset with pltrst# or on a d3 hot to d0 transition.
datasheet 735 intel ? high definition audio controller registers (d27:f0) 17.2.7 wakeen?wake enable register (intel ? high definition audi o controller?d27:f0) memory address: hdbar + 0ch attribute: r/w default value: 0000h size: 16 bits function level reset: no 17.2.8 statests?state change status register (intel ? high definition audi o controller?d27:f0) memory address: hdbar + 0eh attribute: r/wc default value: 0000h size: 16 bits function level reset: no bit description 15:4 reserved 3:0 sdin wake enable flags? r/w. these bits control which sd i signal(s) may generate a wake event. a 1b in the bit mask indicates that the associated sd in signal is enabled to generate a wake. bit 0 is used for sdi[0] bit 1 is used for sdi[1] bit 2 is used for sdi[2] bit 3 is used for sdi[3] note: these bits are in the resume well an d only cleared on a power on reset. software must not make as sumptions about the reset state of these bits and must set them appropriately. bit description 15:4 reserved 3:0 sdin state change status flags? r/wc. flag bits that indi cate which sdi signal(s) received a state change event. the bits are cleared by writing 1s to them. bit 0 = sdi[0] bit 1 = sdi[1] bit 2 = sdi[2] bit 3 = sdi[3] these bits are in the resume well and only cleared on a power on reset. software must not make assumptions about the reset state of these bits and must set them appropriately.
intel ? high definition audio controller registers (d27:f0) 736 datasheet 17.2.9 gsts?global status register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 10h attribute: r/wc default value: 0000h size: 16 bits 17.2.10 outstrmpay?output st ream payload capability register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 18h attribute: ro default value: 0030h size: 16 bits bit description 15:2 reserved 1 flush status ?r/wc. this bit is set to 1 by hardwa re to indicate th at the flush cycle initiated when the flush control bit (hdbar + 08h, bit 1) was set has completed. software must write a 1 to cl ear this bit before the next time the flush control bit is set to clear the bit. 0 reserved bit description 15:8 reserved 7:0 output stream payload capability (outstrmpay) ?ro : indicates maximum number of words per frame for any single outp ut stream. this measurement is in 16 bit word quantities per 48 khz frame. 48 words (96b) is the maximum supported, therefore a value of 30h is reported in this register. software must ensure that a format which would cause more words per frame th an indicated is not programmed into the output stream descriptor register. 00h = 0 words 01h = 1 word payload ? ffh = 255h word payload
datasheet 737 intel ? high definition audio controller registers (d27:f0) 17.2.11 instrmpay?input st ream payload capability register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 1ah attribute: ro default value: 0018h size: 16 bits 17.2.12 intctl?interrupt control register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 20h attribute: r/w default value: 00000000h size: 32 bits bit description 15:8 reserved 7:0 input stream payload ca pability (instrmpay) ?ro. indicates maximum number of words per frame for any single input stre am. this measurement is in 16 bit word quantities per 48 khz frame. 24 words ( 48b) is the maximum supported, therefore a value of 18h is reported in this register. softwa re must ensure th at a format which would cause more words per fr ame than indicated is not programmed into the input stream descriptor register. 00h = 0 words 01h = 1 word payload ? ffh = 255h word payload bit description 31 global interrupt enable (gie)? r/w. global bit to enable device interrupt generation. 1 = when set to 1, the intel high definition audio function is enabled to generate an interrupt. this control is in addition to an y bits in the bus spec ific address space, such as the interrupt enable bi t in the pci configuration space. note: this bit is not affected by the d3 hot to d0 transition. 30 controller interrupt enable (cie)? r/w. enables the general interrupt for controller functions. 1 = when set to 1, the controller generates an interrupt when the corresponding status bit gets set due to a response interrupt , a response buffer overrun, and state change events. note: this bit is not affected by the d3 hot to d0 transition. 29:8 reserved
intel ? high definition audio controller registers (d27:f0) 738 datasheet 17.2.13 intsts?interrupt status register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 24h attribute: ro default value: 00000000h size: 32 bits 7:0 stream interrupt enable (sie)? r/w. when set to 1, th e individual streams are enabled to generate an in terrupt when the correspond ing status bits get set. a stream interrupt will be caused as a resu lt of a buffer with ioc = 1in the bdl entry being completed, or as a result of a fifo e rror (underrun or overrun) occurring. control over the generation of each of these sources is in the associated stream descriptor. the streams are numbered and the sie bits a ssigned sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4 bit description bit description 31 global interrupt status (gis) ?ro. this bit is an or of all the interrupt status bits in this register. note: this bit is not affected by the d3 hot to d0 transition. 30 controller interrupt status (cis)? ro. status of general controller interrupt. 1 = interrupt condition occurred due to a response interrupt, a response buffer overrun interrupt, or a sdin state ch ange event. the exact cause can be determined by interrogating other registers. this bit is an or of all of the stated interrupt status bits for this register. notes: 1. this bit is set regardless of the state of the corresponding interrupt enable bit, but a hardware interrupt will not be ge nerated unless the corresponding enable bit is set. 2. this bit is not affected by the d3 hot to d0 transition. 29:8 reserved 7:0 stream interrup t status (sis)? ro. 1 = interrupt condition occurred on the corresponding stream. th is bit is an or of all of the stream?s interrupt status bits. note: these bits are set regardless of the stat e of the corresponding interrupt enable bits. the streams are numbered and the sie bits a ssigned sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4
datasheet 739 intel ? high definition audio controller registers (d27:f0) 17.2.14 walclk?wall cloc k counter register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 30h attribute: ro default value: 00000000h size: 32 bits 17.2.15 ssync?stream synchronization register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 38h attribute: r/w default value: 00000000h size: 32 bits bit description 31:0 wall clock counter ?ro. a 32-bit counter that is incr emented on each link bit clock period and rolls over from ffff ffffh to 0000 0000h. this counter will roll over to 0 with a period of approximately 179 seconds. this counter is enabled while the bit clock bit is set to 1. software uses this counter to synchronize between multiple controllers. will be reset on controller reset. bit description 31:8 reserved 7:0 stream synchronization (ssync)? r/w. when set to 1, th ese bits block data from being sent on or received from the link. each bit controls the associated stream descriptor (that is, bit 0 corresponds to the first stream descriptor, etc.) to synchronously start a set of dma engines, these bits are first set to 1. the run bits for the associated stream descriptors are then set to 1 to start the dma engines. when all streams are ready (fifordy =1), the associated ssync bits can all be set to 0 at the same time, and transmission or receptio n of bits to or from the link will begin together at the start of the next full link frame. to synchronously stop the streams, fist these bits are set, and then the individual run bits in the stream descripto r are cleared by software. if synchronization is not desired, these bits ma y be left as 0, and th e stream will simply begin running normally when the stream?s run bit is set. the streams are numbered and the sie bits as signed sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4
intel ? high definition audio controller registers (d27:f0) 740 datasheet 17.2.16 corblbase?corb lowe r base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 40h attribute: r/w, ro default value: 00000000h size: 32 bits 17.2.17 corbubase?corb uppe r base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 44h attribute: r/w default value: 00000000h size: 32 bits 17.2.18 corbwp?corb write pointer register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 48h attribute: r/w default value: 0000h size: 16 bits bit description 31:7 corb lower base address? r/w. lower address of the command output ring buffer, allowing the corb ba se address to be assigned on any 128-b boundary. this register field must not be wr itten when the dma engine is running or the dma transfer may be corrupted. 6:0 corb lower base unimplemented bits ?ro. hardwired to 0. this required the corb to be allocated with 128b granularity to allow for cache line fetch optimizations. bit description 31:0 corb upper base address? r/w. upper 32 bits of the address of the command output ring buffer. this register field mu st not be written when the dma engine is running or the dma transfer may be corrupted. bit description 15:8 reserved 7:0 corb write pointer ?r/w. software writes the last va lid corb entry offset into this field in dword granularity. the dma engine fetches commands from the corb until the read pointer matches the write pointer. supports 256 corb entries (256x4b = 1kb). this register field may be writte n when the dma engine is running.
datasheet 741 intel ? high definition audio controller registers (d27:f0) 17.2.19 corbrp?corb read pointer register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 4ah attribute: r/w, ro default value: 0000h size: 16 bits 17.2.20 corbctl?corb control register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 4ch attribute: r/w default value: 00h size: 8 bits bit description 15 corb read pointer reset? r/w. software writes a 1 to this bit to reset the corb read pointer to 0 and clear any residual pr efetched commands in the corb hardware buffer within the intel high de finition audio controller. the hardware will physically update this bit to 1 when th e corb pointer reset is comple te. software must read a 1 to verify that the reset comp leted correctly. softwa re must clear this bit back to 0 and read back the 0 to verify that the clea r completed correctly. the corb dma engine must be stopped prior to resetting the re ad pointer or else dma transfer may be corrupted. 14:8 reserved 7:0 corb read pointer (corbrp) ?ro. software reads this field to determine how many commands it can write to the corb without over-running. the value read indicates the corb read pointer offset in dw ord granularity. the offset entry read from this field has been successfully fetched by the dma controller and may be over-written by software. supports 256 corb entries (256 x 4b=1kb). this field may be read while the dma engine is running. bit description 7:2 reserved 1 enable corb dma engine? r/w. 0 = dma stop 1 = dma run after software writes a 0 to this bit, th e hardware may not stop immediately. the hardware will physically upda te the bit to 0 when the dma engine is truly stopped. software must read a 0 from th is bit to verify that the dma engine is truly stopped. 0 corb memory error interrupt enable? r/w. if this bit is set, the controll er will generate an interrupt if the cmei status bit (hdbar + 4dh: bit 0) is set.
intel ? high definition audio controller registers (d27:f0) 742 datasheet 17.2.21 corbst?corb status register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 4dh attribute: r/wc default value: 00h size: 8 bits 17.2.22 corbsize?cor b size register intel ? high definition audio controller?d27:f0) memory address:hdbar + 4eh attribute: ro default value: 42h size: 8 bits 17.2.23 rirblbase?rirb lower base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 50h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 7:1 reserved 0 corb memory error indication (cmei)? r/wc. 1 = controller detected an e rror in the path way between the controller and memory. this may be an ecc bit erro r or any other type of de tectable data error which renders the command data fetched invalid. software can clear this bit by writing a 1 to it. however, this type of error leaves the audio subsystem in an un-viab le state and typically requir es a controller reset by writing a 0 to the controller re set # bit (hdbar + 08h: bit 0). bit description 7:4 corb size capability ?ro. hardwired to 0100b indicating that the pch only supports a corb size of 256 corb entries (1024b) 3:2 reserved 1:0 corb size ?ro. hardwired to 10b which sets th e corb size to 256 entries (1024b) bit description 31:7 rirb lower base address? r/w. lower address of the re sponse input ring buffer, allowing the rirb base address to be assigned on an y 128-b boundary. this register field must not be written when the dma engine is running or the dma transfer may be corrupted. 6:0 rirb lower base unimplemented bits?ro. hard wired to 0. this re quired the rirb to be allocated with 128-b granularity to allow for cache line fetch optimizations.
datasheet 743 intel ? high definition audio controller registers (d27:f0) 17.2.24 rirbubase?rirb upper base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 54h attribute: r/w default value: 00000000h size: 32 bits 17.2.25 rirbwp?rirb writ e pointer register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 58h attribute: r/w, ro default value: 0000h size: 16 bits bit description 31:0 rirb upper base address? r/w. upper 32 bits of the address of the response input ring buffer. this register fi eld must not be writ ten when the dma engine is running or the dma transfer may be corrupted. bit description 15 rirb write pointer reset? r/w. software writes a 1 to this bit to reset the rirb write pointer to 0. the rirb dma engine mu st be stopped prior to resetting the write pointer or else dma transfer may be corrupted. this bit is always read as 0. 14:8 reserved 7:0 rirb write pointer (rirbwp) ?ro. indicates the last valid rirb entry written by the dma controller. software reads this fiel d to determine how many responses it can read from the rirb. the value read indicates the rirb write pointe r offset in 2 dword rirb entry units (since each rirb entry is 2 dwords long). supports up to 256 rirb entries (256 x 8 b = 2 kb). this register fi eld may be written when the dma engine is running.
intel ? high definition audio controller registers (d27:f0) 744 datasheet 17.2.26 rintcnt?response in terrupt count register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 5ah attribute: r/w default value: 0000h size: 16 bits 17.2.27 rirbctl?rirb control register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 5ch attribute: r/w default value: 00h size: 8 bits bit description 15:8 reserved 7:0 n response interrupt count? r/w. 0000 0001b = 1 response sent to rirb ........... 1111 1111b = 255 responses sent to rirb 0000 0000b = 256 responses sent to rirb the dma engine should be stopped when changi ng this field or else an interrupt may be lost. note that each response occupies 2 dwords in the rirb. this is compared to the total number of resp onses that have been returned, as opposed to the number of frames in which there we re responses. if more than one codecs responds in one frame, th en the count is increased by the number of responses received in the frame. bit description 7:3 reserved 2 response overrun interrupt control? r/w. if this bit is set, the hardware will generate an interrupt when the response overrun interrupt status bit (hdbar + 5dh: bit 2) is set. 1 enable rirb dma engine? r/w. 0 = dma stop 1 = dma run after software writes a 0 to this bit, th e hardware may not stop immediately. the hardware will physically update the bit to 0 when the dma engine is truly stopped. software must read a 0 from this bit to ve rify that the dma engine is truly stopped. 0 response interrupt control ?r/w. 0 = disable interrupt 1 = generate an interrupt after n number of responses are sent to the rirb buffer or when an empty response slot is encountered on all sdi[x] inputs (whichever occurs first). the n counter is rese t when the interrupt is generated.
datasheet 745 intel ? high definition audio controller registers (d27:f0) 17.2.28 rirbsts?rirb status register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 5dh attribute: r/wc default value: 00h size: 8 bits 17.2.29 rirbsize?rir b size register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 5eh attribute: ro default value: 42h size: 8 bits 17.2.30 ic?immediate command register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 60h attribute: r/w default value: 00000000h size: 32 bits bit description 7:3 reserved 2 response overrun interrupt status? r/wc. 1 = software sets this bit to 1 when the rirb dma engine is not able to write the incoming responses to memory before a dditional incoming responses overrun the internal fifo. when the ov errun occurs, the hardware will drop the responses which overrun the buffer. an interrupt ma y be generated if the response overrun interrupt control bit is set. note that this status bit is set even if an interrupt is not enabled for this event. software clears this bi t by writing a 1 to it. 1 reserved 0 response interrupt? r/wc. 1 = hardware sets this bit to 1 when an in terrupt has been gene rated after n number of responses are sent to the rirb buffe r or when an empty response slot is encountered on all sdi[x] inputs (whichever occurs first). note th at this status bit is set even if an interrupt is not enabled for this event. software clears this bi t by writing a 1 to it. bit description 7:4 rirb size capability ?ro. hardwired to 0100b indicating that the pch only supports a rirb size of 256 rirb entries (2048b) 3:2 reserved 1:0 rirb size ?ro. hardwired to 10b which sets the corb size to 256 entries (2048b) bit description 31:0 immediate command write?r/w . the command to be sent to the codec using the immediate command mechanism is written to this register. the command stored in this register is sent out ov er the link during the next availa ble frame after a 1 is written to the icb bit (hdbar + 68h: bit 0)
intel ? high definition audio controller registers (d27:f0) 746 datasheet 17.2.31 ir?immediate response register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 64h attribute: ro default value: 00000000h size: 32 bits 17.2.32 ics?immedi ate command status register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 68h attribute: r/w, r/wc default value: 0000h size: 16 bits bit description 31:0 immediate response read (irr) ?ro. this register contains the response received from a codec resulting from a command sent using the immediate command mechanism. if multiple codecs responded in the same time, there is no assurance as to which response will be latched. therefore, br oadcast-type commands must not be issued using the immediate command mechanism. bit description 15:2 reserved 1 immediate result valid (irv) ?r/wc. 1 = set to 1 by hardware when a new response is latched into the immediate response register (hdbar + 64). this is a status flag indicating that software may read the response from the immedi ate response register. software must clear this bit by writing a 1 to it before issuing a new command so that the software may determine when a new response has arrived. 0 immediate command busy (icb) ?r/w. when this bit is read as 0, it indicates that a new command may be issued using the immediate command mechanism. when this bit transitions from a 0 to a 1 (using softwa re writing a 1), the controller issues the command currently stored in the immediate command register to the codec over the link. when the corresponding response is latched into the immediate response register, the controller hardware sets the irv fl ag and clears the icb bit back to 0. note: an immediate command must not be issued while the corb/rirb mechanism is operating, otherwise the responses conflict. this must be enforced by software.
datasheet 747 intel ? high definition audio controller registers (d27:f0) 17.2.33 dplbase?dma position lo wer base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 70h attribute: r/w, ro default value: 00000000h size: 32 bits 17.2.34 dpubase?dma position up per base address register (intel ? high definition audi o controller?d27:f0) memory address:hdbar + 74h attribute: r/w default value: 00000000h size: 32 bits bit description 31:7 dma position lower base address? r/w. lower 32 bits of the dma position buffer base address. this register field must not be written when any dma engine is running or the dma transfer may be corrupted. this same address is used by the flush control and must be programmed with a valid value before the flush control bit (hdbar+08h:bit 1) is set. 6:1 dma position lower base un implemented bits?ro. hardwired to 0 to force the 128- byte buffer alignment for cach e line write optimizations. 0 dma position buffer enable? r/w. 1 = controller will write the dma positions of each of the dma engi nes to the buffer in the main memory periodically (typically once per fram e). software can use this value to know what data in memory is valid data. bit description 31:0 dma position upper base address ?r/w. upper 32 bits of the dma position buffer base address. this register field must not be written when any dma engine is running or the dma transfer may be corrupted.
intel ? high definition audio controller registers (d27:f0) 748 datasheet 17.2.35 sdctl?stream descri ptor control register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0 ]: hdbar + 80h attribute: r/w, ro input stream[1]: hdbar + a0h input stream[2]: hdbar + c0h input stream[3]: hdbar + e0h output stream[0]: hdbar + 100h output stream[1]: hdbar + 120h output stream[2]: hdbar + 140h output stream[3]: hdbar + 160h default value: 040000h size: 24 bits bit description 23:20 stream number? r/w. this value reflect the tag associated with the data being transferred on the link. when data controlled by this descriptor is se nt out over the link, it will have its stream number encoded on the sync signal. when an input stream is dete cted on any of the sdi signals that match this value, the data samples are loaded into fifo associated with this descriptor. note that while a single sdi input may contain data from more than one stream number, two different sdi inputs may not be configured with the same stream number. 0000 = reserved 0001 = stream 1 ........ 1110 = stream 14 1111 = stream 15 19 bidirectional direction control?ro. this bi t is only meaningful for bidirectional streams; therefore, this bit is hardwired to 0. 18 traffic priority ?ro. hardwired to 1 indicating that all streams will use vc1 if it is enabled through the pc i express* registers. 17:16 stripe control?ro. this bit is only meaningful for input streams; th erefore, this bit is hardwired to 0. 15:5 reserved 4 descriptor error interrupt enable? r/w. 0 = disable 1 = an interrupt is generated when th e descriptor error status bit is set. 3 fifo error interrupt enable? r/w. this bit controls whether th e occurrence of a fifo error (overrun for input or underrun for output) will cause an interrupt or not. if this bit is not set, bit 3in the status register will be set, but the interrupt will not occu r. either way, the samples will be dropped. 2 interrupt on completion enable? r/w. this bit controls whether or not an interru pt occurs when a buffe r completes with the ioc bit set in its descriptor. if this bit is not set, bit 2 in th e status register will be set, but the interrupt will not occur.
datasheet 749 intel ? high definition audio controller registers (d27:f0) 1 stream run (run)? r/w. 0 = dma engine associated with this input stream will be disabled. the hardware will report a 0 in this bit when the dma engine is actually stopped. software must read a 0 from this bit before modifying related control registers or restarting the dma engine. 1 = dma engine associated with this input st ream will be enabled to transfer data from the fifo to the main memory. the ssync bit must also be cleared for the dma engine to run. for output streams, the cadence generator is reset whenever the run bit is set. 0 stream reset (srst)? r/w. 0 = writing a 0 causes the corresponding st ream to exit reset. when the stream hardware is ready to begin operation, it wi ll report a 0 in this bit. software must read a 0 from this bit before acce ssing any of the stream registers. 1 = writing a 1 causes the corresponding stre am to be reset. the stream descriptor registers (except the srst bit itself) an d fifos for the corresponding stream are reset. after the stream hardware has completed sequencing into the reset state, it will report a 1 in this bit. software must read a 1 from this bit to verify that the stream is in reset. the run bit must be cleare d before srst is asserted. bit description
intel ? high definition audio controller registers (d27:f0) 750 datasheet 17.2.36 sdsts?stream descri ptor status register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0 ]: hdbar + 83h attribute: r/wc, ro input stream[1]: hdbar + a3h input stream[2]: hdbar + c3h input stream[3]: hdbar + e3h output stream[0]: hdbar + 103h output stream[1]: hdbar + 123h output stream[2]: hdbar + 143h output stream[3]: hdbar + 163h default value: 00h size: 8 bits bit description 7:6 reserved 5 fifo ready (fifordy) ?ro. for output streams, the cont roller hardware will set this bit to 1 while the output dma fifo contains enough data to maintain the stream on the link. this bit defaults to 0 on reset because the fifo is cleared on a reset. for input streams, the co ntroller hardware will set this bit to 1 when a valid descriptor is loaded and the engine is ready for the run bit to be set. 4 descriptor error? r/wc. 1 = a serious error occurred duri ng the fetch of a descriptor. this could be a result of a master abort, a parity or ecc error on the bus, or any other error which renders the current buffer descriptor or buffer descri ptor list useless. this error is treated as a fatal stream error, as the stream cann ot continue running. the run bit will be cleared and the stre am will stopped. software may attempt to rest art the stream engine after addressing the cause of the error and writing a 1 to this bit to clear it. 3 fifo error? r/wc. 1 = fifo error occurred. this bi t is set even if an interrupt is not enabled. the bit is cleared by writing a 1 to it. for an input stream, this indicates a fifo overrun occurring while the run bit is set. when this happens, the fifo pointers do no t increment and the incoming data is not written into the fifo, thereby being lost. for an output stream, this indicates a fifo underrun when there are still buffers to send. the hardware should not transmit anythi ng on the link for the associated stream if there is not valid data to send. 2 buffer completion interrupt status? r/wc. this bit is set to 1 by the hardware afte r the last sample of a buffer has been processed, and if the interrupt on completion bit is set in the command byte of the buffer descriptor. it re mains active until software clea rs it by writing a 1 to it. 1:0 reserved
datasheet 751 intel ? high definition audio controller registers (d27:f0) 17.2.37 sdlpib?stream descriptor link position in buffer register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 84h attribute: ro input stream[1]: hdbar + a4h input stream[2]: hdbar + c4h input stream[3]: hdbar + e4h output stream[0]: hdbar + 104h output stream[1]: hdbar + 124h output stream[2]: hdbar + 144h output stream[3]: hdbar + 164h default value: 00000000h size: 32 bits 17.2.38 sdcbl?stream de scriptor cyclic buffer length register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0]: hdbar + 88h attribute: r/w input stream[1]: hdbar + a8h input stream[2]: hdbar + c8h input stream[3]: hdbar + e8h output stream[0]: hdbar + 108h output stream[1]: hdbar + 128h output stream[2]: hdbar + 148h output stream[3]: hdbar + 168h default value: 00000000h size: 32 bits bit description 31:0 link position in buffer? ro. indicates the number of bytes that have been received off the link. this register will count from 0 to the value in the cyclic buffer length register and then wrap to 0. bit description 31:0 cyclic buffer length? r/w. indicates the number of bytes in the complete cyclic buffer. this register represen ts an integer number of samp les. link position in buffer will be reset when it reaches this value. software may only write to this register after global reset, controller reset, or stream reset has occurred. this value should be only modified when the run bit is 0. once the run bit has been set to enable the engine, software must not write to this register until after the next reset is asserted , or transfer may be corrupted.
intel ? high definition audio controller registers (d27:f0) 752 datasheet 17.2.39 sdlvi?stream descriptor last valid index register (intel ? high definition audi o controller?d27:f0) memory address:input stream [0]: hdbar + 8ch attribute: r/w input stream[1]: hdbar + ach input stream[2]: hdbar + cch input stream[3]: hdbar + ech output stream[0]: hdbar + 10ch output stream[1]: hdbar + 12ch output stream[2]: hdbar + 14ch output stream[3]: hdbar + 16ch default value: 0000h size: 16 bits 17.2.40 sdfifow?stream descript or fifo watermark register (intel ? high definition audi o controller?d27:f0) memory address:input stream [0]: hdbar + 8eh attribute: r/w input stream[1]: hdbar + aeh input stream[2]: hdbar + ceh input stream[3]: hdbar + eeh output stream[0]: hdbar + 10eh output stream[1]: hdbar + 12eh output stream[2]: hdbar + 14eh output stream[3]: hdbar + 16eh default value: 0004h size: 16 bits bit description 15:8 reserved 7:0 last valid index? r/w. the value written to this re gister indicates the index for the last valid buffer descript or in bdl. after the controller has processed this descriptor, it will wrap back to the first descriptor in the list and continue processing. this field must be at least 1; that is, there must be at le ast 2 valid entries in the buffer descriptor list before dma operations can begin. this value should only modi fied when the run bit is 0. bit description 15:3 reserved 2:0 fifo watermark (fifow)? r/w. indicates the minimum number of bytes accumulated/free in the fifo be fore the controller will star t a fetch/eviction of data. 010 = 8b 011 = 16b 100 = 32b (default) 101 = 64b others = unsupported note: when the bit field is programmed to an unsupported size, the hardware sets itself to the default value. software must read the bit field to test if the value is supported after setting the bit field.
datasheet 753 intel ? high definition audio controller registers (d27:f0) 17.2.41 sdfifos?stream descri ptor fifo size register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0]: hdbar + 90h attribute: input: ro input stream[1]: hdbar + b0h output: r/w input stream[2]: hdbar + d0h input stream[3]: hdbar + f0h output stream[0]: hdbar + 110h output stream[1]: hdbar + 130h output stream[2]: hdbar + 150h output stream[3]: hdbar + 170h default value: input stream: 0077h size: 16 bits output stream: see description. bit description 15:10 reserved 9:0 fifo size ?ro (input stream), r/w (output stream). indicates the maximum number of bytes that could be fetched by the cont roller at one time. this is the maximum number of bytes that may have been dma?d into memory but not yet transmitted on the link, and is also the maximum possible valu e that the picb count will increase by at one time. the value in this field is diffe rent for input and output stream s. it is also dependent on the bits per samples setting for the corresponding stream. following are the values read/written from/to this register for in put and output streams, and for non-padded and padded bit formats: output stream r/w value : notes: 1. all other values not listed are not supported. 2. when the output stream is programmed to an unsupported size, the hardware sets itself to the default value (bfh). 3. software must read the bit field to test if the value is supported after setting the bit field. input stream ro value : note: the default value is different for input and output streams, and reflects the default state of the bits fi elds (in stream descriptor format registers) for the corresponding stream. value output streams 0fh = 16b 8, 16, 20, 24, or 32 bit output streams 1fh = 32b 8, 16, 20, 24, or 32 bit output streams 3fh = 64b 8, 16, 20, 24, or 32 bit output streams 7fh = 128b 8, 16, 20, 24, or 32 bit output streams bfh = 192b 8, 16, or 32 bit output streams (default) ffh = 256b 20 or 24 bit output streams (default) 17fh = 384b 8, 16, or 32 bit output streams 1ffh = 512b 20 or 24 bit output streams value input streams 77h = 120b 8, 16, 32 bit input streams 9fh = 160b 20, 24 bit input streams
intel ? high definition audio controller registers (d27:f0) 754 datasheet 17.2.42 sdfmt?stream descri ptor format register (intel ? high definition audi o controller?d27:f0) memory address:input stream [0]: hdbar + 92h attribute: r/w input stream[1]: hdbar + b2h input stream[2]: hdbar + d2h input stream[3]: hdbar + f2h output stream[0]: hdbar + 112h output stream[1]: hdbar + 132h output stream[2]: hdbar + 152h output stream[3]: hdbar + 172h default value: 0000h size: 16 bits bit description 15 reserved 14 sample base rate? r/w 0 = 48 khz 1 = 44.1 khz 13:11 sample base rate multiple? r/w 000 = 48 khz, 44.1 khz or less 001 = x2 (96 khz, 88.2 khz, 32 khz) 010 = x3 (144 khz) 011 = x4 (192 khz, 176.4 khz) others = reserved. 10:8 sample base rate devisor? r/w. 000 = divide by 1(48 khz, 44.1 khz) 001 = divide by 2 (24 khz, 22.05 khz) 010 = divide by 3 (16 khz, 32 khz) 011 = divide by 4 (11.025 khz) 100 = divide by 5 (9.6 khz) 101 = divide by 6 (8 khz) 110 = divide by 7 111 = divide by 8 (6 khz) 7 reserved 6:4 bits per sample (bits)? r/w. 000 = 8 bits. the data will be packed in memory in 8-bit co ntainers on 16-bit boundaries 001 = 16 bits. the data will be packed in memory in 16-bit containers on 16-bit boundaries 010 = 20 bits. the data will be packed in memory in 32-bit containers on 32-bit boundaries 011 = 24 bits. the data will be packed in memory in 32-bit containers on 32-bit boundaries 100 = 32 bits. the data will be packed in memory in 32-bit containers on 32-bit boundaries others = reserved. 3:0 number of channels (chan)?r/w. indicates number of channels in each frame of the stream. 0000 =1 0001 =2 ........ 1111 =16
datasheet 755 intel ? high definition audio controller registers (d27:f0) 17.2.43 sdbdpl?stream descriptor buffer descriptor list pointer lower base address register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0]: hdbar + 98h attribute: r/w,ro input stream[1]: hdbar + b8h input stream[2]: hdbar + d8h input stream[3]: hdbar + f8h output stream[0]: hdbar + 118h output stream[1]: hdbar + 138h output stream[2]: hdbar + 158h output stream[3]: hdbar + 178h default value: 00000000h size: 32 bits 17.2.44 sdbdpu?stream descriptor buffer descriptor list pointer upper base address register (intel ? high definition audi o controller?d27:f0) memory address:input stream[0]: hdbar + 9ch attribute: r/w input stream[1]: hdbar + bch input stream[2]: hdbar + dch input stream[3]: hdbar + fch output stream[0]: hdbar + 11ch output stream[1]: hdbar + 13ch output stream[2]: hdbar + 15ch output stream[3]: hdbar + 17ch default value: 00000000h size: 32 bits bit description 31:7 buffer descriptor list po inter lower ba se address? r/w. lower address of the buffer descriptor list. this value should only be modified when the run bit is 0, or dma transfer may be corrupted. 6:0 hardwired to 0 forcing al ignment on 128-b boundaries. bit description 31:0 buffer descriptor list po inter upper base address? r/w. upper 32-bit address of the buffer descriptor list. this value should only be modified when the run bit is 0, or dma transfer may be corrupted.
intel ? high definition audio controller registers (d27:f0) 756 datasheet
datasheet 757 smbus controller registers (d31:f3) 18 smbus controller registers (d31:f3) 18.1 pci configuration registers (smbus?d31:f3) note: registers that are not shown should be treated as reserved (see section 9.2 for details). 18.1.1 vid?vendor identificati on register (smbus?d31:f3) address: 00h ? 01h attribute: ro default value: 8086h size: 16 bits table 18-1. smbus controller pci re gister address map (smbus?d31:f3) offset mnemonic register name default type 00h?01h vid vendor identification 8086 ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0280h ro 08h rid revision identification see register description ro 09h pi programming interface 00h ro 0ah scc sub class code 05h ro 0bh bcc base class code 0ch ro 10h smbmbar0 memory base address register 0 (bit 31:0) 00000004h r/w 14h smbmbar1 memory based address register 1 (bit 63:32) 00000000h r/w 20h?23h smb_base smbus base address 00000001h r/w, ro 2ch?2dh svid subsystem vendor identification 0000h ro 2eh?2fh sid subsystem identification 0000h r/wo 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 40h hostc host configuration 00h r/w bit description 15:0 vendor id? ro. this is a 16-bit value assigned to intel
smbus controller registers (d31:f3) 758 datasheet 18.1.2 did?device identificati on register (smbus?d31:f3) address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits 18.1.3 pcicmd?pci command register (smbus?d31:f3) address: 04h ? 05h attributes: ro, r/w default value: 0000h size: 16 bits bit description 15:0 device id ?ro. this is a 16-bit value assigned to the pch smbus controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable? r/w. 0 = enable 1 = disables smbus to assert its pirqb# signal. 9 fast back to back enable (fbe)?ro. hardwired to 0. 8 serr# enable (serr_en)? r/w. 0 = enables serr# generation. 1 = disables serr# generation. 7 wait cycle control (wcc) ?ro. hardwired to 0. 6 parity error response (per) ?r/w. 0 = disable 1 = sets detected parity error bit (d31:f3:06 , bit 15) when a parity error is detected. 5 vga palette snoop (vps )?ro. hardwired to 0. 4 postable memory write enable (pmwe)?ro. hardwired to 0. 3 special cycle en able (sce)?ro. hardwired to 0. 2 bus master enable (bme) ?ro. hardwired to 0. 1 memory space enable (mse) ?r/w. 0 = disables memory mapped config space. 1 = enables memory mapped config space. 0 i/o space enable (iose)? r/w. 0 = disable 1 = enables access to the smbus i/o space registers as defined by the base address register.
datasheet 759 smbus controller registers (d31:f3) 18.1.4 pcists?pci status register (smbus?d31:f3) address: 06h ? 07h attributes: ro default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 18.1.5 rid?revision identificati on register (smbus?d31:f3) offset address: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (dpe) ?r/wc. 0 = no parity error detected. 1 = parity error detected. 14 signaled system error (sse)? r/wc. 0 = no system error detected. 1 = system error detected. 13 received master abort (rma)?ro. hardwired to 0. 12 received target abort (rta)?ro. hardwired to 0. 11 signaled target abort (sta)? ro. hardwired to 0. 10:9 devsel# timing status (devt)?ro. this 2-bit field defines the timing for devsel# assertion for positive decode. 01 = medium timing. 8 data parity error detected (dped)?ro. hardwired to 0. 7 fast back to back capable (fb2bc)?ro. hardwired to 1. 6 user definable features (udf)?ro. hardwired to 0. 5 66 mhz capable (66mhz_cap)?ro. hardwired to 0. 4 capabilities list (cap_list) ? ro. hardwired to 0 because there are no capability list structures in this function 3 interrupt status (ints) ?ro. this bit indicates that an interrupt is pending. it is independent from the state of the interrupt enable bit in the pci command register. 2:0 reserved bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register.
smbus controller registers (d31:f3) 760 datasheet 18.1.6 pi?programming interfac e register (smbus?d31:f3) offset address: 09h attribute: ro default value: 00h size: 8 bits 18.1.7 scc?sub class code register (smbus?d31:f3) address offset: 0ah attributes: ro default value: 05h size: 8 bits 18.1.8 bcc?base class code register (smbus?d31:f3) address offset: 0bh attributes: ro default value: 0ch size: 8 bits 18.1.9 smbmbar0?d31_f3_smbus memory base address 0 register (smbus?d31:f3) address offset: 10?13h attributes: r/w, ro default value: 00000004h size: 32 bits bit description 7:0 reserved bit description 7:0 sub class code (scc)?ro. 05h = smbus serial controller bit description 7:0 base class code (bcc)?ro. 0ch = serial controller. bit description 31:8 base address? r/w. provides the 32 byte system memory base address for the pch smb logic. 7:4 reserved 3 prefetchable (pref)?ro. hardwired to 0. indicates that smbmbar is not pre-fetchable. 2:1 address range (addrng)? ro. indicates that this smbmbar can be located anywhere in 64 bit address space. hardwired to 10b. 0 memory space indicator? ro. this read-only bit always is 0, indicating that the smb logic is memory mapped.
datasheet 761 smbus controller registers (d31:f3) 18.1.10 smbmbar1?d31_f3_smbus memory base address 1 register (smbus?d31:f3) address offset: 14h?17h attributes: r/w default value: 00000000h size: 32 bits 18.1.11 smb_base?smbus ba se address register (smbus?d31:f3) address offset: 20 ? 23h attribute: r/w, ro default value: 00000001h size: 32-bits 18.1.12 svid?subsystem vendor identification register (smbus?d31:f2/f4) address offset: 2ch ? 2dh attribute: ro default value: 0000h size: 16 bits lockable: no power well: core bit description 31:0 base address? r/w. provides bits 63?32 system memory base address for the pch smb logic. bit description 31:16 reserved?ro 15:5 base address? r/w. this field provides the 32-byt e system i/o base address for the pch?s smb logic. 4:1 reserved?ro 0 io space indicator?ro. hardwired to 1 indi cating that the smb logic is i/o mapped. bit description 15:0 subsystem vendor id (svid)? ro. the svid register, in combination with the subsystem id (sid) register, enables the operating system (os) to distinguish subsystems from each other. the value returned by reads to this register is the same as that which was written by bios into the ide svid register. note: software can write to this register only once per core well re set. writes should be done as a single 16-bit cycle.
smbus controller registers (d31:f3) 762 datasheet 18.1.13 sid?subsystem identification register (smbus?d31:f2/f4) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core 18.1.14 int_ln?interrupt line register (smbus?d31:f3) address offset: 3ch attributes: r/w default value: 00h size: 8 bits 18.1.15 int_pn?interrupt pin register (smbus?d31:f3) address offset: 3dh attributes: ro default value: see description size: 8 bits bit description 15:0 subsystem id (sid)? r/wo. the sid register, in combination with the svid register, enables the operating system (os) to distinguish subsystems from each other. the value returned by reads to this register is the same as that which was written by bios into the ide sid register. note: software can write to this register only once per core well re set. writes should be done as a single 16-bit cycle. bit description 7:0 interrupt line (int_ln)? r/w. this data is not used by the pch. it is to communicate to software the interrupt line that the interrupt pin is connected to pirqb#. bit description 7:0 interrupt pin (int_pn) ?ro. this reflects the valu e of d31ip.smip in chipset configuration space.
datasheet 763 smbus controller registers (d31:f3) 18.1.16 hostc?host configurat ion register (smbus?d31:f3) address offset: 40h attribute: r/w default value: 00h size: 8 bits bit description 7:4 reserved 3 ssreset - soft smbus reset ?r/w. 0 = the hw will reset this bit to 0 wh en smbus reset operation is completed. 1 = the smbus state machine and logic in the pch is reset. 2 i 2 c_en ?r/w. 0 = smbus behavior. 1 = the pch is enabled to communicate with i 2 c devices. this will change the formatting of some commands. 1 smb_smi_en? r/w. 0 = smbus interrupts will not generate an smi#. 1 = any source of an smb interrupt will in stead be routed to ge nerate an smi#. see section 5.20.4 (interrupts / smi#). this bit needs to be set fo r smbalert# to be enabled. 0 smbus host enable (hst_en)? r/w. 0 = disable the smbus host controller. 1 = enable. the smb host cont roller interface is enable d to execute commands. the intren bit (offset sm_base + 02h, bit 0) needs to be enable d for the smb host controller to interrupt or smi#. note that the smb host controller will not respond to any new requests until all inte rrupt requests have been cleared.
smbus controller registers (d31:f3) 764 datasheet 18.2 smbus i/o and memory mapped i/o registers the smbus registers (see table 18-2 ) can be accessed through i/o bar or memory bar registers in pci configuration space. the of fsets are the same for both i/o and memory mapped i/o registers. table 18-2. smbus i/o and memory ma pped i/o register address map smb_base + offset mnemonic register name default type 00h hst_sts host status 00h r/wc, ro 02h hst_cnt host control 00h r/w, wo 03h hst_cmd host command 00h r/w 04h xmit_slva transmit slave address 00h r/w 05h hst_d0 host data 0 00h r/w 06h hst_d1 host data 1 00h r/w 07h host_block_db host block data byte 00h r/w 08h pec packet error check 00h r/w 09h rcv_slva receive slave address 44h r/w 0ah?0bh slv_data receive slave data 0000h ro 0ch aux_sts auxiliary status 00h r/wc, ro 0dh aux_ctl auxiliary control 00h r/w 0eh smlink_pin_ctl smlink pin control (tco compatible mode) see register description r/w, ro 0fh smbus_pin_ctl smbus pin control see register description r/w, ro 10h slv_sts slave status 00h r/wc 11h slv_cmd slave command 00h r/w 14h notify_daddr notify device address 00h ro 16h notify_dlow notify data low byte 00h ro 17h notify_dhigh notify data high byte 00h ro
datasheet 765 smbus controller registers (d31:f3) 18.2.1 hst_sts?host status register (smbus?d31:f3) register offset: sm_base + 00h attribute: r/wc, ro default value: 00h size: 8-bits all status bits are set by hardware and cleared by the software writing a one to the particular bit position. writing a 0 to any bit position has no effect. bit description 7 byte done status (ds) ?r/wc. 0 = software can clear this by writing a 1 to it. 1 = host controller received a byte (for bl ock read commands) or if it has completed transmission of a byte (for block write commands) when the 32- byte buffer is not being used. note that this bit will be set, even on the last byte of the transfer. this bit is not set when transmission is due to the lan interface heartbeat. this bit has no meaning for block transf ers when the 32-byte buffer is enabled. note: when the last byte of a block message is received, the host controller will set this bit. however, it will not immediately set the intr bit (bit 1 in this register). when the interrupt handle r clears the ds bit, the message is considered complete, and the host controller will then set the intr bit (and generate another interrupt). th us, for a block message of n by tes, the pch will generate n+1 interrupts. the interrupt handler need s to be implemented to handle these cases. when not using the 32 byte buffe r, hardware will drive the smbclk signal low when the ds bit is set until sw clears the bit. this includes the last byte of a transfer. software must clear the ds bit before it can clear the busy bit. 6 inuse_sts ?r/w. this bit is used as semaphor e among various independent software threads that may need to us e the pch?s smbus logic, an d has no other effect on hardware. 0 = after a full pci reset, a read to this bit returns a 0. 1 = after the first read, subseque nt reads will return a 1. a write of a 1 to this bit will reset the next read va lue to 0. writing a 0 to this bit has no effect. software can poll this bit until it reads a 0, and will then own the usage of the host controller. 5 smbalert_sts ?r/wc. 0 = interrupt or smi# was not generated by smbalert#. software clears this bit by writing a 1 to it. 1 = the source of the interrupt or smi# wa s the smbalert# signal. this bit is only cleared by software writing a 1 to the bit position or by rsmrst# going low. if the signal is programmed as a gp io, then this bit will never be set. 4 failed? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the source of the interrupt or smi# was a failed bus transaction. this bit is set in response to the kill bit being set to terminate the host transaction. 3 bus_err ?r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the source of the interrupt of smi# was a transaction collision. 2 dev_err ?r/wc. 0 = software clears this bit by writing a 1 to it. the pch will then de-assert the interrupt or smi#. 1 = the source of the interrupt or sm i# was due to one of the following: ? invalid command field, ? unclaimed cycle (host initiated), ? host device time-out error.
smbus controller registers (d31:f3) 766 datasheet 18.2.2 hst_cnt?host control register (smbus?d31:f3) register offset: sm_base + 02h attribute: r/w, wo default value: 00h size: 8-bits note: a read to this register will clear th e byte pointer of the 32-byte buffer. 1 intr? r/wc. this bit can only be set by termination of a command. intr is not dependent on the intren bit (offset sm_base + 02h, bit 0) of the host controller register (offset 02h). it is only dependent on the te rmination of the command. if the intren bit is not set, then the intr bit will be set, although the interrupt will not be generated. software can poll the intr bit in this non-interrupt case. 0 = software clears this bit by writing a 1 to it. the pch then de-asserts the interrupt or smi#. 1 = the source of the interrupt or smi# was the successful completion of its last command. 0 host_busy ?r/wc. 0 = cleared by the pch when the current transaction is completed. 1 = indicates that the pch is running a command from the host interface. no smb registers should be accessed while this bit is set, except the block data byte register. the block data byte register can be accessed when th is bit is set only when the smb_cmd bits in the host cont rol register are programmed for block command or i 2 c read command. this is necessary to check the done_sts bit. bit description bit description 7 pec_en ?r/w. 0 = smbus host controller does not perform the transa ction with the pec phase appended. 1 = causes the host controller to perform the smbus transaction with the packet error checking phase appended. for writes, the value of the pec byte is transferred from the pec register. for reads, the pec byte is loaded in to the pec register. this bit must be written prior to the write in which the start bit is set. 6 start? wo. 0 = this bit will always return 0 on read s. the host_busy bit in the host status register (offset 00h) can be used to identify when the pch has finished the command. 1 = writing a 1 to this bit initiates the co mmand described in the smb_cmd field. all registers should be setup prior to writing a 1 to this bit position. 5 last_byte? wo. this bit is used for block read commands. 1 = software sets this bit to indicate that the next byte will be the last byte to be received for the block. this causes the pch to send a nack (instead of an ack) after receiving the last byte. note: once the second_to_sts bit in tco 2_sts register (d31:f0, tcobase+6h, bit 1) is set, the last_byte bit also ge ts set. while the second_to_sts bit is set, the last_byte bit cannot be cleare d. this prevents the pch from running some of the smbus commands (block read/write, i 2 c read, block i 2 c write).
datasheet 767 smbus controller registers (d31:f3) 4:2 smb_cmd? r/w. the bit encoding below indica tes which command the pch is to perform. if enabled, the pch will generate an interrupt or smi# when the command has completed if the value is for a non-suppo rted or reserved command, the pch will set the device error (dev_err) status bit (offset sm_base + 00h, bit 2) and generate an interrupt when the start bit is set. th e pch will perform no command, and will not operate until dev_err is cleared. 000 = quick : the slave address and read/write value (bit 0) are stored in the transmit slave address register. 001 = byte : this command uses the transmit slave address and command registers. bit 0 of the slave address register determines if th is is a read or write command. 010 = byte data : this command uses the transmit slave address, command, and data0 registers. bit 0 of the slave address register determines if this is a read or write command. if it is a read, the da ta0 register will contain the read data. 011 = word data : this command uses the transmit slave address, command, data0 and data1 registers. bit 0 of the slave address register determines if this is a read or write command. if it is a read, after the command completes, the data0 and data1 registers wi ll contain the read data. 100 = process call: this command uses the transmit slave address, command, data0 and data1 registers. bit 0 of the slave address register determines if this is a read or write command. after the command completes, the data0 and data1 registers will contain the read data. 101 = block : this command uses the transmit slave address, command, data0 registers, and the block data byte regist er. for block write, the count is stored in the data0 register and indicates how ma ny bytes of data will be transferred. for block reads, the count is received an d stored in the data0 register. bit 0 of the slave address register selects if this is a read or write command. for writes, data is retrieved from the first n (where n is equal to the specified count) addresses of the sram array. for reads, the data is stored in the block data byte register. 110 = i 2 c read : this command uses the transmit slave address, command, data0, data1 registers, and the block data byte register. the read data is stored in the block data byte register. the pch co ntinues reading data until the nak is received. 111 = block process: this command uses the transmit slave address, command, data0 and the block data byte register. fo r block write, the count is stored in the data0 register and indicates how many bytes of data will be transferred. for block read, the count is received and stored in the data0 register. bit 0 of the slave address register al ways indicate a write comm and. for writes, data is retrieved from the first m (where m is equal to the specified count) addresses of the sram array. for reads, the data is stored in the block data byte register. note: e32b bit in the auxiliary control register must be set for this command to work. 1 kill? r/w. 0 = normal smbus host controller functionality. 1 = kills the current ho st transaction taking place, se ts the failed status bit, and asserts the interrupt (or smi#). this bit, once se t, must be cleare d by software to allow the smbus host controll er to function normally. 0 intren? r/w. 0 = disable. 1 = enable the generation of an interrup t or smi# upon the completion of the command. bit description
smbus controller registers (d31:f3) 768 datasheet 18.2.3 hst_cmd?host command register (smbus?d31:f3) register offset: sm_base + 03h attribute: r/w default value: 00h size: 8 bits 18.2.4 xmit_slva?transmit slave address register (smbus?d31:f3) register offset: sm_base + 04h attribute: r/w default value: 00h size: 8 bits this register is transmitted by the host co ntroller in the slave address field of the smbus protocol. 18.2.5 hst_d0?host data 0 register (smbus?d31:f3) register offset: sm_base + 05h attribute: r/w default value: 00h size: 8 bits 18.2.6 hst_d1?host data 1 register (smbus?d31:f3) register offset: sm_base + 06h attribute: r/w default value: 00h size: 8 bits bit description 7:0 this 8-bit field is transmitted by the host controller in the command field of the smbus protocol during the execution of any command. bit description 7:1 address? r/w. this field provides a 7-bit address of the targeted slave. 0 rw? r/w. direction of the host transfer. 0 = write 1 = read bit description 7:0 data0/count? r/w. this field contains the 8-bit da ta sent in the data0 field of the smbus protocol. for block write commands, this register reflects the number of bytes to transfer. this register should be progra mmed to a value between 1 and 32 for block counts. a count of 0 or a count above 32 will result in unpredicta ble behavior. the host controller does not check or log invalid block counts. bit description 7:0 data1? r/w. this 8-bit register is transmitted in the data1 field of the smbus protocol during the execution of any command.
datasheet 769 smbus controller registers (d31:f3) 18.2.7 host_block_db?host bl ock data byte register (smbus?d31:f3) register offset: sm_base + 07h attribute: r/w default value: 00h size: 8 bits 18.2.8 pec?packet error check (pec) register (smbus?d31:f3) register offset: sm_base + 08h attribute: r/w default value: 00h size: 8 bits bit description 7:0 block data (bdta)? r/w. this is either a register, or a pointer into a 32-byte block array, depending upon whether the e32b bit is set in the auxiliary control register. when the e32b bit (offset sm_base + 0dh, bit 1) is cleared, this is a register containing a byte of data to be sent on a block write or read from on a block read. when the e32b bit is set, reads and writes to this register are us ed to access the 32- byte block data storage array. an internal index pointer is used to address the array, which is reset to 0 by readin g the hctl register (offset 02h). the index pointer then increments automatically upon each access to this register. the transfer of block data into (read) or out of (write) this storage array during an smbus transaction always starts at index address 0. when the e2b bit is set, for writes, software will write up to 32-bytes to this register as part of the setup for the co mmand. after the host controller has sent the address, command, and byte count fields, it will send the bytes in the sram pointed to by this register. when the e2b bit is cleared for writes, software will place a single by te in this register. after the host controller has sent the address, command, an d byte count fi elds, it will send the byte in this register. if there is more data to send, software will write the next series of bytes to the sram pointed to by th is register and clear the done_sts bit. the controller will then send th e next byte. during the time between the last byte being transmitted to the next byte being transmitted, the controller will insert wait-states on the interface. when the e2b bit is set for reads, after rece iving the byte count into the data0 register, the first series of data bytes go into the sr am pointed to by this register. if the byte count has been exhausted or the 32-byte sr am has been filled, the controller will generate an smi# or interrupt (depending on configuration) and set the done_sts bit. software will then read the data. during th e time between when the last byte is read from the sram to when the done_sts bit is cleared, the controller will insert wait- states on the interface. bit description 7:0 pec_data? r/w. this 8-bit regi ster is written with the 8-bi t crc value that is used as the smbus pec data prior to a write transaction. for read transactions, the pec data is loaded from the smbus into this register and is then read by software. software must ensure that the inuse_sts bit is properly ma intained to avoid having this field over- written by a write transaction following a read transaction.
smbus controller registers (d31:f3) 770 datasheet 18.2.9 rcv_slva?receive slave address register (smbus?d31:f3) register offset: sm_base + 09h attribute: r/w default value: 44h size: 8 bits lockable: no power well: resume 18.2.10 slv_data?receive slave data register (smbus?d31:f3) register offset: sm_base + 0ah?0bh attribute: ro default value: 0000h size: 16 bits lockable: no power well: resume this register contains the 16-bit data value written by the external smbus master. the processor can then read the value from this re gister. this register is reset by rsmrst#, but not pltrst# . 18.2.11 aux_sts?auxiliary stat us register (smbus?d31:f3) register offset: sm_base + 0ch attribute: r/wc, ro default value: 00h size: 8 bits lockable: no power well: resume . bit description 7 reserved 6:0 slave_addr? r/w. this field is the slave addres s that the pch decodes for read and write cycles. the default is not 0, so the sm bus slave interface can respond even before the processor comes up (or if the processor is dead). this regi ster is cleared by rsmrst#, but not by pltrst#. bit description 15:8 data message byte 1 (data_msg1)? ro. see section 5.20.7 for a discussion of this field. 7:0 data message byte 0 (data_msg0)? ro. see section 5.20.7 for a discussion of this field. bit description 7:2 reserved 1 smbus tco mode (stco) ?ro. this bit reflects the strap setting of tco compatible mode versus advanced tco mode. 0 = the pch is in the compatible tco mode. 1 = the pch is in the advanced tco mode. 0 crc error (crce)? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set if a received message contai ned a crc error. when this bit is set, the derr bit of the host status register will also be set. this bit will be set by the controller if a software abort occurs in th e middle of the crc portion of the cycle or an abort happens after the pch has received the final data bit transmitted by an external slave.
datasheet 771 smbus controller registers (d31:f3) 18.2.12 aux_ctl?auxiliary cont rol register (smbus?d31:f3) register offset: sm_base + 0dh attribute: r/w default value: 00h size: 8 bits lockable: no power well: resume . 18.2.13 smlink_pin_ctl?smlink pin control register (smbus?d31:f3) register offset: sm_base + 0eh attribute: r/w, ro default value: see below size: 8 bits note: this register is in the resume well and is reset by rsmrst#. this register is only applicable in the tco compatible mode. bit description 7:2 reserved 1 enable 32-byte buffer (e32b)? r/w. 0 = disable. 1 = enable. when set, the host block data register is a pointer into a 32-byte buffer, as opposed to a single re gister. this enables the block commands to transfer or receive up to 32-bytes before the pch generates an interrupt. 0 automatically append crc (aac)? r/w. 0 = the pch will not automatically append the crc. 1 = the pch will automatically append the cr c. this bit must no t be changed during smbus transactions or undetermined behavior will result. it should be programmed only once during the li fetime of the function. bit description 7:3 reserved 2 smlink_clk_ctl ?r/w. 0 = the pch will drive the smlink0 pin low, independent of what the other smlink logic would otherwise indicate for the smlink0 pin. 1 = the smlink0 pin is not overdriven low. the other smlink logic controls the state of the pin. (default) 1 smlink1_cur_sts ?ro. this read-only bit has a defa ult value that is dependent on an external signal level. th is pin returns the value on th e smlink1 pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high 0 smlink0_cur_sts ?ro. this read-only bit has a defa ult value that is dependent on an external signal level. th is pin returns the value on th e smlink0 pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high
smbus controller registers (d31:f3) 772 datasheet 18.2.14 smbus_pin_ctl?smbus pin control register (smbus?d31:f3) register offset: sm_base + 0fh attribute: r/w, ro default value: see below size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 18.2.15 slv_sts?slave status register (smbus?d31:f3) register offset: sm_base + 10h attribute: r/wc default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. all bits in this register are implemented in the 64 khz clock domain. therefore, software must poll this register until a write takes effect before assuming that a write has completed internally. bit description 7:3 reserved 2 smbclk_ctl ?r/w. 1 = the smbclk pin is not overdriven low. the other smbus logic controls the state of the pin. 0 = the pch drives the smbclk pin low, independent of what the other smb logic would otherwise indicate for the smbclk pin. (default) 1 smbdata_cur_sts ?ro. this read-only bit has a default value that is dependent on an external signal level. th is pin returns the value on th e smbdata pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high 0 smbclk_cur_sts ?ro. this read-only bit has a defa ult value that is dependent on an external signal level. th is pin returns the value on th e smbclk pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high bit description 7:1 reserved 0 host_notify_sts? r/wc. the pch sets this bit to a 1 when it has completely received a successful host notify command on the smbus pins. software reads this bit to determine that the source of the interr upt or smi# was the reception of the host notify command. software clears this bi t after reading any information needed from the notify address and data regi sters by writing a 1 to this bit. note that the pch will allow the notify address and data registers to be over-written once this bit has been cleared. when this bit is 1, the pch will nack the first byte (host address) of any new ?host notify? commands on the smbus pins. writing a 0 to this bit has no effect.
datasheet 773 smbus controller registers (d31:f3) 18.2.16 slv_cmd?slave comman d register (smbus?d31:f3) register offset: sm_base + 11h attribute: r/w default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 18.2.17 notify_daddr?notify device address register (smbus?d31:f3) register offset: sm_base + 14h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. bit description 7:2 reserved 2 smbalert_dis? r/w. 0 = allows the generation of the interrupt or smi#. 1 = software sets this bit to block the generation of the interrupt or smi# due to the smbalert# source. this bit is logically inverted and anded with the smbalert_sts bit (offset sm_base + 00h , bit 5). the resulting signal is distributed to the smi# and/or interrupt generation logic. this bit does not effect the wake logic. 1 host_notify_wken? r/w. software sets this bit to 1 to enable the reception of a host notify command as a wake event. when enabled this event is ?or?d" in with the other smbus wake events an d is reflected in the smb_ wak_sts bit of the general purpose event 0 status register. 0 = disable 1 = enable 0 host_notify_intren? r/w. software sets this bit to 1 to enable the generation of interrupt or smi# when host_notify_sts (o ffset sm_base + 10h, bi t 0) is 1. this enable does not affect the setting of the host_notify_sts bit. when the interrupt is generated, either pirqb# or smi# is ge nerated, depending on the value of the smb_smi_en bit (d31:f3:40h, bit 1). if the host_notify_sts bit is set when this bit is written to a 1, then the interrupt (or smi#) will be generated. the interrupt (or smi#) is logically generated by and?ing the sts and intren bits. 0 = disable 1 = enable bit description 7:1 device_address? ro. this field contains the 7-bit device address received during the host notify protocol of the smbus 2.0 sp ecification. software should only consider this field valid when the host_notify_sts bi t (d31:f3:sm_base +10, bit 0) is set to 1. 0 reserved
smbus controller registers (d31:f3) 774 datasheet 18.2.18 notify_dlow?notify data low byte register (smbus?d31:f3) register offset: sm_base + 16h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 18.2.19 notify_dhigh?notify data high byte register (smbus?d31:f3) register offset: sm_base + 17h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. bit description 7:0 data_low_byte? ro. this field contains the first (l ow) byte of data received during the host notify protocol of the smbus 2.0 sp ecification. software should only consider this field valid when the host_notify_sts bi t (d31:f3:sm_base +10, bit 0) is set to 1. bit description 7:0 data_high_byte? ro. this field contains the second (high) byte of data received during the host notify protocol of the smbu s 2.0 specification. software should only consider this field valid when the host_n otify_sts bit (d31:f3: sm_base +10, bit 0) is set to 1.
datasheet 775 pci express* configuration registers 19 pci express* configuration registers 19.1 pci express* configuration registers (pci express*?d28:f 0/f1/f2/f3/f4/f5/f6/f7) note: register address locations that are not shown in ta b l e 19-1 , should be treated as reserved. note: this section assumes the default pci express function number-to-root port mapping is used. function numbers for a given root po rt are assignable through the ?root port function number and hide for pci expr ess root ports? registers (rcba+0404h). / table 19-1. pci express* configuration registers address map (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/) (sheet 1 of 3) offset mnemonic register name function 0?5 default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 00h ro 0ah scc sub class code 04h ro 0bh bcc base class code 06h ro 0ch cls cache line size 00h r/w 0dh plt primary latency timer 00h ro 0eh headtyp header type 81h ro 18h?1ah bnum bus number 000000h r/w 1bh slt secondary latency timer 00h ro 1ch?1dh iobl i/o base and limit 0000h r/w, ro 1eh?1fh ssts secondary status register 0000h r/wc 20h?23h mbl memory base and limit 00000000h r/w 24h?27h pmbl prefetchable memory base and limit 00010001h r/w, ro 28h?2bh pmbu32 prefetchable memory base upper 32 bits 00000000h r/w 2ch?2fh pmlu32 prefetchable memory limit upper 32 bits 00000000h r/w 34h capp capabilities list pointer 40h ro 3ch?3dh intr interrupt information see bit description r/w, ro 3eh?3fh bctrl bridge control register 0000h r/w
pci express* configuration registers 776 datasheet 40h?41h clist capabilities list 8010 ro 42h?43h xcap pci express* capabilities 0041 r/wo, ro 44h?47h dcap device capabilities 00000fe0h ro 48h?49h dctl device control 0000h r/w, ro 4ah?4bh dsts device status 0010h r/wc, ro 4ch?4fh lcap link capabilities see bit description r/w, ro, r/wo 50h?51h lctl link control 0000h r/w, wo, ro 52h?53h lsts link status see bit description ro 54h?57h slcap slot capabilities register 00000060h r/wo, ro 58h?59h slctl slot control 0000h r/w, ro 5ah?5bh slsts slot status 0000h r/wc, ro 5ch?5dh rctl root control 0000h r/w 60h?63h rsts root status 00000000h r/wc, ro 64h?67h dcap2 device capabilities 2 register 00000016h ro 68h?69h dctl2 device control 2 register 0000h r/w, ro 70h?71h lctl2 link control 2 register 0001h ro 80h?81h mid message signaled interrupt identifiers 9005h ro 82h?83h mc message signaled interrupt message control 0000h r/w, ro 84h?87h ma message signaled interrupt message address 00000000h r/w 88h?89h md message signaled interrupt message data 0000h r/w 90h?91h svcap subsystem vendor capability a00dh ro 94h?97h svid subsystem vendor identification 00000000h r/wo a0h?a1h pmcap power management capability 0001h ro a2h?a3h pmc pci power management capability c802h ro a4?a7h pmcs pci power management control and status 00000000h r/w, ro d4?d7h mpc2 miscellaneous port configuration 2 00000000h r/w, ro d8?dbh mpc miscellaneous port configuration 08110000h r/w dc?dfh smscs smi/sci status register 00000000h r/wc e1h rpdcgen rort port dynamic clock gating enable 00h r/w e8?ebh pecr1 pci express configuration register 1 00000020h r/w 11ch?143h ? reserved ? ? 104h?107h ues uncorrectable error status see bit description r/wc, ro 108h?10bh uem uncorrectable error mask 00000000h r/wo, ro table 19-1. pci express* config uration registers address map (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/) (sheet 2 of 3) offset mnemonic register name function 0?5 default type
datasheet 777 pci express* configuration registers 19.1.1 vid?vendor identi fication register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 19.1.2 did?device identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 02h?03h attribute: ro default value: port 1= bit description size: 16 bits port 2= bit description port 3= bit description port 4= bit description port 5= bit description port 6= bit description port 7= bit description port 8= bit description 10ch?10fh uev uncorrectable error severity 00060011h ro 110h?113h ces correctable error status 00000000h r/wc 114h?117h cem correctable error mask 00000000h r/wo 118h?11bh aecc advanced error ca pabilities and control 00000000h ro 130h?133h res root error status 00000000h r/wc, ro 180h?183h rctcl root complex topology capability list 00010005h ro 184h?187h esd element self description see bit description ro 190h?193h uld upstream link description 00000001h ro 198h?19fh ulba upstream link base address see bit description ro 300?303h pecr2 pci express configuration register 2 60005007h r/w 318h peetm pci express extended test mode register see bit description ro 324h?327h pec1 pci express configuration register 1 00000000h ro, r/w table 19-1. pci express* configuration registers address map (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/) (sheet 3 of 3) offset mnemonic register name function 0?5 default type bit description 15:0 vendor id ?ro. this is a 16-bit value assi gned to intel. intel vid = 8086h bit description 15:0 device id? ro. this is a 16-bit value assigned to the pch?s pci express controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register
pci express* configuration registers 778 datasheet 19.1.3 pcicmd?pci command register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable ?r/w. this disables pin-based in tx# interrupts on enabled hot- plug and power management events. this bit has no effect on msi operation. 0 = internal intx# messages are generated if there is an interrupt for hot-plug or power management and msi is not enabled. 1 = internal intx# messages will not be generated. this bit does not affect interrupt forwardi ng from devices connected to the root port. assert_intx and deasse rt_intx messages will still be forwarded to the internal interrupt controllers if this bit is set. 9 fast back to back enable (fbe)?reserved per the pci express* base specification . 8 serr# enable (see) ?r/w. 0 = disable. 1 = enables the root port to generate an serr# message when psts.sse is set. 7 wait cycle control (wcc)?reserved per the pci express base specification . 6 parity error response (per) ?r/w. 0 = disable. 1 = indicates that the device is capable of reporting parity errors as a master on the backbone. 5 vga palette snoop (vps)?reserved per the pci express* base specification . 4 postable memory write enab le (pmwe)?reserved per the pci express* base specification . 3 special cycle enable (sce)?reserved per the pci express* base specification . 2 bus master enable (bme) ?r/w. 0 = disable. all cycles from the device are master aborted 1 = enable. allows the root port to forw ard cycles onto the backbone from a pci express* device. 1 memory space enable (mse) ?r/w. 0 = disable. memory cycles within the rang e specified by the memory base and limit registers are master aborted on the backbone. 1 = enable. allows memory cycles within th e range specified by the memory base and limit registers can be forwarde d to the pci express device. 0 i/o space enable (iose) ?r/w. this bit controls access to the i/o space registers. 0 = disable. i/o cycles within the range specified by the i/o base and limit registers are master aborted on the backbone. 1 = enable. allows i/o cycles within the range specified by the i/o base and limit registers can be forwarded to the pci express device.
datasheet 779 pci express* configuration registers 19.1.4 pcists?pci status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits bit description 15 detected parity error (dpe)? r/wc. 0 = no parity error detected. 1 = set when the root port receives a command or data from the backbone with a parity error. this is set even if pcimd. per (d28:f0/f1/f2/f3:04, bit 6) is not set. 14 signaled system error (sse)? r/wc. 0 = no system error signaled. 1 = set when the root port signals a sy stem error to the internal serr# logic. 13 received master abort (rma)? r/wc. 0 = root port has not received a completion with unsupported re quest status from the backbone. 1 = set when the root port receives a comp letion with unsupported request status from the backbone. 12 received target abort (rta)? r/wc. 0 = root port has not received a completion with completer abort from the backbone. 1 = set when the root port receives a completion with completer abort from the backbone. 11 signaled target abort (sta)? r/wc. 0 = no target abort received. 1 = set whenever the root port forwards a target abort received from the downstream device onto the backbone. 10:9 devsel# timing status (dev_sts)?reserved per the pci express* base specification . 8 master data parity error detected (dped) ?r/wc. 0 = no data parity error received. 1 = set when the root port receives a completion with a data parity error on the backbone and pcimd.per (d28:f0/f1/f2/f3:04, bit 6) is set. 7 fast back to back capable (fb2bc)?reserved per the pci express* base specification . 6 reserved 5 66 mhz capable?reserved per the pci express* base specification . 4 capabilities list ?ro. hardwired to 1. indicates the presence of a ca pabilities list. 3 interrupt status ?ro. indicates status of hot-plug and power management interrupts on the root port that result in intx# message generation. 0 = interrupt is de-asserted. 1 = interrupt is asserted. this bit is not set if msi is enabled. if msi is not enabled, this bit is set regardless of the state of pcicmd.interrupt disable bit (d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7:04h:bit 10). 2:0 reserved
pci express* configuration registers 780 datasheet 19.1.5 rid?revision iden tification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) offset address: 08h attribute: ro default value: see bit description size: 8 bits 19.1.6 pi?programming interface register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 09h attribute: ro default value: 00h size: 8 bits 19.1.7 scc?sub class code register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 0ah attribute: ro default value: 04h size: 8 bits 19.1.8 bcc?base class code register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 0bh attribute: ro default value: 06h size: 8 bits bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 7:0 programming interface ?ro. 00h = no specific register level programming interface defined. bit description 7:0 sub class code (scc) ?ro. this field is determined by bit 2 of the mpc register (d28:f0-5:offset d8h, bit 2). 04h = pci-to-pci bridge. 00h = host bridge. bit description 7:0 base class code (bcc) ?ro. 06h = indicates the device is a bridge device.
datasheet 781 pci express* configuration registers 19.1.9 cls?cache line size register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 0ch attribute: r/w default value: 00h size: 8 bits 19.1.10 plt?primary late ncy timer register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 0dh attribute: ro default value: 00h size: 8 bits 19.1.11 headtyp?header type register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 0eh attribute: ro default value: 81h size: 8 bits bit description 7:0 cache line size (cls) ?r/w. this is read/write but contains no functionality, per the pci express* base specification . bit description 7:3 latency count. reserved per the pci express* base specification. 2:0 reserved bit description 7 multi-function device ?ro. 0 = single-func tion device. 1 = multi-function device. 6:0 configuration layout ?ro. this field is determined by bit 2 of the mpc register (d28:f0-5:offset d8h, bit 2). 00h = indicates a host bridge. 01h = indicates a pci-to-pci bridge.
pci express* configuration registers 782 datasheet 19.1.12 bnum?bus nu mber register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 18?1ah attribute: r/w default value: 000000h size: 24 bits 19.1.13 slt?secondar y latency timer (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 1bh attribute: ro default value: 00h size: 8 bits 19.1.14 iobl?i/o base and limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 1ch?1dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 23:16 subordinate bus number (sbbn) ?r/w. indicates the highest pci bus number below the bridge. 15:8 secondary bus number (scbn) ?r/w. indicates the bus number the port. 7:0 primary bus number (pbn) ?r/w. indicates the bus nu mber of the backbone. bit description 7:0 secondary latency timer ? reserved for a root port per the pci express* base specification. bit description 15:12 i/o limit address (iola)? r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11:0 ar e assumed to be padded to fffh. 11:8 i/o limit address capability (iolc) ? r/o. indicates that the bridge does not support 32-bit i/o addressing. 7:4 i/o base address (ioba) ? r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11:0 are assumed to be padded to 000h. 3:0 i/o base address capability (iobc) ? r/o. indicates that the bridge does not support 32-bit i/o addressing.
datasheet 783 pci express* configuration registers 19.1.15 ssts?secondary status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 1eh?1fh attribute: r/wc default value: 0000h size: 16 bits bit description 15 detected parity error (dpe) ?r/wc. 0 = no error. 1 = the port received a poisoned tlp. 14 received system error (rse) ?r/wc. 0 = no error. 1 = the port received an err_fatal or err_nonfatal message from the device. 13 received master abort (rma) ?r/wc. 0 = unsupported request not received. 1 = the port received a completion with ?unsupported request? status from the device. 12 received target abort (rta) ?r/wc. 0 = completion abort not received. 1 = the port received a completion with ?completion abort? st atus from the device. 11 signaled target abort (sta) ?r/wc. 0 = completion abort not sent. 1 = the port generated a completion with ?completion abort? status to the device. 10:9 secondary devsel# timing status (sdts): reserved per pci express* base specification . 8 data parity error detected (dpd) ?r/wc. 0 = conditions belo w did not occur. 1 = set when the bctrl.pere (d28:fo/f1/f2/f3/f4/f5:3e: bit 0) is set, and either of the following two conditions occurs: ? port receives completion marked poisoned. ? port poisons a write request to the secondary side. 7 secondary fast back to back capable (sfbc): reserved per pci express* base specification . 6 reserved 5 secondary 66 mhz capable (sc66): reserved per pci express* base specification . 4:0 reserved
pci express* configuration registers 784 datasheet 19.1.16 mbl?memory base and limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 20h?23h attribute: r/w default value: 00000000h size: 32 bits accesses that are within the rang es specified in this register will be sent to the attached device if cmd.mse (d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7:04:bit 1) is set. accesses from the attached device that are outside th e ranges specified will be forwarded to the backbone if cmd.bme (d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7:04:bit 2) is set. the comparison performed is mb ad[31:20] ml. 19.1.17 pmbl?prefetcha ble memory base an d limit register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 24h?27h attribute: r/w, ro default value: 00010001h size: 32 bits accesses that are within the ranges specified in this register will be sent to the device if cmd.mse (d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7;04, bit 1) is set. accesses from the device that are outside the ranges specif ied will be forwarded to the backbone if cmd.bme (d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7;04, bit 2) is set. the comparison performed is pmbu32:pmb ad[63:32]:ad[31:20] pmlu32:pml. bit description 31:20 memory limit (ml)? r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1-mb aligned value of the range. 19:16 reserved 15:4 memory base (mb) ?r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1-mb aligned value of the range. 3:0 reserved bit description 31:20 prefetchable memory limit (pml)? r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1-mb aligned value of the range. 19:16 64-bit indicator (i64l) ?ro. indicates support for 64-bit addressing 15:4 prefetchable memory base (pmb) ?r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1-mb aligned value of the range. 3:0 64-bit indicator (i64b) ?ro. indicates support for 64-bit addressing
datasheet 785 pci express* configuration registers 19.1.18 pmbu32?prefetchable me mory base upper 32 bits register (pci express*?d28:f0/f1/f2/f3/f4/f5/ f6/f7/f6/f7) address offset: 28h?2bh attribute: r/w default value: 00000000h size: 32 bits 19.1.19 pmlu32?prefetchable memory limit upper 32 bits register (pci express*?d28:f0/f1/f2/f3/f4/f5/ f6/f7/f6/f7) address offset: 2ch?2fh attribute: r/w default value: 00000000h size: 32 bits 19.1.20 capp?capabilities list pointer register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 34h attribute: r0 default value: 40h size: 8 bits bit description 31:0 prefetchable memory base upper portion (pmbu)? r/w. upper 32-bits of the prefetchable address base. bit description 31:0 prefetchable memory limit upper portion (pmlu)? r/w. upper 32-bits of the prefetchable address limit. bit description 7:0 capabilities pointer (ptr)? ro. indicates that the pointe r for the first entry in the capabilities list is at 40h in configuration space.
pci express* configuration registers 786 datasheet 19.1.21 intr?interrupt information register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 3ch?3dh attribute: r/w, ro default value: see bit description size: 16 bits function level reset: no (bits 7:0 only) bit description 15:8 interrupt pin (ipin)? ro. indicates the interrupt pin driven by the root port. at reset, this register takes on the following values, which re flect the reset state of the d28ip register in chipset config space: note: the value that is programmed into d28ip is always reflected in this register. 7:0 interrupt line (iline)? r/w. default = 00h. software wr itten value to indicate which interrupt line (vector) the inte rrupt is connected to. no hardwa re action is taken on this register. these bits are not reset by flr. port reset value 1 d28ip.p1ip 2 d28ip.p2ip 3 d28ip.p3ip 4 d28ip.p4ip 5 d28ip.p5ip 6 d28ip.p6ip 7 d28ip.p7ip 8 d28ip.p8ip
datasheet 787 pci express* configuration registers 19.1.22 bctrl?bridge control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7/f6/f7) address offset: 3eh?3fh attribute: r/w default value: 0000h size: 16 bits bit description 15:12 reserved 11 discard timer serr# enable (dtse): reserved per pci express* base specification, revision 1.0a 10 discard timer status (dts): reserved per pci express* base specification, revision 1.0a. 9 secondary discard timer (sdt): reserved per pci express* base specification, revision 1.0a. 8 primary discard timer (pdt): reserved per pci express* base specification, revision 1.0a. 7 fast back to back enable (fbe): reserved per pci express* base specification, revision 1.0a. 6 secondary bus reset (sbr) ?r/w. triggers a hot reset on the pci express* port. 5 master abort mode (mam): reserved per express specification. 4 vga 16-bit decode (v16)? r/w. 0 = vga range is enabled. 1 = the i/o aliases of the vga range (see bc trl:ve definition belo w), are not enabled, and only the base i/o ranges can be decoded. 3 vga enable (ve) ?r/w. 0 = the ranges below will not be claimed off the backbone by the root port. 1 = the following ranges will be claime d off the backbone by the root port: ? memory ranges a0000h?bffffh ? i/o ranges 3b0h ? 3bbh and 3c0h ? 3dfh, and all aliases of bits 15:10 in any combination of 1s 2 isa enable (ie) ?r/w. this bit only applies to i/o addresses that are enabled by the i/o base and i/o limit registers and are in the first 64 kb of pci i/o space. 0 = the root port will not block any forwar ding from the backbone as described below. 1 = the root port will block any forwarding from the backbone to the device of i/o transactions addressing the last 768 by tes in each 1-kb block (offsets 100h to 3ffh). 1 serr# enable (se) ?r/w. 0 = the messages descri bed below are not forwarded to the backbone. 1 = err_cor, err_nonfatal, and err_fatal messages received are forwarded to the backbone. 0 parity error respon se enable (pere) ?r/w. when set, 0 = poisoned write tlps and completions indicating poisoned tlps will not set the ssts.dpd (d28:f0/f1/f2/f3/f4/f5/f6/f7:1e, bit 8). 1 = poisoned write tlps and completions indicating poisoned tlps will set the ssts.dpd (d28:f0/f1/f2/f3/f4/f5/f6/f7:1e, bit 8).
pci express* configuration registers 788 datasheet 19.1.23 clist?capabilities list register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 40?41h attribute: ro default value: 8010h size: 16 bits 19.1.24 xcap?pci express* capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 42h?43h attribute: r/wo, ro default value: 0042h size: 16 bits bit description 15:8 next capability (next)? ro. value of 80h indicates the location of the next pointer. 7:0 capability id (cid)? ro. indicates this is a pci express* capability. bit description 15:14 reserved 13:9 interrupt message number (imn) ?ro. the pch does not have multiple msi interrupt numbers. 8 slot implemented (si)? r/wo. indicates whether the r oot port is connected to a slot. slot support is platform specific. bios programs this field, and it is maintained until a platform reset. 7:4 device / port type (dt) ?ro. indicates this is a pci express* root port. 3:0 capability version (cv) ?ro. indicates pci express 2.0.
datasheet 789 pci express* configuration registers 19.1.25 dcap?device capa bilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 44h?47h attribute: ro default value: 00008000h size: 32 bits bit description 31:28 reserved 27:26 captured slot power limit scale (csps)?ro. not supported. 25:18 captured slot power limit value (cspv)?ro. not supported. 17:16 reserved 15 role based error reporting (rber)? ro. indicates that this device implements the functionality defined in the error reporting ecn as requir ed by the pci express 2.0 specification. 14:12 reserved 11:9 endpoint l1 acceptable latency (e1al)?ro. th is field is reserved with a setting of 000b for devices other than endpoints, per the pci express 2.0 specification. 8:6 endpoint l0s acceptable latenc y (e0al)?ro. this field is reserved with a setting of 000b for devices other than endpoints, per the pci express 2.0 specification. 5 extended tag field supported (etfs) ?ro. indicates that 8-bit tag fields are supported. 4:3 phantom functions supported (pfs) ?ro. no phantom functions supported. 2:0 max payload size supported (mps) ?ro. indicates the maximum payload size supported is 128b.
pci express* configuration registers 790 datasheet 19.1.26 dctl?device control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 48h?49h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15 reserved 14:12 max read request size (mrrs)?ro. hardwired to 0. 11 enable no snoop (ens) ? ro. not supported. the root po rt will never issue non-snoop requests. 10 aux power pm enable (apme) ?r/w. the os will set this bit to 1 if the device connected has detected aux power. it has no effect on the root port otherwise. 9 phantom functions enable (pfe)?ro. not supported. 8 extended tag field enable (etfe)?ro. not supported. 7:5 max payload size (mps) ?r/w. the root port only supports 128-b payloads, regardless of the programming of this field. 4 enable relaxed ordering (ero)?ro. not supported. 3 unsupported request reporting enable (ure) ?r/w. 0 = the root port will ignore unsupported request errors. 1 = allows signaling err_nonfatal, err_fa tal, or err_cor to the root control register when detecting an unmasked un supported request (ur). an err_cor is signaled when a unmasked advisory non- fatal ur is received. an err_fatal, err_or nonfatal, is sent to the root control register when an uncorrectable non- advisory ur is received wi th the severity set by the uncorrectable error severity register. 2 fatal error reporting enable (fee) ?r/w. 0 = the root port will ignore fatal errors. 1 = enables signaling of err_fatal to the root control register due to internally detected errors or error mess ages received across the li nk. other bits also control the full scope of related error reporting. 1 non-fatal error reporting enable (nfe) ?r/w. 0 = the root port will ignore non-fatal errors. 1 = enables signaling of err_nonfatal to th e root control register due to internally detected errors or error mess ages received across the li nk. other bits also control the full scope of related error reporting. 0 correctable error reporting enable (cee) ?r/w. 0 = the root port will ignore correctable errors. 1 = enables signaling of err_corr to the root control register due to internally detected errors or error mess ages received across the li nk. other bits also control the full scope of related error reporting.
datasheet 791 pci express* configuration registers 19.1.27 dsts?device status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 4ah?4bh attribute: r/wc, ro default value: 0010h size: 16 bits 19.1.28 lcap?link capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 4ch ? 4fh attribute: r/wo, ro default value: see bit description size: 32 bits bit description 15:6 reserved 5 transactions pending (tdp) ?ro. this bit has no meanin g for the root port since only one transaction may be pending to the pch, so a read of this bit cannot occur until it has already returned to 0. 4 aux power detected (apd)? ro. the root port contains aux power for wakeup. 3 unsupported request detected (urd) ?r/wc. indicates an unsupported request was detected. 2 fatal error detected (fed) ?r/wc. indicates a fata l error was detected. 0 = fatal has not occurred. 1 = a fatal error occurred from a data link prot ocol error, link training error, buffer overflow, or malformed tlp. 1 non-fatal error detected (nfed) ?r/wc. indicates a non-fa tal error was detected. 0 = non-fatal has not occurred. 1 = a non-fatal error occurred from a po isoned tlp, unexpected completions, unsupported requ ests, completer abort, or completer timeout. 0 correctable error detected (ced) ?r/wc. indicates a correctable error was detected. 0 = correctable has not occurred. 1 = the port received an internal correct able error from receiver errors / framing errors, tlp crc error, dllp crc error, replay num rollover, replay timeout. bit description 31:24 port number (pn) ?ro. indicates the port number fo r the root port. this value is different for each implemented port: function port # value of pn field d28:f0 1 01h d28:f1 2 02h d28:f2 3 03h d28:f3 4 04h d28:f4 5 05h d28:f5 6 06h d28:f6 7 07h d28:f7 8 08h
pci express* configuration registers 792 datasheet 23:21 reserved 20 link active reporting capable (larc) ?ro. hardwired to 1 to indicate that this port supports the optional capability of repo rting the dl_active state of the data link control and management state machine. 19:18 reserved 17:15 l1 exit latency (el1)? ro. set to 010b to indicate an exit latency of 2 s to 4 s. 14:12 l0s exit latency (el0) ?ro. indicates as exit latency based upon common-clock configuration. note: lclt.ccc is at d28:f0/f1/f2 /f3/f4/f5/f6/f 7:50h:bit 6 11:10 active state link pm support (apms) ?r/wo. indicates what level of active state link power management is su pported on the root port. 9:4 maximum link width (mlw) ?ro. for the root ports, se veral values can be taken, based upon the value of the chipset config register field rpc.pc1 (chipset config registers:offset 0224h:bits1:0) for ports 1-4 and rpc.pc2 (chipset config registers:offset 0224h:bits1:0) for ports 5 and 6 3:0 maximum link speed (mls) ?ro. set to 1h to indicate the link speed is 2.5 gb/s. bit description lclt.ccc value of el0 (these bits) 0 mpc.ucel (d28:f0/f1/f2/f3:d8h:bits20:18) 1 mpc.ccel (d28:f0/f1/f2/f3:d8h:bits17:15) bits definition 00b neither l0s nor l1 are supported 01b l0s entry supported 10b l1 entry supported 11b both l0s and l1 entry supported value of mlw field port # rpc.pc1=00b rpc.pc1=11b 1 01h 04h 2 01h 01h 3 01h 01h 4 01h 01h port # rpc.pc2=00b rpc.pc2=11b 5 01h 04h 6 01h 01h 7 01h 01h 8 01h 01h
datasheet 793 pci express* configuration registers 19.1.29 lctl?link control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 50h-51h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:10 reserved 9 hardware autonomous width disable ? ro. hardware never attempts to change the link width except when attempting to correct unreliable link operation. 8 reserved 7 extended synch (es) ?r/w. 0 = extended synch disabled. 1 = forces extended transmission of fts ordered sets in fts and extra ts2 at exit from l1 prior to entering l0. 6 common clock configuration (ccc)? r/w. 0 = the pch and device are not using a common reference clock. 1 = the pch and device are operating wi th a distributed co mmon reference clock. 5 retrain link (rl) ?r/w. 0 = this bit always returns 0 when read. 1 = the root port will train its downstream link. note: software uses lsts.lt (d28:f0/f1/f2/f3/f4/f5/f6/f7:52, bit 11) to check the status of training. note: it is permitted to write 1b to this bit while simultaneously writing modified values to other fields in th is register. if the ltssm is not already in recovery or configuration, the resulting link training must use the modified values. if the ltssm is already in recovery or configuration, the modified values are not required to affect the link training that is already in progress. 4 link disable (ld) ?r/w. 0 = link enabled. 1 = the root port will disable the link. 3 read completion boundary control (rcbc) ?ro. indicates the read completion boundary is 64 bytes. 2 reserved 1:0 active state link pm control (apmc) ?r/w. indicates whether the root port should enter l0s or l1 or both. bits definition 00 disabled 01 l0s entry enabled 10 l1 entry enabled 11 l0s and l1 entry enabled
pci express* configuration registers 794 datasheet 19.1.30 lsts?link status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 52h?53h attribute: ro default value: see bit description size: 16 bits bit description 15:14 reserved 13 data link layer active (dlla) ?ro. default value is 0b. 0 = data link control and management stat e machine is not in the dl_active state 1 = data link control and management st ate machine is in the dl_active state 12 slot clock conf iguration (scc) ?ro. set to 1b to indicate that the pch uses the same reference clock as on the platform and does no t generate its own clock. 11 link training (lt)? ro. default value is 0b. 0 = link training completed. 1 = link training is occurring. 10 link training error (lte ) ?ro. not supported. set value is 0b. 9:4 negotiated link width (nlw) ?ro. this field indicates the negotiated width of the given pci express* link. the co ntents of this nlw field is undefined if the link has not successfully trained. note: 000001b = x1 link width, 000010b =x2 linkwidth, 000100b = x4 linkwidth 3:0 link speed (ls) ?ro. this field indicate s the negotiated link speed of the given pci express* link. 01h = link is 2.5 gb/s. port # possible values 1 000001b, 000010b, 000100b 2 000001b 3 000001b 4 000001b 5 000001b, 000010b, 000100b 6 000001b 7 000001b 8 000001b
datasheet 795 pci express* configuration registers 19.1.31 slcap?slot capa bilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 54h ? 57h attribute: r/wo, ro default value: 00040060h size: 32 bits bit description 31:19 physical slot number (psn) ?r/wo. this is a value that is unique to the slot number. bios sets this field and it remains set until a platform reset. 18:17 reserved 16:15 slot power limit scale (sls)? r/wo. specifies the scale used for the slot power limit value. bios sets this field and it remains set until a platform reset. 14:7 slot power limit value (slv) ?r/wo. specifies the upper limit (in conjunction with sls value), on the upper limit on power suppl ied by the slot. the two values together indicate the amount of power in watts allowe d for the slot. bios sets this field and it remains set until a platform reset. 6 hot plug capable (hpc) ?r/wo. 1b = indicates that ho t-plug is supported. 5 hot plug surprise (hps) ?r/wo. 1b = indicates the device ma y be removed from the slot without prior notification. 4 power indicator present (pip) ?ro. 0b = indicates that a power indicato r led is not present for this slot. 3 attention indicator present (aip) ?ro. 0b = indicates that an attention indica tor led is not present for this slot. 2 mrl sensor present (msp) ?ro. 0b = indicates that an mr l sensor is not present. 1 power controller present (pcp) ?ro. 0b = indicates that a po wer controller is not impl emented for this slot. 0 attention button present (abp) ?ro. 0b = indicates that an attention butt on is not implemented for this slot.
pci express* configuration registers 796 datasheet 19.1.32 slctl?slot control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 58h ? 59h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:13 reserved 12 link active changed enable (lace)? r/w. when set, this field enables generation of a hot plug interrupt when the data link layer link active field (d28:f0/f1/f2/f3/f4/ f5/f6/f7:52h:bit 13) is changed. 11 reserved 10 power controller control (pcc)? ro.this bit has no meaning for module based hot- plug. 9:6 reserved 5 hot plug interrupt enable (hpe) ?r/w. 0 = hot plug interrupts based on hot-plug events is disabled. 1 = enables generation of a hot-plug interrupt on enabled hot-plug events. 4reserved 3 presence detect changed enable (pde) ?r/w. 0 = hot plug interrupts based on presen ce detect logic changes is disabled. 1 = enables the generation of a hot-plug interrupt or wake message when the presence detect logic changes state. 2:0 reserved
datasheet 797 pci express* configuration registers 19.1.33 slsts?slot status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 5ah ? 5bh attribute: r/wc, ro default value: 0000h size: 16 bits bit description 15:9 reserved 8 link active stat e changed (lasc) ?r/wc. 1 = this bit is set when the va lue reported in data link la yer link active field of the link status register (d28:f0/f1/f2/f3/f4/f5/f6/f7:52h:bit 13) is changed. in response to a data link layer state change d event, software mu st read data link layer link active field of the link status register to dete rmine if the link is active before initiating configuration cy cles to the hot plugged device. 7 reserved 6 presence detect state (pds) ?ro. if xcap.si (d28:f0/f1/f2/f3/f4/f5/f6/ f7:42h:bit 8) is set (indicating that this root port spawns a sl ot), then this bit: 0 = indicates the slot is empty. 1 = indicates the slot has a device connected. otherwise, if xcap.si is cleare d, this bit is always set (1). 5 mrl sensor state (ms)?reserved as the mrl sensor is not implemented. 4 reserved 3 presence detect changed (pdc) ?r/wc. 0 = no change in the pds bit. 1 = the pds bit changed states. 2 mrl sensor changed (msc) ?reserved as the mrl sensor is not implemented. 1 power fault detected (pfd) ?reserved as a power contro ller is not implemented. 0 reserved
pci express* configuration registers 798 datasheet 19.1.34 rctl?root control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 5ch ? 5dh attribute: r/w default value: 0000h size: 16 bits 19.1.35 rsts?root status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 60h ? 63h attribute: r/wc, ro default value: 00000000h size: 32 bits bit description 15:4 reserved 3 pme interrupt enable (pie) ?r/w. 0 = interrupt gene ration disabled. 1 = interrupt generation en abled when pcists.inerrupt status (d28:f0/f1/f2/f3/f4/ f5/f6/f7:60h, bit 16) is in a set state (either due to a 0 to 1 transition, or due to this bit being set with rsts.is already set). 2 system error on fatal error enable (sfe)? r/w. 0 = an serr# will not be generated. 1 = an serr# will be generated, assumi ng cmd.see (d28:f0/f1/f2/f3/f4/f5/f6/ f7:04, bit 8) is set, if a fatal error is re ported by any of the devices in the hierarchy of this root port, including fa tal errors in this root port. 1 system error on non-fatal error enable (sne) ?r/w. 0 = an serr# will not be generated. 1 = an serr# will be generated, assumi ng cmd.see (d28:f0/f1/f2/f3/f4/f5/f6/ f7:04, bit 8) is set, if a non-fatal error is reported by any of the devices in the hierarchy of this root port, including non-fatal errors in this root port. 0 system error on correctable error enable (sce) ?r/w. 0 = an serr# will not be generated. 1 = an serr# will be generated, assumi ng cmd.see (d28:f0/f1/f2/f3/f4/f5/f6/ f7:04, bit 8) if a correctable error is reported by any of the devices in the hierarchy of this root port, incl uding correctable errors in this root port. bit description 31:18 reserved 17 pme pending (pp) ?ro. 0 = when the original pme is cleared by softwa re, it will be set ag ain, the requestor id will be updated, and th is bit will be cleared. 1 = indicates another pme is pendin g when the pme status bit is set. 16 pme status (ps)? r/wc. 0 = pme was not asserted. 1 = indicates that pme was asserted by the requestor id in rid. subsequent pmes are kept pending until this bit is cleared. 15:0 pme requestor id (rid) ?ro. indicates the pci requ estor id of the last pme requestor. valid only when ps is set.
datasheet 799 pci express* configuration registers 19.1.36 dcap2?device capa bilities 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 64h ? 67h attribute: ro default value: 00000016h size: 32 bits 19.1.37 dctl2?device control 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 68h ? 69h attribute: ro, r/w default value: 0000h size: 16 bits bit description 31:5 reserved 4 completion timeout disa ble supported (ctds)? ro. a value of 1b indicates support for the comple tion timeout disable mechanism. 3:0 completion timeout ranges supported (ctrs) ? ro. this field indicates device support for the optional completion ti meout programmability mechanism. this mechanism allows system software to modify the completion timeout value. this field is hardwired to support 10 ms to 250 ms and 250 ms to 4 s. bit description 15:5 reserved 4 completion timeout disable (ctd)? rw. when set to 1b, this bit disables the completion timeout mechanism. if there are outstanding requests when the bit is cleared, it is permitted but not required for hardware to apply the comple tion timeout mechanism to the outstanding requests. if this is done, it is permitted to base the start time for each request on either the time this bit was cleared or the time each request was issued. 3:0 completion timeout value (ctv)? rw. this field allows system software to modify the completion timeout value. 0000b = default range: 40?50 ms (spec range 50 us to 50 ms) 0101b = 40?50 ms (spec range is 16 ms to 55 ms) 0110b = 160?170 ms (spec range is 65 ms to 210 ms) 1001b = 400?500 ms (spec range is 260 ms to 900 ms) 1010b = 1.6?1.7 s (spec range is 1 s to 3.5 s) all other values are reserved. note: software is permitted to change the value in this field at an y time. for requests already pending when the completion ti meout value is changed, hardware is permitted to use either the new or the old value for the outstanding requests, and is permitted to base th e start time for each requ est either on when this value was changed or on when each request w as issued.
pci express* configuration registers 800 datasheet 19.1.38 lctl2?link control 2 register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 70h ? 71h attribute: ro default value: 0001h size: 16 bits 19.1.39 mid?message signaled in terrupt identifiers register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 80h?81h attribute: ro default value: 9005h size: 16 bits 19.1.40 mc?message signaled inte rrupt message control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 82?83h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:4 reserved 3:0 target link speed (tls) ?ro. this field sets an upper limit on link operational speed by restricting the values ad vertised by the upstream component in its training sequences. 0001b: 2.5 gt/s target link speed all other values reserved bit description 15:8 next pointer (next) ?ro. indicates the location of the next pointer in the list. 7:0 capability id (cid)? ro. capabilities id indicates msi. bit description 15:8 reserved 7 64 bit address capable (c64)? ro. capable of generating a 32-bit message only. 6:4 multiple message enable (mme)? r/w. these bits are r/w for software compatibility, but only one message is ever sent by the root port. 3:1 multiple message capable (mmc)? ro. only one message is required. 0 msi enable (msie)? r/w. 0 = msi is disabled. 1 = msi is enabled and traditional interrupt pins are not used to generate interrupts. note: cmd.bme (d28:f0/f1/f2/f3/f4/f5/f6/f7:04h:bit 2) must be set for an msi to be generated. if cmd.bme is cleared, and this bit is set, no interrupts (not even pin based) are generated.
datasheet 801 pci express* configuration registers 19.1.41 ma?message signaled interrupt message address register (pci express*?d28 :f0/f1/f2/f3/f4/f5/f6/f7) address offset: 84h ? 87h attribute: r/w default value: 00000000h size: 32 bits 19.1.42 md?message signaled in terrupt message data register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 88h ? 89h attribute: r/w default value: 0000h size: 16 bits 19.1.43 svcap?subsystem ve ndor capability register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 90h ? 91h attribute: ro default value: a00dh size: 16 bits 19.1.44 svid?subsystem vendor identification register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 94h ? 97h attribute: r/wo default value: 00000000h size: 32 bits bit description 31:2 address (addr) ?r/w. lower 32 bits of the system specified message address, always dw aligned. 1:0 reserved bit description 15:0 data (data) ?r/w. this 16-bit field is programmed by system software if msi is enabled. its content is driven onto the lo wer word (pci ad[15:0]) during the data phase of the msi memory write transaction. bit description 15:8 next capability (next) ?ro. indicates the location of the next pointer in the list. 7:0 capability identifier (cid) ?ro. value of 0dh indicates this is a pci bridge subsystem vendor capability. bit description 31:16 subsystem identifier (sid) ?r/wo. indicates the subsystem as identified by the vendor. this field is write once and is locked down until a bridge reset occurs (not the pci bus reset). 15:0 subsystem vendor identifier (svid) ?r/wo. indicates the manufacturer of the subsystem. this field is write once and is lo cked down until a bridge reset occurs (not the pci bus reset).
pci express* configuration registers 802 datasheet 19.1.45 pmcap?power management capability register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: a0h ? a1h attribute: ro default value: 0001h size: 16 bits 19.1.46 pmc?pci power manageme nt capabilities register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: a2h ? a3h attribute: ro default value: c802h size: 16 bits bit description 15:8 next capability (next) ?ro. indicates this is the last item in the list. 7:0 capability identifier (cid) ?ro. value of 01h indicates this is a pci power management capability. bit description 15:11 pme_support (pmes) ?ro. indicates pme# is su pported for states d0, d3 hot and d3 cold . the root port does not ge nerate pme#, but reporting th at it does is necessary for some legacy operating systems to enable pme# in devices connected behind this root port. 10 d2_support (d2s)?ro. the d2 state is not supported. 9 d1_support (d1s)?ro the d1 state is not supported. 8:6 aux_current (ac) ?ro. reports 375 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi) ?ro. 1 = indicates that no device-specific initialization is required. 4reserved 3 pme clock (pmec)? ro. 1 = indicates that pci clock is not required to generate pme#. 2:0 version (vs) ?ro. indicates support for revision 1.1 of the pci power management specification .
datasheet 803 pci express* configuration registers 19.1.47 pmcs?pci power mana gement control and status register (pci express*?d28 :f0/f1/f2/f3/f4/f5/f6/f7) address offset: a4h ? a7h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 31:24 reserved 23 bus power / clock control enable (bpce) ? reserved per pci express* base specification, revision 1.0a . 22 b2/b3 support (b23s)?reserved per pci express* base specification, revision 1.0a . 21:16 reserved 15 pme status (pmes)? ro. 1 = indicates a pme was receiv ed on the downstream link. 14:9 reserved 8 pme enable (pmee)? r/w. 1 = indicates pme is enabled. the root port ta kes no action on this bit, but it must be r/w for some legacy operating systems to enable pme# on devices connected to this root port. this bit is sticky and resides in the resume well. the reset for this bit is rsmrst# which is not asserted du ring a warm reset. 7:2 reserved 1:0 power state (ps)? r/w. this field is used both to determine the cu rrent power state of the root port and to set a new power state. the values are: 00 = d0 state 11 = d3 hot state note: when in the d3 hot state, the controller?s config uration space is available, but the i/o and memory spaces are not. type 1 configuration cycles are also not accepted. interrupts are not required to be blocked as software will disable interrupts prior to placing the port into d3 hot . if software attempts to write a ?10? or ?01? to these bits, the write will be ignored.
pci express* configuration registers 804 datasheet 19.1.48 mpc2?miscellaneous port configuration register 2 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: d4h ? d7h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 31:6 reserved 5 pcie 2.0 compliance mode enable (pcme)? r/w. 0 = compliance mode is disabled. 1 = with proper termination pch pcie ports will transmit compliance pattern. note: this bit should only be set when testing for electrical co mpliance specified by the pci sig. this bit should not be set du ring normal system operations. 4 aspm control override enable (aspmcoen)? rw. 1 = root port will use the values in the aspm control ov erride registers 0 = root port will use the aspm regi sters in the link control register. notes: this register allows bios to control th e root port aspm settings instead of the os. 3:2 aspm control override (aspmo)? rw. provides bios control of whether root port should enter l0s or l1 or both. 00 = disabled 01 = l0s entry enabled 10 = l1 entry enabled 11 = l0s and l1 entry enabled. 1 eoi forwarding disable (eoifd)? r/w. when set, eoi messages are not claimed on the backbone by this port an wi ll not be forwarded across the pcie link. 0 = broadcast eoi messages that are sent on the backbone are claimed by this port and forwarded ac ross the pcie link. 1 = broadcast eoi messages ar e not claimed on the backbone by this port and will not be forwarded across the pcie link. 0 l1 completion timeout mode (lictm)? r/w. 0 = pci express specification compliant. completion timeout is disabled during software initiated l1, and enabled during aspm initiate l1. 1 = completion timeout is enabled during l1, regardless of how l1 entry was initiated.
datasheet 805 pci express* configuration registers 19.1.49 mpc?miscellaneous port configuration register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: d8h ? dbh attribute: r/w, ro default value: 08110000h size: 32 bits bit description 31 power management sc i enable (pmce)? r/w. 0 = sci generation based on a powe r management event is disabled. 1 = enables the root port to generate sc i whenever a power management event is detected. 30 hot plug sci enable (hpce) ?r/w. 0 = sci generation based on a hot-plug event is disabled. 1 = enables the root port to generate sc i whenever a hot-plug event is detected. 29 link hold off (lho) ?r/w. 1 = port will not take any tlp. this is used during loopback mode to fill up the downstream queue. 28 address translator enable (ate) ?r/w. this bit is used to enable address translation using the at bits in th is register during loopback mode. 0 = disable 1 = enable 27 lane reversal (lr)? r/o. this register reads the settin g of the pcielr1 soft strap. 0 = pci express lanes 0?3 are reversed. 1 = no lane reversal (default). note: the port configuration straps must be set such that port 1 or port 5 is configured as a x4 port using lanes 0?3, or 4?7 when lane reversal is enabled. x2 lane reversal is not supported. note: this register is only valid on port 1 (for ports 1?4) or port 5 (for ports 5?8). 26 invalid receive bus number check enable (irbnce) ?r/w. when set, the receive transaction layer will signal an error if th e bus number of a memory request does not fall within the range between scbn and sbbn . if this check is en abled and the request is a memory write, it is treated as an unsu pported request. if this check is enabled and the request is a non-posted memory read requ est, the request is considered a malformed tlp and a fatal error. messages, i/o, config, and completions are never checked fo r valid bus number. 25 invalid receive range check enable (irrce) ?r/w. when set, the receive transaction layer will treat the tlp as an unsupported request error if the address range of a memory request does not outside the range between prefetchable and non- prefetchable base and limit. messages, i/o, configuration, and comple tions are never checked for valid address ranges. 24 bme receive check enable (bmerce) ?r/w. when set, the receive transaction layer will treat the tlp as an unsupported request error if a memory read or write request is received and the bus master enable bit is not set. messages, io, config, and comple tions are never checked for bme. 23 reserved
pci express* configuration registers 806 datasheet 22 detect override (forcedet)? r/w. 0 = normal operation. detected output from afe is sampled for presence detection. 1 = override mode. ignores afe de tect output and link training proceeds as if a device were detected. 21 flow control during l1 entry (fcdl1e)? r/w. 0 = no flow control update dllps se nt during l1 ack transmission. 1 = flow control update dllps sent during l1 ack transmission as required to meet the 30 s periodic flow control update. 20:18 unique clock exit latency (ucel)? r/w. this value represents the l0s exit latency for unique-clock configurations (lctl.ccc = 0) (d28:f0/f1/f2/f3/ f4/f5/f6/f7:offset 50h:bit 6). it defaults to 512 ns to less than 1 s, but may be overridden by bios. 17:15 common clock exit latency (ccel)? r/w. this value represents the l0s exit latency for common-clock configurations (lctl.ccc = 1) (d28:f0/f1/f2/f3/f4/f5/f6/ f7:offset 50h:bit 6). it defaults to 128 ns to less than 256 ns, but may be overridden by bios. 14:8 reserved 7 port i/oxapic enable (pae)? r/w. 0 = hole is disabled. 1 = a range is opened through the bri dge for the following memory addresses: 6:3 reserved 2 bridge type (bt)? ro. this register can be used to modify the base class and header type fields from the default p2p bridge to a ho st bridge. having the root port appear as a host bridge is useful in some server configurations. 0 = the root port bridge type is a p2p br idge, header sub-clas s = 04h, and header type = type 1. 1 = the root port bridge type is a p2p br idge, header sub-clas s = 00h, and header type = type 0. 1 hot plug smi enable (hpme)? r/w. 0 = smi generation based on a hot-plug event is disabled. 1 = enables the root port to generate sm i whenever a hot-plug event is detected. 0 power management smi enable (pmme)? r/w. 0 = smi generation based on a powe r management event is disabled. 1 = enables the root port to generate sm i whenever a power management event is detected. bit description port # address 1 fec1_0000h ? fec1_7fffh 2 fec1_8000h ? fec1_ffffh 3 fec2_0000h ? fec2_7fffh 4 fec2_8000h ? fec2_ffffh 5 fec3_0000h ? fec3_7fffh 6 fec3_8000h ? fec3_ffffh 7 fec4_0000h ? fec4_7fffh 8 fec4_8000h ? fec4_ffffh
datasheet 807 pci express* configuration registers 19.1.50 smscs?smi/sci status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: dch ? dfh attribute: r/wc default value: 00000000h size: 32 bits bit description 31 power management sci status (pmcs)? r/wc. 1 = pme control logic needs to generate an interrupt, and this interrupt has been routed to generate an sci. 30 hot plug sci status (hpcs) ?r/wc. 1 = hot-plug controller needs to generate an interrupt, an d has this interrupt been routed to generate an sci. 29:5 reserved 4 hot plug link active state changed smi status (hplas) ?r/wc. 1 = slsts.lasc (d28:f0/f1/f2/f3/f4/f5/f6/f7:5a, bit 8) transitioned from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5/f6/f7:d8, bit 1) is set. when this bit is set, an smi# will be generated. 3:2 reserved 1 hot plug presence detect smi status (hppdm) ?r/wc. 1 = slsts.pdc (d28:f0/f1/f2/f3/f4/f5/f6/f7: 5a, bit 3) transitioned from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5/f6/f7:d8, bit 1) is set. when this bit is set, an smi# will be generated. 0 power management smi status (pmms) ?r/wc. 1 = rsts.ps (d28:f0/f1/f2/f3/f4/f5/f6/f7:60, bit 16) transitioned from 0-to-1, and mpc.pmme (d28:f0/f1/f2/f3/f4/f5/f6/f7:d8, bit 1) is set.
pci express* configuration registers 808 datasheet 19.1.51 rpdcgen?root port dy namic clock gating enable (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: e1h attribute: r/w default value: 00h size: 8-bits 19.1.52 pecr1?pci express* configuration register 1 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: e8h?ebh attribute: r/w default value: 00000020h size: 32 bits bits description 7:4 reserved. ro 3 shared resource dynamic link cl ock gating enable (srdlcgen)? rw. 0 = disables dynamic clock gating of th e shared resource link clock domain. 1 = enables dynamic clock gating on the root port shared resource link clock domain. only the value from port 1 is used for ports 1?4. only the value from port 5 is used for ports 5?8. 2 shared resource dynamic backbone clock gate enable (srdbcgen)? rw. 0 = disables dynamic clock gating of the shared resource backbone clock domain. 1 = enables dynamic clock gati ng on the root port shared resource backbone clock domain. only the value from port 1 is used for ports 1?4. only the value from port 5 is used for ports 5?8. 1 root port dynamic link cloc k gate enable (rpdlcgen)? rw. 0 = disables dynamic clock gating of the root port link clock domain. 1 = enables dynamic clock gating on the root port link clock domain. 0 root port dynamic backbone cl ock gate enable (rpdbcgen)? rw. 0 = disables dynamic clock gating of th e root port backbone clock domain. 1 = enables dynamic clock gating on th e root port backbone clock domain. bit description 31:2 reserved 1 pecr1 field 2 ?r/w. bios may set this bit to 1. 0 reserved
datasheet 809 pci express* configuration registers 19.1.53 ues?uncorrectable error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 104h ? 107h attribute: r/wc, ro default value: 00000000000x0xxx0x0x0000000x0000b size: 32 bits this register maintains its state through a platform reset. it loses its state upon suspend. bit description 31:21 reserved 20 unsupported request error status (ure) ?r/wc. indicates an unsupported request was received. 19 ecrc error status (ee)?r o. ecrc is not supported. 18 malformed tlp status (mt) ?r/wc. indicates a malf ormed tlp was received. 17 receiver overflow status (ro) ?r/wc. indicates a receiver overflow occurred. 16 unexpected completion status (uc) ?r/wc. indicates an unexpected completion was received. 15 completion abort status (ca) ?r/wc. indicates a completer abort was received. 14 completion timeout status (ct) ?r/wc. indicates a completi on timed out. this bit is set if completion timeout is enabled and a completion is not returned within the time specified by the completion timeout value 13 flow control protocol error status (fcpe) ?ro. flow control protocol errors not supported. 12 poisoned tlp status (pt) ?r/wc. indicates a pois oned tlp was received. 11:5 reserved 4 data link protocol error status (dlpe) ?r/wc. indicates a data link protocol error occurred. 3:1 reserved 0 training error status (te) ?ro. training errors not supported.
pci express* configuration registers 810 datasheet 19.1.54 uem?uncorrec table error mask (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 108h ? 10bh attribute: r/wo, ro default value: 00000000h size: 32 bits when set, the corresponding error in the ue s register is masked, and the logged error will cause no action. when cleared, the corresponding error is enabled. bit description 31:21 reserved 20 unsupported request error mask (ure) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 19 ecrc error mask (ee)?ro. ecrc is not supported. 18 malformed tlp mask (mt) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 17 receiver overflow mask (ro) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 16 unexpected completion mask (uc) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 15 completion abort mask (ca) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 14 completion timeout mask (ct) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 13 flow control protocol error mask (fcpe)? ro. flow control protocol errors not supported. 12 poisoned tlp mask (pt) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 11:5 reserved
datasheet 811 pci express* configuration registers 19.1.55 uev?uncorrectable error severity (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 10ch ? 10fh attribute: ro, r/w default value: 00060011h size: 32 bits 4 data link protocol error mask (dlpe) ?r/wo. 0 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is enabled. 1 = the corresponding error in the ues register (d28:f0/f1/f2/f3/f4/f5/f6/f7:144) is masked. 3:1 reserved 0 training error mask (te) ?ro. training errors not supported bit description bit description 31:21 reserved 20 unsupported request error severity (ure) ?r/w. 0 = error considered non-fatal. (default) 1 = error is fatal. 19 ecrc error severity (ee) ?ro. ecrc is not supported. 18 malformed tlp severity (mt) ?r/w. 0 = error considered non-fatal. 1 = error is fatal. (default) 17 receiver overflow severity (ro) ?r/w. 0 = error considered non-fatal. 1 = error is fatal. (default) 16 reserved 15 completion abort severity (ca)? r/w. 0 = error considered non-fatal. (default) 1 = error is fatal. 14 reserved 13 flow control protocol error severity (fcpe) ?ro. flow control protocol errors not supported. 12 poisoned tlp severity (pt) ?r/w. 0 = error considered non-fatal. (default) 1 = error is fatal. 11:5 reserved 4 data link protocol error severity (dlpe) ?r/w. 0 = error considered non-fatal. 1 = error is fatal. (default) 3:1 reserved 0 training error severity (te)?r/w. te is not supported.
pci express* configuration registers 812 datasheet 19.1.56 ces?correctable error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 110h ? 113h attribute: r/wc default value: 00000000h size: 32 bits 19.1.57 cem?correctable error mask register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 114h ? 117h attribute: r/wo default value: 00002000h size: 32 bits when set, the corresponding error in the ce s register is masked, and the logged error will cause no action. when cleared, the corresponding error is enabled. bit description 31:14 reserved 13 advisory non-fatal error status (anfes)? r/wc. 0 = advisory non-fatal error did not occur. 1 = advisory non-fatal error did occur. 12 replay timer timeout status (rtt) ?r/wc. indicates the re play timer timed out. 11:9 reserved 8 replay number rollover status (rnr)? r/wc. indicates the re play number rolled over. 7 bad dllp status (bd) ?r/wc. indicates a bad dllp was received. 6 bad tlp status (bt)? r/wc. indicates a bad tlp was received. 5:1 reserved 0 receiver error status (re)? r/wc. indicates a receiver error occurred. bit description 31:14 reserved 13 advisory non-fatal error mask (anfem) ?r/wo. 0 = does not mask advisory non-fatal errors. 1 = masks advisory non-fatal errors from (a ) signaling err_cor to the device control register and (b) updating the unco rrectable error status register. this register is set by defa ult to enable compatibility wi th software that does not comprehend role-based error reporting. note: the correctable error detected bit in device status register is set whenever the advisory non-fatal error is detect ed, independent of this mask bit. 12 replay timer timeout mask (rtt) ?r/wo. mask for replay timer timeout. 11:9 reserved 8 replay number rollover mask (rnr)? r/wo. mask for replay number rollover. 7 bad dllp mask (bd) ?r/wo. mask for bad dllp reception. 6 bad tlp mask (bt)? r/wo. mask for bad tlp reception. 5:1 reserved 0 receiver error mask (re)? r/wo. mask for receiver errors.
datasheet 813 pci express* configuration registers 19.1.58 aecc?advanced error capa bilities and control register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 118h ? 11bh attribute: ro default value: 00000000h size: 32 bits 19.1.59 res?root error status register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 130h ? 133h attribute: r/wc, ro default value: 00000000h size: 32 bits bit description 31:9 reserved 8 ecrc check enable (ece)?ro. ecrc is not supported. 7 ecrc check capable (ecc)?ro. ecrc is not supported. 6 ecrc generation enable (ege)?ro. ecrc is not supported. 5 ecrc generation capable (egc )?ro. ecrc is not supported. 4:0 first error pointer (fep)?ro. iden tifies the bit position of the last error reported in the uncorrectable error status register. bit description 31:27 advanced error interrupt message number (aemn) ?ro. there is only one error interrupt allocated. 26:7 reserved 6 fatal error messages received (femr)? ro. set when one or more fatal uncorrectable error messag es have been received. 5 non-fatal error message s received (nfemr)? ro. set when one or more non- fatal uncorrectable error me ssages have been received 4 first uncorrectable fatal (fuf)? ro. set when the first uncorrectable error message received is for a fatal error. 3 multiple err_fatal/nonfatal received (menr) ?ro. for the pch, only one error will be captured. 2 err_fatal/nonfatal received (enr) ?r/wc. 0 = no error message received. 1 = either a fatal or a non-fata l error message is received. 1 multiple err_cor received (mcr) ?ro. for the pch, only one error will be captured. 0 err_cor received (cr) ?r/wc. 0 = no error message received. 1 = a correctable error message is received.
pci express* configuration registers 814 datasheet 19.1.60 pecr2?pci express* configuration register 2 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 300?303h attribute: r/w default value: 60005007h size: 32 bits 19.1.61 peetm?pci express* exte nded test mode register (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 324h attribute: ro default value: see description size: 8 bits 19.1.62 pec1?pci express* configuration register 1 (pci express*?d28:f0/f1/f2/f3/f4/f5/f6/f7) address offset: 330 attribute: ro, r/w default value: 14000016h size: 32 bits bit description 31:20 reserved 21 pecr2 field 1? r/w. bios must set this bit to 1b. 20:0 reserved bit description 7:3 reserved 2 scrambler bypass mode (bau) ?r/w. 0 = normal operation. scrambler and descrambler are used. 1 = bypasses the data scrambler in the transm it direction and the da ta de-scrambler in the receive direction. note: this functionality intended for debug/testing only. note: if bypassing scrambler with the pch root port 1 in x4 configuration, each pch root port must ha ve this bit set. 1:0 reserved bit description 31:8 reserved 7:0 pec1 field 1 ?r/w. bios must program this field to 40h.
datasheet 815 high precision event timer registers 20 high precision event timer registers the timer registers are memory-mapped in a non-indexed scheme. this allows the processor to directly access each register without having to use an index register. the timer register space is 1024 bytes. the registers are generally aligned on 64-bit boundaries to simplify implementation with ia64 processors. there are four possible memory address ranges beginning at 1) fed0_0000h, 2) fed0_1000h, 3) fed0_2000h, 4) fed0_3000h. the choice of address range will be selected by configuration bits in the high precision timer configuration register (chipset config registers:offset 3404h). behavioral rules: 1. software must not attempt to read or write across register boundaries. for example, a 32-bit access should be to offs et x0h, x4h, x8h, or xch. 32-bit accesses should not be to 01h, 02h, 03h, 05h, 06h, 07h, 09h, 0ah, 0bh, 0dh, 0eh, or 0fh. any accesses to these offsets will result in an unexpected behavior, and may result in a master abort. however, these accesses should not result in system hangs. 64- bit accesses can only be to x0h and must not cross 64-bit boundaries. 2. software should not write to read-only registers. 3. software should not expect any partic ular or consistent value when reading reserved registers or bits. 20.1 memory mapped registers table 20-1. memory-mapped registers (sheet 1 of 2) offset mnemonic register default type 000?007h gcap_id general capabilities and identification 0429b17f8 086a701h ro 008?00fh ? reserved ? ? 010?017h gen_conf general configuration 00000000 00000000h r/w 018?01fh ? reserved ? ? 020?027h gintr_sta general interrupt status 00000000 00000000h r/wc, r/ w 028?0efh ? reserved ? ? 0f0?0f7h main_cnt main counter value n/a r/w 0f8?0ffh ? reserved ? ? 100?107h tim0_conf timer 0 configuration and capabilities n/a r/w, ro 108?10fh tim0_comp timer 0 comparator value n/a r/w 110?11fh ? reserved ? ? 120?127h tim1_conf timer 1 configuration and capabilities n/a r/w, ro 128?12fh tim1_comp timer 1 comparator value n/a r/w 130?13fh ? reserved ? ?
high precision event timer registers 816 datasheet notes: 1. reads to reserved registers or bits will return a value of 0. 2. software must not at tempt locks to the memory-mapped i/o ranges for high precision event timers. if attempted, the lock is not honored, wh ich means potential deadlock conditions may occur. 140?147h tim2_conf timer 2 configuration and capabilities n/a r/w, ro 148?14fh tim2_comp timer 2 comparator value n/a r/w 150?15fh ? reserved ? ? 160?167h tim3_cong timer 3 configuration and capabilities n/a r/w, ro 168?16fh tim3_comp timer 3 comparator value n/a r/w 180?187h tim4_cong timer 4 configuration and capabilities n/a r/w, ro 188?18fh tim4_comp timer 4 comparator value n/a r/w 190?19fh ? reserved ? ? 1a0?1a7h tim5_cong timer 5 configuration and capabilities n/a r/w, ro 1a8?1afh tim5_comp timer 5 comparator value n/a r/w 1b0?1bfh ? reserved ? ? 1c0?1c7h tim6_cong timer 6 configuration and capabilities n/a r/w, ro 1c8?1cfh tim6_comp timer 6 comparator value n/a r/w 1d0?1dfh ? reserved ? ? 1e0?1e7h tim7_cong timer 7 configur ation and capabilities n/a r/w, ro 1e8?1efh tim7_comp timer 7 comparator value n/a r/w 1f0?19fh ? reserved ? ? 200?3ffh ? reserved ? ? table 20-1. memory-mapped registers (she et 2 of 2) offset mnemonic register default type
datasheet 817 high precision event timer registers 20.1.1 gcap_id?general capabiliti es and identification register address offset: 00h attribute: ro default value: 0429b17f8086a701h size: 64 bits 20.1.2 gen_conf?general configuration register address offset: 010h attribute: r/w default value: 00000000 00000000h size: 64 bits bit description 63:32 main counter tick period (counter_clk_per_cap) ?ro. this field indicates the period at which the counter increments in femptoseconds (10^-15 seconds). this will return 0429b17f when read. this indicates a period of 69841279 fs (69.841279 ns). 31:16 vendor id capabili ty (vendor_id_cap) ?ro. this is a 16-bit value assigned to intel. 15 legacy replacement rout capable (leg_rt_cap) ?ro. hardwired to 1. legacy replacement interrupt rout option is supported. 14 reserved. this bit returns 0 when read. 13 counter size capability (count_size_cap) ?ro. hardwired to 1. counter is 64-bit wide. 12:8 number of timer capability (num_tim_cap) ?ro. this field indicates the number of timers in this block. 07h = eight timers. 7:0 revision identification (rev_id)? ro. this indicates which revision of the function is implemented. default value will be 01h. bit description 63:2 reserved. these bits return 0 when read. 1 legacy replacement rout (leg_rt_cnf) ?r/w. if the enable_cnf bit and the leg_rt_cnf bit are both set, then the interrupts will be routed as follows: ? timer 0 is routed to irq0 in 8259 or irq2 in the i/o apic ? timer 1 is routed to irq8 in 8259 or irq8 in the i/o apic ? timer 2-n is routed as per the rout ing in the timer n config registers. ? if the legacy replacement rout bit is set, the individual routin g bits for timers 0 and 1 (apic) will have no impact. ? if the legacy replacement rout bit is not se t, the individual routing bits for each of the timers are used. ? this bit will default to 0. bios can set it to 1 to enable the legacy replacement routing, or 0 to disable th e legacy replacement routing. 0 overall enable (enable_cnf) ?r/w. this bit must be se t to enable any of the timers to generate interrupts. if this bit is 0, then the main counter will halt (will not increment) and no inte rrupts will be caused by any of these timers. for level-triggered interrupts, if an interrupt is pending when the enable_cnf bit is changed from 1 to 0, the interrupt status indications (in the various txx_int_sts bits) will not be cleared. software must write to the txx_in t_sts bits to clear the interrupts. note: this bit will default to 0. bios can set it to 1 or 0.
high precision event timer registers 818 datasheet 20.1.3 gintr_sta?general interrupt status register address offset: 020h attribute: r/w, r/wc default value: 00000000 00000000h size: 64 bits . 20.1.4 main_cnt?main counter value register address offset: 0f0h attribute: r/w default value: n/a size: 64 bits . bit description 63:8 reserved. these bits wi ll return 0 when read. 7 timer 7interrupt active (t07_int_sts) ?r/w. same function ality as timer 0. 6 timer 6interrupt active (t06_int_sts) ?r/w. same function ality as timer 0. 5 timer 5interrupt active (t05_int_sts) ?r/w. same function ality as timer 0. 4 timer 4interrupt active (t04_int_sts) ?r/w. same function ality as timer 0. 3 timer 3interrupt active (t03_int_sts) ?r/w. same function ality as timer 0. 2 timer 2 interrupt active (t02_int_sts) ?r/w. same functionality as timer 0. 1 timer 1 interrupt active (t01_int_sts) ?r/w. same functionality as timer 0. 0 timer 0 interrupt active (t00_int_sts) ?r/wc. the functionality of this bit depends on whether the edge or level-triggered mode is used for this timer. (default = 0) if set to level-triggered mode: this bit will be set by hardware if the co rresponding timer interru pt is active. once the bit is set, it can be cl eared by software writing a 1 to the same bit position. writes of 0 to this bit will have no effect. if set to edge-triggered mode: this bit should be ignored by software. so ftware should always write 0 to this bit. note: defaults to 0. in edge triggered mode, th is bit will always re ad as 0 and writes will have no effect. bit description 63:0 counter value (counter_val[63:0]) ?r/w. reads return the current value of the counter. writes load the new value to the counter. notes: 1. writes to this register should only be done while the counter is halted. 2. reads to this register return th e current value of the main counter. 3. 32-bit counters will always return 0 for the upper 32-bits of this register. 4. if 32-bit software attempts to read a 64-bit counter, it should first halt the counter. since this delays the interrupts for all of the timers, this should be done only if the consequences are understood. it is strongly recommended that 32-bit software only operate the timer in 32-bit mode. 5. reads to this register are monotonic. no two consecutive re ads return the same value. the second of two reads always re turns a larger value (unless the timer has rolled over to 0).
datasheet 819 high precision event timer registers 20.1.5 timn_conf?timer n conf iguration and capabilities register address offset: timer 0: 100?107h, attribute: ro, r/w timer 1: 120?127h, timer 2: 140?147h, timer 3: 160?167h, timer 4: 180?187h, timer 5: 1a0?1a7h, timer 6: 1c0?1c7h, timer 7: 1e0?1e7h, default value: n/a size: 64 bit note: the letter n can be 0, 1, 2, 3, 4, 5, 6, or 7 referring to timer 0, 1, 2, 3, 4, 5, 6, or 7. bit description 63:56 reserved. these bits wi ll return 0 when read. 55:52, 43 timer interrupt rout capabi lity (timern_int_rout_cap) ?ro. timer 0, 1: bits 52, 53, 54, and 55 in this field (corresponding to irq 20, 21, 22, and 23) have a value of 1. wr ites will have no effect. timer 2: bits 43, 52, 53, 54, and 55 in this field (corresponding to irq 11, 20, 21, 22, and 23) have a value of 1. writes will have no effect. timer 3: bits 44, 52, 53, 54, and 55 in this field (corresponding to irq 11, 20, 21, 22, and 23) have a value of 1. writes will have no effect. timer 4, 5, 6, 7: this field is always 0 as interrupts from these timers can only be delivered using direct fsb interrupt messages. note: if irq 11 is used for hpet #2, software should ensure irq 11 is not shared with any other devices to ensure the proper operation of hpet #2. note: if irq 12 is used for hpet #3, software should ensure irq 12 is not shared with any other devices to ensure the proper operation of hpet #3. 51:45, 42:14 reserved . these bits return 0 when read. 13:9 interrupt rout (timern_int_rout_cnf)? r/w. this 5-bit field indicates the routing for the interrupt to the 8259 or i/o (x ) apic. software writes to this field to select which interrupt in the 8259 or i/o (x) wi ll be used for this timer?s interrupt. if the value is not supported by this particular time r, then the value read back will not match what is written. the softwa re must only write valid values. timer 4, 5, 6, 7: this field is read-only and reads will return 0. notes: 1. if the interrupt is handled using the 8259, only interrupts 0?15 are applicable and valid. software must not program any value other than 0?15 in this field. 2. if the legacy replacement rout bit is set, then timers 0 and 1 will have a different routing, and th is bit field has no effe ct for those two timers. 3. timer 0,1: software is responsible to ma ke sure it programs a valid value (20, 21, 22, or 23) for this field. the pch lo gic does not check the validity of the value written. 4. timer 2: software is responsible to ma ke sure it programs a valid value (11, 20, 21, 22, or 23) for this field. the pch logic does not check the validity of the value written. 5. timer 3: software is responsible to ma ke sure it programs a valid value (12, 20, 21, 22, or 23) for this field. the pch logic does not check the validity of the value written.
high precision event timer registers 820 datasheet note: reads or writes to unimplemented timers should not be attempted. read from any unimplemented registers will re turn an undetermined value. 8 timer n 32-bit mode (timern_32mode_cnf)? r/w or ro. software can set this bit to force a 64-bit timer to behave as a 32-bit timer. timer 0: bit is read/write (default to 0). 0 = 64 bit; 1 = 32 bit timers 1, 2, 3, 4, 5, 6, 7: hardwired to 0. writes have no e ffect (since these two timers are 32-bits). note: when this bit is set to 1, the hardware counter will do a 32-bit operation on comparator match and rollovers; th us, the upper 32-bit of the timer 0 comparator value register is ignored. the upper 32-bit of the main counter is not involved in any rollover from lower 32-bit of the main counter and becomes all zeros. 7 reserved . this bit returns 0 when read. 6 timer n value set (timern_val_set_cnf) ?r/w. software uses this bit only for timer 0 if it has been set to periodic mode. by writing this bit to a 1, the software is then allowed to directly set the timer?s accumulator. software does not have to write this bit back to 1 (it automatically clears). software should not write a 1 to this bit position if the timer is set to non-periodic mode. note: this bit will return 0 when read. writes will only have an effect for timer 0 if it is set to periodic mode. writes will have no effect for timers 1, 2, 3, 4, 5, 6, 7. 5 timer n size (timern_size_cap) ?ro. this read only field indicates the size of the timer. timer 0: value is 1 (64-bits). timers 1, 2, 3, 4, 5, 6, 7.: value is 0 (32-bits). 4 periodic interrupt capable (timern_per_int_cap) ?ro. if this bit is 1, the hardware supports a periodic mo de for this timer?s interrupt. timer 0: hardwired to 1 (suppo rts the periodic interrupt). timers 1, 2, 3, 4, 5, 6, 7.: hardwired to 0 (does not support periodic interrupt). 3 timer n type (timern_type_cnf) ?r/w or ro. timer 0: bit is read/write. 0 = disable ti mer to generate periodic interrupt; 1 = enable timer to generate a periodic interrupt. timers 1, 2, 3, 4, 5, 6, 7.: hard wired to 0. writes have no affect. 2 timer n interrupt enable (timern_int_enb_cnf)? r/w. this bit must be set to enable timer n to cause an interrupt when it times out. 0 = disable (default). the timer can still co unt and generate appr opriate status bits, but will not cause an interrupt. 1 = enable. 1 timer interrupt type (timern_int_type_cnf) ?r/w. 0 = the timer interrupt is edge triggered. this means that an edge-type interrupt is generated. if another in terrupt occurs, an other edge will be generated. 1 = the timer interrupt is leve l triggered. this means that a level-triggered interrupt is generated. the interrupt will be held active until it is cleared by writing to the bit in the general interrupt status register . if another interrup t occurs before the interrupt is cleared, the in terrupt will remain active. timer 4, 5, 6, 7: this bit is read -only, and will return 0 when read 0 reserved . these bits will return 0 when read. bit description
datasheet 821 high precision event timer registers 20.1.6 timn_comp?timer n co mparator value register address offset: timer 0: 108h?10fh, timer 1: 128h?12fh, timer 2: 148h?14fh, timer 3: 168h?16fh, timer 4: 188h ? 18fh, timer 5: 1a8h ? 1afh, timer 6: 1c8h ? 1cfh, timer 7: 1e8h ? 1efh attribute: r/w default value: n/a size: 64 bit bit description 63:0 timer compare value ?r/w. reads to this register re turn the current value of the comparator timers 0, 1, 2, 3 4, 5, 6, 7 (4, 5, 6, 7) are configured to non-periodic mode: writes to this register load the value against which the main counter should be compared for this timer. ? when the main counter equals the valu e last written to this register, the corresponding interrupt can be generated (if so enabled). ? the value in this register does no t change based on the interrupt being generated. timer 0 is configured to periodic mode: ? when the main counter equals the valu e last written to this register, the corresponding interrupt can be generated (if so enabled). ? after the main counte r equals the value in this register, the value in this register is increased by the value last written to the register. for example, if the value written to the register is 00000123h, then 1. an interrupt will be generated wh en the main counter reaches 00000123h. 2. the value in this register will then be adjusted by the hardware to 00000246h. 3. another interrupt will be generated when the main counter reaches 00000246h 4. the value in this register will then be adjusted by the hardware to 00000369h ? as each periodic interrupt oc curs, the value in this register will increment. when the incremented value is greater than the maximum value possible for this register (ffffffffh for a 32-bit timer or ffffffffffffffffh for a 64-bit timer), the value will wrap around through 0. for example, if the current value in a 32-bit timer is ffff0000h and the last value writ ten to this register is 20000, then after the next interrupt the value will change to 00010000h default value for each timer is all 1s for th e bits that are implemented. for example, a 32-bit timer has a default value of 00000000ffffffffh. a 64-bit timer has a default value of ffffffffffffffffh.
high precision event timer registers 822 datasheet
datasheet 823 serial peripheral interface (spi) 21 serial peripheral interface (spi) the serial peripheral interface resides in me mory mapped space. this function contains registers that allow for the setup and programming of devices that reside on the spi interface. note: all registers in this function (including me mory-mapped registers) must be addressable in byte, word, and dword quantities. the software must always make register accesses on natural boundaries (that is, dword accesses must be on dword boundaries; word accesses on word boundaries, etc.) in ad dition, the memory-mapped register space must not be accessed with the lock semantic exclusive-access mechanism. if software attempts exclusive-access mechanisms to the spi memory-mapped space, the results are undefined. 21.1 serial peripheral interface memory mapped configuration registers the spi host interface registers are memory-mapped in the rcrb (root complex register block) chipset register space with a base address (spibar) of 3800h and are located within the range of 3800h to 39ffh . the address for rcrb can be found in rcba register see section 13.1.38 . the individual registers are then accessible at spibar + offset as indicated in the following table. these memory mapped registers must be accessed in byte, word, or dword quantities. table 21-1. serial peripheral inte rface (spi) register address map (spi memory mapped configuratio n registers) (sheet 1 of 2) spibar + offset mnemonic register name default 00h?03h bfpr bios flash primary region 00000000h 04h?05h hsfsts hardware sequ encing flash status 0000h 06h?07h hsfctl hardware sequencing flash control 0000h 08h?0bh faddr flash address 00000000h 0ch?0fh reserved reserved 00000000h 10h?13h fdata0 flash data 0 00000000h 14h?4fh fdatan flash data n 00000000h 50h?53h fracc flash region access permissions 00000202h 54h?57h freg0 flash region 0 00000000h 58h?5bh freg1 flash region 1 00000000h 5ch?5f freg2 flash region 2 00000000h 60h?63h freg3 flash region 3 00000000h 64h?67h freg3 flash region 4 00000000h 67h?73h reserved reserved for future flash regions 74h?77h fpr0 flash protected range 0 00000000h
serial peripheral interface (spi) 824 datasheet 21.1.1 bfpr ?bios flash pr imary region register (spi memory mapped co nfiguration registers) memory address: spibar + 00h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. 78h?7bh fpr1 flash protected range 1 00000000h 7ch?7fh fpr2 flash protected range 2 00000000h 80?83h fpr3 flash protected range 3 00000000h 84h?87h fpr4 flash protected range 4 00000000h 88h?8fh ? reserved ? 90h ssfsts software sequ encing flash status 00h 91h?93h ssfctl software sequencing flash control 0000h 94h?95h preop prefix opcode configuration 0000h 96h?97h optype opcode type configuration 0000h 98h?9fh opmenu opcode menu configuration 00000000 00000000h a0h bbar bios base address configuration 00000000h b0h?b3h fdoc flash descriptor observability control 00000000h b4h?b7h fdod flash descriptor observability data 00000000h b8h?c3h ? reserved ? c0h?c3h afc additional flash control 00000000h c4?c7h lvscc host lower vendor specific component capabilities 00000000h c8?c11h uvscc host upper vendor specific component capabilities 00000000h d0?d3h fpb flash partition boundary 00000000h table 21-1. serial peripheral inte rface (spi) register address map (spi memory mapped configuration register s) (sheet 2 of 2) spibar + offset mnemonic register name default bit description 31:29 reserved 28:16 bios flash primary region limit (prl)? ro. this specifies address bits 24:12 for the primary region limit. the value in this register loaded from the contents in the flash descriptor.flreg1.region limit 15:13 reserved 12:0 bios flash primary region base (prb) ?ro. this specifies address bits 24:12 for the primary region base the value in this register is load ed from the contents in the flash descriptor.flreg1.region base
datasheet 825 serial peripheral interface (spi) 21.1.2 hsfs?hardware sequencing flash status register (spi memory mapped configuration registers) memory address: spibar + 04h attribute: ro, r/wc, r/w default value: 0000h size: 16 bits bit description 15 flash configuration lock-down (flockdn)? r/w/l. when set to 1, those flash program registers that are locked down by this flockdn bit cannot be written. once set to 1, this bit can only be cleared by a hardware reset du e to a global reset or host partition reset in an intel ? me enabled system. 14 flash descriptor valid (fdv)? ro. this bit is set to a 1 if the flash controller read the correct flash descriptor signature. if the flash descriptor valid bit is not 1, software cannot use the hardware sequencing registers, but must use the software sequencing registers. any attempt to use the hardware sequencing registers will result in the fcerr bit being set. 13 flash descriptor override pin strap status (fdopss)? ro. this bit reflects the value the flash descriptor override pin-strap. 0 = the flash descriptor override strap is set 1 = no override 12:6 reserved 5 spi cycle in progress (scip)? ro. hardware sets this bi t when software sets the flash cycle go (fgo) bit in the hardware se quencing flash control register. this bit remains set until the cycle completes on the spi interface. hardware automatically sets and clears this bit so that software can dete rmine when read data is valid and/or when it is safe to begin programming the next command. software must only program the next command when this bit is 0. note: this field is only applicable when in descriptor mode and hardware sequencing is being used. 4:3 block/sector eras e size (berase) ?ro. this field identifies the erasable sector size for all flash components. valid bit settings: 00 = 256 byte 01 = 4 k byte 10 = 8 k byte 11 = 64 k byte if the fla is less than fpba then this field reflects the value in the lvscc.lbes register. if the fla is greater or equal to fpba th en this field reflec ts the value in the uvscc.ubes register. note: this field is only applicable when in descriptor mode and hardware sequencing is being used. 2 access error log (ael)? r/w/c. hardware sets this bit to a 1 when an attempt was made to access the bios region using the di rect access method or an access to the bios program registers that violated the security restrictions. this bit is simply a log of an access security violatio n. this bit is cleared by software writing a 1. note: this field is only applicable when in descriptor mode and hardware sequencing is being used.
serial peripheral interface (spi) 826 datasheet 1 flash cycle error (fcerr) ?r/w/c. hardware sets this bit to 1 when an program register access is bl ocked to the flash due to one of the protection policies or when any of the programmed cycle re gisters is written while a programmed access is already in progress. this bit remains asserted until cleared by so ftware writing a 1 or until hardware reset occurs due to a global re set or host partition reset in an intel ? me enabled system. software must clear this bit before se tting the flash cycle go bit in this register. note: this field is only applicable when in descriptor mode and hardware sequencing is being used. 0 flash cycle done (fdone) ?r/w/c. the pch sets this bit to 1 when the spi cycle completes after software previously set the fgo bit. this bit re mains asserted until cleared by software writing a 1 or hardware re set due to a global re set or host partition reset in an intel ? me enabled system. when this bit is set and the spi smi# enable bit is set, an internal signal is asserted to the smi# generation block. software must make sure this bit is cleared prior to enabling the spi smi# assertion for a new programmed access. note: this field is only applicable when in descriptor mode and hardware sequencing is being used. bit description
datasheet 827 serial peripheral interface (spi) 21.1.3 hsfc?hardware sequencing flash control register (spi memory mapped configuration registers) memory address: spibar + 06h attribute: r/w, r/ws default value: 0000h size: 16 bits note: this register is only applicable when spi device is in descriptor mode. 21.1.4 faddr?flash address register (spi memory mapped configuration registers) memory address: spibar + 08h attribute: r/w default value: 00000000h size: 32 bits bit description 15 flash spi smi# enable (fsmie) ?r/w. when set to 1, th e spi asserts an smi# request whenever the flash cycle done bit is 1. 14 reserved 13:8 flash data byte count (fdbc)? r/w. this field specifies the number of bytes to shift in or out during the data portion of the spi cycle. the contents of this register are 0s based with 0b representing 1 byte and 11 1111b representing 64 bytes. the number of bytes transferred is the valu e of this field plus 1. this field is ignored for the block erase command. 7:3 reserved 2:1 flash cycle (fcycle) ?r/w. this field defines the flas h spi cycle type generated to the flash when the fgo bit is set as defined below: 00 = read (1 up to 64 bytes by setting fdbc) 01 = reserved 10 = write (1 up to 64 bytes by setting fdbc) 11 = block erase 0 flash cycle go (fgo)? r/w/s. a write to this register with a 1 in this bit initiates a request to the flash spi arbiter to start a cy cle. this register is cleared by hardware when the cycle is granted by the spi arbiter to run the cycle on the spi bus. when the cycle is complete, the fdone bit is set. software is forbidden to write to any regist er in the hsflctl register between the fgo bit getting set and the fdone bi t being cleared. any attempt to violate this rule will be ignored by hardware. hardware allows other bits in this register to be progra mmed for the same transaction when writing this bit to 1. this saves an addition al memory write. this bit always returns 0 on reads. bit description 31:25 reserved 24:0 flash linear address (fla) ?r/w. the fla is the starting byte linear address of a spi read or write cycle or an address within a block for the block erase command. the flash linear address must fall within a regi on for which bios has access permissions. hardware must convert the fla into a flash physical address (fpa) before running this cycle on the spi bus.
serial peripheral interface (spi) 828 datasheet 21.1.5 fdata0?flash data 0 register (spi memory mapped co nfiguration registers) memory address: spibar + 10h attribute: r/w default value: 00000000h size: 32 bits 21.1.6 fdatan?flash data [n] register (spi memory mapped co nfiguration registers) memory address: spibar + 14h attribute: r/w spibar + 18h spibar + 1ch spibar + 20h spibar + 24h spibar + 28h spibar + 2ch spibar + 30h spibar + 34h spibar + 38h spibar + 3ch spibar + 40h spibar + 44h spibar + 48h spibar + 4ch default value: 00000000h size: 32 bits bit description 31:0 flash data 0 (fd0) ?r/w. this field is shifted out as the spi data on the master-out slave-in data pin during the data portion of the spi cycle. this register also shifts in the data from th e master-in slave-out pin into this register during the data portion of the spi cycle. the data is always shifted starting with the least significant byte, msb to lsb, followed by the next least significant by te, msb to lsb, etc. specifically, the shift order on spi in terms of bits within this register is: 7-6-5-4-3-2-1-0-15-14-13-?8-23-22-?16-31?24 bit 24 is the last bit shifted out/in. there are no alignment assumptions; byte 0 always represents the value specified by the cycle address. note that the data in this register may be modified by the hardware during any programmed spi transaction. direct memory reads do not modify the contents of this register. bit description 31:0 flash data n (fd[n]) ?r/w. similar definition as flash data 0. however, this register does not begin shifting until fd[n-1] has completely shifted in/out.?r/w.
datasheet 829 serial peripheral interface (spi) 21.1.7 frap?flash regions acce ss permissions register (spi memory mapped configuration registers) memory address: spibar + 50h attribute: ro, r/w default value: 00000202h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. bit description 31:24 bios master write access grant (bmwag) ?r/w. each bit [31:29] corresponds to master[7:0]. bios can grant one or more masters write access to the bios region 1 overriding the permissions in the flash descriptor. master[1] is host processor/bios, master[2] is intel ? management engine, master[3] is host processor/gbe. master[0 ] and master[7:4] are reserved. the contents of this register are locked by the flockdn bit. 23:16 bios master read access grant (bmrag) ?r/w. each bit [28:16] corresponds to master[7:0]. bios can grant one or more ma sters read access to the bios region 1 overriding the read permissi ons in the flash descriptor. master[1] is host processor/bios, master[2] is intel ? management engine, master[3] is host processor/gbe. master[0 ] and master[7:4] are reserved. the contents of this register are locked by the flockdn bit 15:8 bios region write access (brwa) ?ro. each bit [15:8] corresponds to regions [7:0]. if the bit is set, this master can er ase and write that part icular region through register accesses. the contents of this register are that of the flash descri ptor. flash master 1 master region write access or a particular master has granted bios write permissions in their master write access grant register or the flash descriptor security override strap is set. 7:0 bios region read access (brra) ?ro. each bit [7:0] co rresponds to regions [7:0]. if the bit is set, this master can re ad that particular re gion through register accesses. the contents of this register are that of the flash descri ptor.flash master 1.master region write access or a particular master has granted bios read permissions in their master read access grant regi ster or the flash descriptor security override strap is set.
serial peripheral interface (spi) 830 datasheet 21.1.8 freg0?flash region 0 (f lash descriptor) register (spi memory mapped co nfiguration registers) memory address: spibar + 54h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. 21.1.9 freg1?flash region 1 (bios descriptor) register (spi memory mapped co nfiguration registers) memory address: spibar + 58h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 0 limit. the value in this register is load ed from the contents in the flash descriptor.flreg0.region limit 15:13 reserved 12:0 region base (rb) / flash descriptor base address region (fdbar) ?ro. this specifies address bits 24 :12 for the region 0 base the value in this register is load ed from the contents in the flash descriptor.flreg0.region base bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 1 limit. the value in this register is load ed from the contents in the flash descriptor.flreg1.region limit 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 1 base the value in this register is load ed from the contents in the flash descriptor.flreg1.region base
datasheet 831 serial peripheral interface (spi) 21.1.10 freg2?flash region 2 (intel ? me) register (spi memory mapped configuration registers) memory address: spibar + 5ch attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. 21.1.11 freg3?flash regi on 3 (gbe) register (spi memory mapped configuration registers) memory address: spibar + 60h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 2 limit. the value in this register is load ed from the contents in the flash descriptor.flreg 2.region limit 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 2 base the value in this register is load ed from the contents in the flash descriptor.flreg2.region base bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 3 limit. the value in this register is load ed from the contents in the flash descriptor.flreg 3.region limit 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 3 base the value in this register is load ed from the contents in the flash descriptor.flreg3.region base
serial peripheral interface (spi) 832 datasheet 21.1.12 freg4?flash region 4 (platform data) register (spi memory mapped co nfiguration registers) memory address: spibar + 64h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. 21.1.13 pr0?protected range 0 register (spi memory mapped co nfiguration registers) memory address: spibar + 74h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 4 limit. the value in this register is load ed from the contents in the flash descriptor.flreg4.region limit 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 4 base the value in this register is load ed from the contents in the flash descriptor.flreg4.region base bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be bl ocked by hardware. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fiel ds are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11:0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
datasheet 833 serial peripheral interface (spi) 21.1.14 pr1?protected range 1 register (spi memory mapped configuration registers) memory address: spibar + 78h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be blocked by hardwa re. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fields are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11: 0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
serial peripheral interface (spi) 834 datasheet 21.1.15 pr2?protected range 2 register (spi memory mapped co nfiguration registers) memory address: spibar + 7ch attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be bl ocked by hardware. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fiel ds are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11:0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
datasheet 835 serial peripheral interface (spi) 21.1.16 pr3?protected range 3 register (spi memory mapped configuration registers) memory address: spibar + 80h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be blocked by hardwa re. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fields are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11: 0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
serial peripheral interface (spi) 836 datasheet 21.1.17 pr4?protected range 4 register (spi memory mapped co nfiguration registers) memory address: spibar + 84h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to a ddresses between them (inclusive) must be bl ocked by hardware. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be bl ocked by hardware. the base and li mit fields are ig nored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11:0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by th is protected range.
datasheet 837 serial peripheral interface (spi) 21.1.18 ssfs?software sequenci ng flash status register (spi memory mapped configuration registers) memory address: spibar + 90h attribute: ro, r/wc default value: 00h size: 8 bits note: the software sequencing control and status registers are reserved if the hardware sequencing control and status registers are used. bit description 7:5 reserved 4 access error log (ael) ?ro. this bit reflects the valu e of the hardware sequencing status ael register. 3 flash cycle error (fcerr)? r/wc. hardware sets this bit to 1 when a programmed access is blocked from running on the spi interface due to on e of the protection policies or when any of the programmed cycle register s is written while a programmed access is already in progress. this bit remains asserted until cleared by software writing a 1 or hardware reset due to a global reset or host partition reset in an intel ? me enabled system. 2 cycle done status? r/wc. the pch sets this bit to 1 when the spi cycle completes (that is, scip bit is 0) after software sets the go bit. this bit remains asserted until cleared by software writing a 1 or hardware re set due to a global re set or host partition reset in an intel ? me enabled system. when this bit is set and the spi smi# enable bit is set, an internal signal is asserted to the smi# generation block. software must make sure this bit is cleared prior to enabling the spi smi# assertion for a new programmed access. 1 reserved 0 spi cycle in progress (scip) ?ro. hardware sets this bi t when software sets the spi cycle go bit in the comman d register. this bit remains set until the cycle completes on the spi interface. hardware automatically sets and clears this bit so that software can determine when read data is valid and/or when it is safe to begin programming the next command. software must only program the next command when this bit is 0.
serial peripheral interface (spi) 838 datasheet 21.1.19 ssfc?software sequenci ng flash control register (spi memory mapped co nfiguration registers) memory address: spibar + 91h attribute: r/w default value: f80000h size: 24 bits bit description 23:19 reserved. bios must set this field to ?11111?b 18:16 spi cycle frequency (scf) ?r/w. this register sets fre quency to use for all spi software sequencing cycles (w rite, erase, fast read, read status, etc.) except for the read cycle which always run at 20mhz. 000 = 20 mhz 001 = 33 mhz 100 = 50 mhz all other values reserved. this register is locked when the spi configuration lock-down bit is set. 15 spi smi# enable (sme) ?r/w. when set to 1, the sp i asserts an smi# request whenever the cycle done status bit is 1. 14 data cycle (ds) ?r/w. when set to 1, there is data that corresponds to this transaction. when 0, no data is delivered for this cycle, and th e dbc and data fields themselves are don?t cares. 13:8 data byte count (dbc)? r/w. this field specifies the number of bytes to shift in or out during the data portion of the spi cycle. the valid settings (in decimal) are any value from 0 to 63. the number of byte s transferred is the value of this field plus 1. note that when this field is 00_0000b, then there is 1 byte to transfer and that 11_1111b means there are 64 bytes to transfer. 7 reserved 6:4 cycle opcode pointer (cop) ?r/w. this field selects one of the programmed opcodes in the opcode menu to be used as the spi command/opcode. in the case of an atomic cycle sequence, this determines the second command.?r/w. 3 sequence prefix opcode pointer (spop)? r/w. this field selects one of the two programmed prefix opcodes for use when performing an atomic cycle sequence. a value of 0 points to the opcode in the least significant byte of the prefix opcodes register. by making this programmable, the pch supports flash devices that have different opcodes for enabli ng writes to the data space vs. status register. 2 atomic cycle sequence (acs)? r/w. when set to 1 along with the scgo assertion, the pch will execute a sequen ce of commands on the spi interface without allowing the lan component to arbitrate and interleave cycles. the sequence is composed of: ? atomic sequence prefix co mmand (8-bit opcode only) ? primary command specified below by so ftware (can include address and data) ? polling the flash status register (opcode 05h) until bit 0 becomes 0b. the spi cycle in progress bit remains se t and the cycle done status bit remains unset until the busy bit in the flash status register returns 0. 1 spi cycle go (scgo)? r/ws. this bit always returns 0 on reads. however, a write to this register with a 1 in this bit starts the spi cycle defined by the other bits of this register. the ?spi cycle in progress? (scip) bit gets set by this action. hardware must ignore writes to this bit whil e the cycle in progress bit is set. hardware allows other bits in this register to be programmed for the same transaction when writing this bit to 1. this saves an additi onal memory write. 0 reserved
datasheet 839 serial peripheral interface (spi) 21.1.20 preop?prefix opcode configuration register (spi memory mapped configuration registers) memory address: spibar + 94h attribute: r/w default value: 0000h size: 16 bits note: this register is not writable when the flash configuration lock-down bit (spibar + 04h:15) is set. 21.1.21 optype?opcode type configuration register (spi memory mapped configuration registers) memory address: spibar + 96h attribute: r/w default value: 0000h size: 16 bits entries in this register correspond to the entries in the opcode menu configuration register. note: the definition below only provides write protection for opcodes that have addresses associated with them. therefore, any erase or write opcodes that do not use an address should be avoided (for example, ?chip erase? and ?auto-address increment byte program?) note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. bit description 15:8 prefix opcode 1 ?r/w. software programs an spi opco de into this field that is permitted to run as the first comm and in an atomic cycle sequence. 7:0 prefix opcode 0 ?r/w. software programs an spi opco de into this field that is permitted to run as the first comm and in an atomic cycle sequence. bit description 15:14 opcode type 7 ?r/w. see the description for bits 1:0 13:12 opcode type 6 ?r/w. see the description for bits 1:0 11:10 opcode type 5 ?r/w. see the description for bits 1:0 9:8 opcode type 4 ?r/w. see the description for bits 1:0 7:6 opcode type 3 ?r/w. see the description for bits 1:0 5:4 opcode type 2 ?r/w. see the description for bits 1:0 3:2 opcode type 1 ?r/w. see the description for bits 1:0 1:0 opcode type 0 ?r/w. this field specifies information about the corresponding opcode 0. this information allows th e hardware to 1) know whet her to use the address field and 2) provide bios and shared flash protec tion capabilities. the encoding of the two bits is: 00 = no address associated with this opcode; read cycle type 01 = no address associated with this opcode; write cycle type 10 = address required; read cycle type 11 = address required; write cycle type
serial peripheral interface (spi) 840 datasheet 21.1.22 opmenu?opcode menu configuration register (spi memory mapped co nfiguration registers) memory address: spibar + 98h attribute: r/w default value: 0000000000000000h size: 64 bits eight entries are available in this register to give bios a sufficient set of commands for communicating with the flash device, while also restricting what malicious software can do. this keeps the hardware flexible enough to operate with a wide variety of spi devices. note: it is recommended that bios avoid progra mming write enable op codes in this menu. malicious software could then perform writes and erases to the spi flash without using the atomic cycle mechanism. this could cause functional failures in a shared flash environment. write enable opcodes should on ly be programmed in the prefix opcodes. this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. bit description 63:56 allowable opcode 7 ?r/w. see the description for bits 7:0 55:48 allowable opcode 6 ?r/w. see the description for bits 7:0 47:40 allowable opcode 5 ?r/w. see the description for bits 7:0 39:32 allowable opcode 4 ?r/w. see the description for bits 7:0 31:24 allowable opcode 3 ?r/w. see the description for bits 7:0 23:16 allowable opcode 2 ?r/w. see the description for bits 7:0 15:8 allowable opcode 1 ?r/w. see the description for bits 7:0 7:0 allowable opcode 0 ?r/w. software programs an spi opco de into this field for use when initiating spi commands through the control register.
datasheet 841 serial peripheral interface (spi) 21.1.23 bbar?bios base addres s configuration register (spi memory mapped configuration registers) memory address: spibar + a0h attribute: r/w, ro default value: 00000000h size: 32 bits eight entries are available in this register to give bios a sufficient set of commands for communicating with the flash device, while also restricting what malicious software can do. this keeps the hardware flexible enough to operate with a wide variety of spi devices. 21.1.24 fdoc?flash descriptor ob servability control register (spi memory mapped configuration registers) memory address: spibar + b0h attribute: r/w default value: 00000000h size: 32 bits note: this register that can be used to observe the contents of the flash descriptor that is stored in the pch flash controller. this register is only applicable when spi device is in descriptor mode. bit description 31:24 reserved 23:8 bottom of system flash ?r/w. this field determines the bottom of the system bios. the pch will not run programmed commands nor memory reads whose address field is less than this value. this field corresponds to bits 23:8 of the 3-by te address; bits 7:0 are assumed to be 00h for this vector wh en comparing to a potential spi address. note: the spi host controller prevents any programmed cycle using the address register with an address less than the value in this register. some flash devices specify that the read id command must have an address of 0000h or 0001h. if this command must be supported with these devices, it must be performed with the bios bar 7:0 reserved bit description 31:15 reserved 14:12 flash descriptor section select (fdss) ?r/w. selects which section within the loaded flash descriptor to observe. 000 = flash signature and descriptor map 001 = component 010 = region 011 = master 111 = reserved 11:2 flash descriptor section index (fdsi)? r/w. selects the dw offset within the flash descriptor section to observe. 1:0 reserved
serial peripheral interface (spi) 842 datasheet 21.1.25 fdod?flash descriptor ob servability data register (spi memory mapped co nfiguration registers) memory address: spibar + b4h attribute: ro default value: 00000000h size: 32 bits note: this register that can be used to observe the contents of the flash descriptor that is stored in the pch flash controller. 21.1.26 afc?additional flash control register (spi memory mapped co nfiguration registers) memory address: spibar + c0h attribute: ro, r/w default value: 00000000h size: 32 bits. 21.1.27 lvscc?host lower ve ndor specific component capabilities register (spi memory mapped co nfiguration registers) memory address: spibar + c4h attribute: ro, rwl default value: 00000000h size: 32 bits note: all attributes described in lvscc must apply to all flash space below the fpba, even if it spans between two separate flash parts. th is register is only applicable when spi device is in descriptor mode. bit description 31:0 flash descriptor section data (fdsd)? ro. returns the dw of data to observe as selected in the flash descriptor observability control. bit description 31:3 reserved 2:1 flash controller interface dy namic clock gating enable? r/w. 0 = flash controller interface dynamic clock gating is disabled 1 = flash controller interface dy namic clock gating is enabled other configurations are reserved. 0 flash controller core dyna mic clock gating enable? r/w. 0 = flash controller core dyna mic clock gating is disabled 1 = flash controller core dyna mic clock gating is enabled bit description 31:24 reserved 23 vendor component lock (lvcl)? rw. this register locks itself when set. 0 = the lock bit is not set 1 = the vendor component lock bit is set. note: this bit applies to both uvscc and lvscc registers. 22:16 reserved 15:8 lower erase opcode (leo) ?rw. this register is programmed with the flash erase instruction opcode required by the vendor?s flash component. this register is locked by the vendor component lock (lvcl) bit. 7:5 reserved
datasheet 843 serial peripheral interface (spi) 4 write enable on write status (lwews) ?rw. this register is locked by the vendor component lock (lvcl) bit. 0 = no automatic write of 00h will be ma de to the spi flash? s status register) 1 = a write of 00h to the spi flash?s status register will be sent on every write and erase to the spi flash. 06h 01h 00h is the opco de sequence used to unlock the status register. notes: 1. this bit should not be set to 1 if there are non-volatile bits in the spi flash?s status register. this may lead to premature flash wear out. 2. this is not an atomic sequence. if th e spi component?s status register is non- volatile, then bios should issue an atomic software sequence cycle to unlock the flash part. 3. bit 3 and bit 4 should not be both set to 1. 3 lower write status required (lwsr) ?rw. this register is locked by the vendor component lock (lvcl) bit. 0 = no automatic write of 00h will be ma de to the spi flash? s status register) 1 = a write of 00h to the spi flash?s status register will be sent on every write and erase to the spi flash. 50h 01h 00h is the opco de sequence used to unlock the status register. notes: 1. this bit should not be set to 1 if there are non volatile bits in the spi flash?s status register. this may lead to premature flash wear out. 2. this is not an atomic sequence. if th e spi component?s status register is non- volatile, then bios should issue an atomic software sequence cycle to unlock the flash part. 3. bit 3 and bit 4 should not be both set to 1. 2 lower write granularity (lwg)? rw . this register is locked by the vendor component lock (lvcl) bit. 0 = 1 byte 1 = 64 byte notes: 1. if more than one flash component exists , this field must be set to the lowest common write granularity of th e different flash components. 2. if using 64 b write, bios must ensure that multiple byte writes do not occur over 256 b boundaries. this will lead to corru ption as the write will wrap around the page boundary on the spi flash part. this is a a feature page writable spi flash. 1:0 lower block/sector erase size (lbes)? rw. this field identifies the erasable sector size for all flash components. 00 = 256 byte 01 = 4 kb 10 = 8 kb 11 = 64 kb this register is locked by the vendor component lock (lvcl) bit. hardware takes no action base d on the value of this regi ster. the contents of this register are to be used only by software an d can be read in the hsfsts.berase register in both the bios and the gbe program registers if fla is less than fpba. bit description
serial peripheral interface (spi) 844 datasheet 21.1.28 uvscc?host upper ve ndor specific component capabilities register (spi memory mapped co nfiguration registers) memory address: spibar + c8h attribute: ro, rwl default value: 00000000h size: 32 bits note: all attributes described in uv scc must apply to all flash space equal to or above the fpba, even if it spans between two separate flash parts. this register is only applicable when spi device is in descriptor mode. note: to prevent this register from being modified you must use lvscc.vcl bit. bit description 31:16 reserved 15:8 upper erase opcode (ueo) ?rw. this register is programmed with the flash erase instruction opcode required by the vendor?s flash component. this register is locked by the vendor component lock (uvcl) bit. 7:5 reserved 4 write enable on write status (uwews) ?rw. this register is locked by the vendor component lock (uvcl) bit. 0 = no automatic write of 00h will be ma de to the spi flash? s status register) 1 = a write of 00h to the spi flash?s status register will be sent on every write and erase to the spi flash. 06h 01h 00h is the opcode sequence used to unlock the status register. notes: 1. this bit should not be set to 1 if there are non volatile bits in the spi flash?s status register. this may lead to premature flash wear out. 2. this is not an atomic se quence. if the spi component?s status register is non- volatile, then bios should issue an atomic software sequence cycle to unlock the flash part. 3. bit 3 and bit 4 should not be both set to 1. 3 upper write status required (uwsr) ?rw. this register is locked by the vendor component lock (uvcl) bit. 0 = no automatic write of 00h will be ma de to the spi flash? s status register) 1 = a write of 00h to the spi flash?s status register will be sent on every write and erase to the spi flash. 50h 01h 00h is the opcode sequence used to unlock the status register. notes: 1. this bit should not be set to ?1? if ther e are non volatile bits in the spi flash?s status register. this may lead to premature flash wear out. 2. this is not an atomic se quence. if the spi component?s status register is non- volatile, then bios should issue an atomic software sequence cycle to unlock the flash part. 3. bit 3 and bit 4 should not be both set to 1.
datasheet 845 serial peripheral interface (spi) 21.1.29 fpb?flash partition boundary register (spi memory mapped configuration registers) memory address: spibar + d0h attribute: ro default value: 00000000h size: 32 bits note: this register is only applicable when spi device is in descriptor mode. 21.2 flash descriptor records the following sections describe the data st ructure of the flash descriptor on the spi device. these are not registers within the pch. 2 upper write granularity (uwg)? rw. this register is locked by the vendor component lock (uvcl) bit. 0 = 1 byte 1 = 64 byte notes: 1. if more than one flash component exists , this field must be set to the lowest common write granularity of th e different flash components. 2. if using 64 b write, bios must ensure that multiple byte writes do not occur over 256 b boundaries. this will lead to corruption as the write will wrap around the page boundary on the spi flash part. this is a a feature page writable spi flash. 1:0 upper block/sector erase size (ubes)? rw. this field identifies the erasable sector size for all flash components. valid bit settings: 00 = 256 byte 01 = 4 kb 10 = 8 kb 11 = 64 kb this register is locked by the vendor component lock (uvcl) bit. hardware takes no action base d on the value of this regi ster. the contents of this register are to be used only by softwa re and can be read in the hsfsts.berase register in both the bios and the gbe progra m registers if fla is greater or equal to fpba. bit description bit description 31:13 reserved 12:0 flash partition bound ary address (fpba)? ro. this register reflects the value of flash descriptor component fpba field.
serial peripheral interface (spi) 846 datasheet 21.3 oem section memory address: f00h default value: size: 256 bytes 256 bytes are reserved at the top of the flash descriptor for use by the oem. the information stored by the oem can only be written during the manufacturing process as the flash descriptor read/write permissions must be set to read only when the computer leaves the manufacturing floor. the pch flash controller does not read this information. ffh is suggested to reduce programming time. 21.4 gbe spi flash program registers the gbe flash registers are memory-mapped with a base address mbarb found in the gbe lan register chapter device 25: function 0: offset 14h. the individual registers are then accessible at mbarb + offset as indicated in the following table. these memory mapped registers must be acce ssed in byte, word, or dword quantities. note: these register are only applicable when spi flash is used in descriptor mode. table 21-2. gigabit lan spi flas h program register address map (gbe lan memory mapped co nfiguration registers) mbarb + offset mnemonic register name default access 00h?03h glfpr gigabit lan flash primary region 00000000h 04h?05h hsfsts hardware sequencing flash status 0000h 06h?07h hsfctl hardware sequencing flash control 0000h 08h?0bh faddr flash address 00000000h 0ch?0fh reserved reserved 00000000h 10h?13h fdata0 flash data 0 00000000h 14h?4fh reserved reserved 00000000h 50h?53h fracc flash region access permissions 00000000h 54h?57h freg0 flash region 0 00000000h 58h?5bh freg1 flash region 1 00000000h 5ch?5f freg2 flash region 2 00000000h 60h?63h freg3 flash region 3 00000000h 64h?73h reserved reserved for future flash regions 74h?77h fpr0 flash protected range 0 00000000h 78h?7bh fpr1 flash protected range 1 00000000h 7ch?8fh reserved reserved 90h ssfsts software sequencing flash status 00h 91h?93h ssfctl software sequencing flash control 000000h 94h?95h preop prefix opcode configuration 0000h 96h?97h optype opcode type configuration 0000h 98h?9fh opmenu opcode menu configuration 00000000 00000000h a0h?dfh reserved reserved
datasheet 847 serial peripheral interface (spi) 21.4.1 glfpr ?gigabit lan flas h primary region register (gbe lan memory mapped configuration registers) memory address: mbarb + 00h attribute: ro default value: 00000000h size: 32 bits 21.4.2 hsfs?hardware sequencing flash status register (gbe lan memory mapped configuration registers) memory address: mbarb + 04h attribute: ro, r/wc, r/w default value: 0000h size: 16 bits bit description 31:29 reserved 28:16 gbe flash primary region limit (prl)? ro. this specifies address bits 24:12 for the primary region limit. the value in this register loaded from the contents in the flash descriptor.flreg 3.region limit 15:13 reserved 12:0 gbe flash primary region base (prb) ?ro. this specifies address bits 24:12 for the primary region base the value in this register is load ed from the contents in the flash descriptor.flreg3.region base bit description 15 flash configuration lock-down (flockdn) ?r/w. when set to 1, those flash program registers that are locked down by this flockdn bit cannot be written. once set to 1, this bit can only be cleared by a hardware reset du e to a global reset or host partition reset in an intel ? me enabled system. 14 flash descriptor valid (fdv)? ro. this bit is set to a 1 if the flash controller read the correct flash descriptor signature. if the flash descriptor valid bit is not 1, software cannot use the hardware sequencing registers, but must use the software sequencing registers. any attempt to use the hardware sequencing registers will result in the fcerr bit being set. 13 flash descriptor override pin strap status (fdopss)? ro. this bit reflects the value the flash descriptor override pin-strap. 0 = the flash descriptor override strap is set 1 = no override 12:6 reserved 5 spi cycle in progress (scip)? ro. hardware sets this bi t when software sets the flash cycle go (fgo) bit in the hardware se quencing flash control register. this bit remains set until the cycle completes on the spi interface. hardware automatically sets and clears this bit so that software can dete rmine when read data is valid and/or when it is safe to begin programming the next command. software must only program the next command when this bit is 0.
serial peripheral interface (spi) 848 datasheet 4:3 block/sector eras e size (berase) ?ro. this field identifies the erasable sector size for all flash components. 00 = 256 byte 01 = 4 k byte 10 = 8 k byte 11 = 64 k byte if the flash linear address is less than fpba then this field reflects the value in the lvscc.lbes register. if the flash linear address is greater or equa l to fpba then this field reflects the value in the uvscc.ubes register. 2 access error log (ael) ?r/w/c. hardware sets this bit to a 1 when an attempt was made to access the bios regi on using the direct access method or an access to the bios program registers that violated the security restrictions. this bit is simply a log of an access security violat ion. this bit is cleared by software writing a 1. 1 flash cycle error (fcerr) ?r/w/c. hardware sets this bit to 1 when an program register access is bl ocked to the flash due to one of the protection policies or when any of the programmed cycle re gisters is written while a programmed access is already in progress. this bit remains asserted until cleared by so ftware writing a 1 or until hardware reset occurs due to a global re set or host partition reset in an intel ? me enabled system. software must clear this bit before se tting the flash cycle go bit in this register. 0 flash cycle done (fdone) ?r/w/c. the pch sets this bit to 1 when the spi cycle completes after software previously set the fgo bit. this bit re mains asserted until cleared by software writing a 1 or hardware re set due to a global re set or host partition reset in an intel ? me enabled system. when this bit is set and the spi smi# enable bit is set, an internal signal is asserted to the smi# generation block. software must make sure this bit is cleared prior to enabling the spi smi# assertion for a new programmed access. bit description
datasheet 849 serial peripheral interface (spi) 21.4.3 hsfc?hardware sequencing flash control register (gbe lan memory mapped configuration registers) memory address: mbarb + 06h attribute: r/w, r/ws default value: 0000h size: 16 bits bit description 15:10 reserved 9:8 flash data byte count (fdbc)? r/w. this field specifies the number of bytes to shift in or out during the data portion of the spi cycle. the contents of this register are 0s based with 0b representing 1 byte and 11b representing 4 bytes. the number of bytes transferred is the value of this field plus 1. this field is ignored for the block erase command. 7:3 reserved 2:1 flash cycle (fcycle) ?r/w. this field defines the flas h spi cycle type generated to the flash when the fgo bit is set as defined below: 00 = read (1 up to 4 bytes by setting fdbc) 01 = reserved 10 = write (1 up to 4 bytes by setting fdbc) 11 = block erase 0 flash cycle go (fgo)? r/w/s. a write to this register with a 1 in this bit initiates a request to the flash spi arbiter to start a cy cle. this register is cleared by hardware when the cycle is granted by the spi arbiter to run the cycle on the spi bus. when the cycle is complete, the fdone bit is set. software is forbidden to write to any regist er in the hsflctl register between the fgo bit getting set and the fdone bi t being cleared. any attempt to violate this rule will be ignored by hardware. hardware allows other bits in this register to be progra mmed for the same transaction when writing this bit to 1. this saves an addition al memory write. this bit always returns 0 on reads.
serial peripheral interface (spi) 850 datasheet 21.4.4 faddr?flash address register (gbe lan memory mapped configuration registers) memory address: mbarb + 08h attribute: r/w default value: 00000000h size: 32 bits 21.4.5 fdata0?flash data 0 register (gbe lan memory mapped configuration registers) memory address: mbarb + 10h attribute: r/w default value: 00000000h size: 32 bits bit description 31:25 reserved 24:0 flash linear address (fla) ?r/w. the fla is the starting byte linear address of a spi read or write cycle or an address with in a block for the bloc k erase command. the flash linear address must fall within a region for which bi os has access permissions. bit description 31:0 flash data 0 (fd0) ?r/w. this field is shifted out as the spi data on the master-out slave-in data pin during the data portion of the spi cycle. this register also shifts in the data from th e master-in slave-out pin into this register during the data portion of the spi cycle. the data is always shifted starting with the least significant byte, msb to lsb, followed by the next least significant by te, msb to lsb, etc. specifically, the shift order on spi in terms of bits within this register is: 7-6-5-4-3-2-1-0-15-14-13-?8-23-22-?16-31?24 bit 24 is the last bit shifted out/in. there are no alignment assumptions; byte 0 always represents the value specified by the cycle address. note that the data in this register may be modified by the hardware during any programmed spi transaction. direct memory reads do not modify the contents of this register.
datasheet 851 serial peripheral interface (spi) 21.4.6 frap?flash regions acce ss permissions register (gbe lan memory mapped configuration registers) memory address: mbarb + 50h attribute: ro, r/w default value: 00000808h size: 32 bits bit description 31:28 reserved 27:25 gbe master write access grant (gmwag) ?r/w. each bit 27:25 corresponds to master[3:1]. gbe can grant one or more ma sters write access to the gbe region 3 overriding the permissions in the flash descriptor. master[1] is host cpu/bios, master[2] is intel ? management engine, master[3] is host processor/gbe. the contents of this register are locked by the flockdn bit. 24:20 reserved 19:17 gbe master read access grant (gmrag) ?r/w. each bit 19:17 corresponds to master[3:1]. gbe can grant one or more ma sters read access to the gbe region 3 overriding the read permissi ons in the flash descriptor. master[1] is host processor/bios, master[2] is intel ? management engine, master[3] is gbe. the contents of this register are locked by the flockdn bit 16:12 reserved 11:8 gbe region write access (grwa) ?ro. each bit 11:8 corre sponds to regions 3:0. if the bit is set, this master can erase and write that particular re gion through register accesses. the contents of this register are that of the flash descri ptor. flash master 3.master region write access or a particular master has granted gbe write permissions in their master write access grant register or the fl ash descriptor security override strap is set. 7:4 reserved 3:0 gbe region read access (grra) ?ro. each bit 3:0 corresponds to regions 3:0. if the bit is set, this master can read that particular region thro ugh register accesses. the contents of this register are that of the flash descri ptor. flash master 3.master region write access or a particular master has grante d gbe read permissions in their master read access grant register.
serial peripheral interface (spi) 852 datasheet 21.4.7 freg0?flash region 0 (f lash descriptor) register (gbe lan memory mapped configuration registers) memory address: mbarb + 54h attribute: ro default value: 00000000h size: 32 bits 21.4.8 freg1?flash region 1 (bios descriptor) register (gbe lan memory mapped configuration registers) memory address: mbarb + 58h attribute: ro default value: 00000000h size: 32 bits 21.4.9 freg2?flash region 2 (intel ? me) register (gbe lan memory mapped configuration registers) memory address: mbarb + 5ch attribute: ro default value: 00000000h size: 32 bits bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 0 limit. the value in this register is load ed from the contents in the flash descriptor.flreg0.region limit 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 0 base the value in this register is load ed from the contents in the flash descriptor.flreg0.region base bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 1 limit. the value in this register is load ed from the contents in the flash descriptor.flreg 1.region limit. 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 1 base the value in this register is load ed from the contents in the flash descriptor.flreg1.region base. bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 2 limit. the value in this register is load ed from the contents in the flash descriptor.flreg 2.region limit. 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 2 base the value in this register is load ed from the contents in the flash descriptor.flreg2.region base.
datasheet 853 serial peripheral interface (spi) 21.4.10 freg3?flash regi on 3 (gbe) register (gbe lan memory mapped configuration registers) memory address: mbarb + 60h attribute: ro default value: 00000000hsize: 32 bits 21.4.11 pr0?protected range 0 register (gbe lan memory mapped configuration registers) memory address: mbarb + 74h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31:29 reserved 28:16 region limit (rl)? ro. this specifies address bits 24:12 for the region 3 limit. the value in this register is load ed from the contents in the flash descriptor.flreg 3.region limit. 15:13 reserved 12:0 region base (rb) ?ro. this specifies address bits 24:12 for the region 3 base the value in this register is load ed from the contents in the flash descriptor.flreg3.region base. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be blocked by hardwa re. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fields are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11: 0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
serial peripheral interface (spi) 854 datasheet 21.4.12 pr1?protected range 1 register (gbe lan memory mapped configuration registers) memory address: mbarb + 78h attribute: r/w default value: 00000000h size: 32 bits note: this register can not be written when the flockdn bit is set to 1. bit description 31 write protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are va lid and that writes and erases directed to addresses between them (inclusive) must be bl ocked by hardware. the base and limit fields are ignored when this bit is cleared. 30:29 reserved 28:16 protected range limit? r/w. this field corresponds to fla address bits 24:12 and specifies the upper limit of th e protected range. address bi ts 11:0 are assumed to be fffh for the limit comparison. any address gr eater than the value programmed in this field is unaffected by this protected range. 15 read protection enable? r/w. when set, this bit indicates that the base and limit fields in this register are valid and that read directed to a ddresses between them (inclusive) must be blocked by hardware. th e base and limit fiel ds are ignored when this bit is cleared. 14:13 reserved 12:0 protected range base? r/w. this field corresponds to fla address bits 24:12 and specifies the lower base of the protected ra nge. address bits 11:0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is unaffected by this protected range.
datasheet 855 serial peripheral interface (spi) 21.4.13 ssfs?software sequenci ng flash status register (gbe lan memory mapped configuration registers) memory address: mbarb + 90h attribute: ro, r/wc default value: 00h size: 8 bits note: the software sequencing control and status registers are reserved if the hardware sequencing control and status registers are used. bit description 7:5 reserved 4 access error log (ael) ?ro. this bit reflects the valu e of the hardware sequencing status ael register. 3 flash cycle error (fcerr)? r/wc. hardware sets this bit to 1 when a programmed access is blocked from running on the spi inte rface due to one of the protection policies or when any of the programme d cycle registers is written while a programmed access is already in progress. this bit remains asserted until cleared by software writing a 1 or hardware reset due to a global reset or host partition reset in an intel ? me enabled system. 2 cycle done status? r/wc. the pch sets this bit to 1 when the spi cycle completes (that is, scip bit is 0) after software sets the go bit. this bit remains asserted until cleared by software writing a 1 or hardware re set due to a global re set or host partition reset in an intel ? me enabled system. when this bit is set and the spi smi# enable bit is set, an internal signal is asserted to the smi# generation block. software must make sure this bit is cleared prio r to enabling the spi smi# as sertion for a new programmed access. 1 reserved 0 spi cycle in progress (scip) ?ro. hardware sets this bi t when software sets the spi cycle go bit in the command register. this bit remains set until the cycle completes on the spi interface. hardware automatically sets and clears this bit so that software can determine when read data is valid and/or when it is safe to begin programming the next command. software must only program the next command when this bit is 0.
serial peripheral interface (spi) 856 datasheet 21.4.14 ssfc?software sequenci ng flash control register (gbe lan memory mapped configuration registers) memory address: mbarb + 91h attribute: r/w default value: 000000h size: 24 bits bit description 23:19 reserved 18:16 spi cycle frequency (scf) ?r/w. this register sets fre quency to use for all spi software sequencing cycles (w rite, erase, fast read, read status, etc.) except for the read cycle which always run at 20 mhz. 000 = 20 mhz 001 = 33 mhz all other values = reserved. this register is locked when the sp i configuration lock-down bit is set. 15 reserved 14 data cycle (ds) ?r/w. when set to 1, there is data that corresponds to this transaction. when 0, no data is delivered for this cycle, and the dbc and data fields themselves are don?t cares 13:8 data byte count (dbc)? r/w. this field specifies the number of bytes to shift in or out during the data portion of the spi cycl e. the valid settings (in decimal) are any value from 0 to 3. the number of bytes transf erred is the value of this field plus 1. note that when this field is 00b, then there is 1 byte to transfer and that 11b means there are 4 bytes to transfer. 7 reserved 6:4 cycle opcode pointer (cop) ?r/w. this field selects one of the programmed opcodes in the opcode menu to be used as the spi command/opcode. in the case of an atomic cycle sequence, this determines the second command. 3 sequence prefix opcode pointer (spop)? r/w. this field selects one of the two programmed prefix opcodes for use when performing an atomic cycle sequence. a value of 0 points to the opcode in the least significant byte of the prefix opcodes register. by making this programmable, the pch supports flash devices that have different opcodes for enabling writes to the data space versus status register. 2 atomic cycle sequence (acs)? r/w. when set to 1 along with the scgo assertion, the pch will execute a sequence of commands on the spi interface without allowing the lan component to arbitrate and interleave cycles. the sequence is composed of: ? atomic sequence prefix co mmand (8-bit opcode only) ? primary command specified below by so ftware (can include address and data) ? polling the flash status register (opcode 05h) until bit 0 becomes 0b. the spi cycle in progress bit remains set an d the cycle done status bit remains unset until the busy bit in the flas h status register returns 0. 1 spi cycle go (scgo)? r/ws. this bit always returns 0 on reads. however, a write to this register with a ?1? in th is bit starts the spi cycle defi ned by the other bits of this register. the ?spi cycle in progress? (scip) bit gets set by this action. hardware must ignore writes to this bit while the cycle in progress bit is set. hardware allows other bits in this register to be progra mmed for the same transaction when writing this bit to 1. this saves an additional memory write. 0 reserved
datasheet 857 serial peripheral interface (spi) 21.4.15 preop?prefix opcode configuration register (gbe lan memory mapped configuration registers) memory address: mbarb + 94h attribute: r/w default value: 0000h size: 16 bits note: this register is not writable when the spi configuration lock-down bit (mbarb + 00h:15) is set. 21.4.16 optype?opcode type configuration register (gbe lan memory mapped configuration registers) memory address: mbarb + 96h attribute: r/w default value: 0000h size: 16 bits entries in this register correspond to the entries in the opcode menu configuration register. note: the definition below only provides write protection for opcodes that have addresses associated with them. therefore, any erase or write opcodes that do not use an address should be avoided (for example, ?chip erase? and ?auto-address increment byte program?). note: this register is not writable when the spi configuration lock-down bit (mbarb + 00h:15) is set. bit description 15:8 prefix opcode 1 ?r/w. software programs an spi opco de into this field that is permitted to run as the first comm and in an atomic cycle sequence. 7:0 prefix opcode 0 ?r/w. software programs an spi opco de into this field that is permitted to run as the first comm and in an atomic cycle sequence. bit description 15:14 opcode type 7 ?r/w. see the description for bits 1:0 13:12 opcode type 6 ?r/w. see the description for bits 1:0 11:10 opcode type 5 ?r/w. see the description for bits 1:0 9:8 opcode type 4 ?r/w. see the description for bits 1:0 7:6 opcode type 3 ?r/w. see the description for bits 1:0 5:4 opcode type 2 ?r/w. see the description for bits 1:0 3:2 opcode type 1 ?r/w. see the description for bits 1:0 1:0 opcode type 0 ?r/w. this field specifies information about the corresponding opcode 0. this information allows th e hardware to 1) know whet her to use the address field and 2) provide bios and shared flash protec tion capabilities. the encoding of the two bits is: 00 = no address associated with this opcode; read cycle type 01 = no address associated with this opcode; write cycle type 10 = address required; read cycle type 11 = address required; write cycle type
serial peripheral interface (spi) 858 datasheet 21.4.17 opmenu?opcode menu configuration register (gbe lan memory mapped configuration registers) memory address: mbarb + 98h attribute: r/w default value: 0000000000000000h size: 64 bits eight entries are available in this register to give gbe a sufficient set of commands for communicating with the flash device, while also restricting what malicious software can do. this keeps the hardware flexible enough to operate with a wide variety of spi devices. note: it is recommended that gbe avoid programm ing write enable opcodes in this menu. malicious software could then perform writes and erases to the spi flash without using the atomic cycle mechanism. this could cause functional failures in a shared flash environment. write enable opcodes should on ly be programmed in the prefix opcodes. this register is not writable when the spi configuration lock-down bit (mbarb + 00h:15) is set. bit description 63:56 allowable opcode 7 ?r/w. see the description for bits 7:0 55:48 allowable opcode 6 ?r/w. see the description for bits 7:0 47:40 allowable opcode 5 ?r/w. see the description for bits 7:0 39:32 allowable opcode 4 ?r/w. see the description for bits 7:0 31:24 allowable opcode 3 ?r/w. see the description for bits 7:0 23:16 allowable opcode 2 ?r/w. see the description for bits 7:0 15:8 allowable opcode 1 ?r/w. see the description for bits 7:0 7:0 allowable opcode 0 ?r/w. software programs an spi opco de into this field for use when initiating spi commands through the control register.
datasheet 859 thermal sensor registers (d31:f6) 22 thermal sensor registers (d31:f6) 22.1 pci bus configuration registers table 22-1. thermal sensor register address map offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification 3b32h ro 04h?05h cmd command register 0000h r/w, ro 06h?07h sts device status 0010h r/wc, ro 08h rid revision id 00h ro 09h pi programming interface 00h ro 0ah scc sub class code 80h ro 0bh bcc base class code 11h ro 0ch cls cache line size 00h ro 0dh lt latency timer 00h ro 0eh htype header type 00h ro 0fh bist built-in self test 00h ro 10h?13h tbar thermal base address (memory) 00000004h r/w, ro 14h?17h tbarh thermal base address high dword 00000000h ro 2ch?2dh svid subsystem vendor identifier 0000h r/wo 2eh?2fh sid subsystem identifier 0000h r/wo 34h cap_ptr capabilities pointer 50h ro 3ch intln interrupt line 00h rw 3dh intpn interrupt pin see description ro 40h?43h tbarb bios assigned thermal base address 00000004h r/w, ro 44h?47h tbarbh bios assigned thermal base high dword 00000000h r/w 50h?51h pid power management identifiers 8001h ro 52h?53h pc power management capabilities 0023h ro 54h?57h pcs power management control and status 0008h r/w, ro
thermal sensor registers (d31:f6) 860 datasheet 22.1.1 vid?vendor iden tification register offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bit lockable: no power well: core 22.1.2 did?device iden tification register offset address: 02h ? 03h attribute: ro default value: 3b32h size: 16 bits 22.1.3 cmd?command register address offset: 04h ? 05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:0 vendor id ?ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id (did)? ro. indicates the device nu mber assigned by the sig. bit description 15:11 reserved 10 interrupt disable (id)? rw. enables the device to assert an intx#. 0 = when cleared, the intx# signal may be asserted. 1 = when set, the thermal logic?s in tx# signal will be de-asserted. 9 fbe (fast back to back enable)? ro. not implemented. hardwired to 0. 8 sen (serr enable)? ro. not implemented. hardwired to 0. 7 wcc (wait cycle control)? ro. not implemented. hardwired to 0. 6 per (parity error response)? ro. not implemented. hardwired to 0. 5 vps (vga palette snoop) ?ro. not implemented. hardwired to 0. 4 mwi (memory write and invalidate enable) ?ro. not implemente d. hardwired to 0. 3 sce (special cycle enable)? ro. not implemented. hardwired to 0. 2 bme (bus master enable)? r/w. 0 = function disabled as bus master. 1 = function enabled as bus master. 1 memory space enable (mse)? rw. 0 = disable 1 = enable. enables memory space ac cesses to the thermal registers. 0 ios (i/o space)? ro. the thermal logic does not implement io space; therefore, this bit is hardwired to 0.
datasheet 861 thermal sensor registers (d31:f6) 22.1.4 sts?status register address offset: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits 22.1.5 rid?revision iden tification register address offset: 08h attribute: ro default value: 00h size: 8 bits 22.1.6 pi?programming interface register address offset: 09h attribute: ro default value: 00h size: 8 bits bit description 15 detected parity error (dpe)? r/wc. this bit is set whenever a parity error is seen on the internal interface for this function, regardless of the setting of bit 6 in the command register. software cl ears this bit by writing a 1 to this bit location. 14 serr# status (serrs) ? ro. not implemented. hardwired to 0. 13 received master abort (rma) ? ro. not implemented. hardwired to 0. 12 received target abort (rta) ? ro. not implemented. hardwired to 0. 11 signaled target-abort (sta) ? ro. not implemented. hardwired to 0. 10:9 devsel# timing status (devt) ? ro. does not apply. hardwired to 0. 8 master data parity error (mdpe) ? ro. not implemented. hardwired to 0. 7 fast back to back capable (fbc) ? ro. does not apply. hardwired to 0. 6reserved 5 66 mhz capable (c66) ? ro. does not apply. hardwired to 0. 4 capabilities list exists (clist)? ro. indicates that the controller contains a capabilities pointer list. the fi rst item is pointed to by l ooking at configuration offset 34h. 3 interrupt status (is)? ro. reflects the state of the intx# signal at the input of the enable/disable circuit. this bit is a 1 when the intx# is asserted. this bit is a 0 after the interrupt is cleared (indep endent of the state of the interrupt disabl e bit in the command register). 2:0 reserved bit description 7:0 revision id (rid)? ro. indicates the device specific revision identifier. bit description 7:0 programming interface (pi)? ro. the pch thermal logic has no standard programming interface.
thermal sensor registers (d31:f6) 862 datasheet 22.1.7 scc?sub class code register address offset: 0ah attribute: ro default value: 80h size: 8 bits 22.1.8 bcc?base class code register address offset: 0bh attribute: ro default value: 11h size: 8 bits 22.1.9 cls?cache line size register address offset: 0ch attribute: ro default value: 00h size: 8 bits 22.1.10 lt?latency timer register address offset: 0dh attribute: ro default value: 00h size: 8 bits 22.1.11 htype?header type register address offset: 0eh attribute: ro default value: 00h size: 8 bits bit description 7:0 sub class code (scc)? ro. value assigned to the pch thermal logic. bit description 7:0 base class code (bcc)? ro. value assigned to the pch thermal logic. bit description 7:0 cache line size (cls)? ro. does not apply to pci bus target-only devices. bit description 7:0 latency timer (lt)? ro. does not apply to pci bus target-only devices. bit description 7 multi-function device (mfd)? ro. this bit is 0 because a multi-function device only needs to be marked as such in function 0, and the thermal registers are not in function 0. 6:0 header type (htype)? ro. implements type 0 configuration header.
datasheet 863 thermal sensor registers (d31:f6) 22.1.12 tbar?thermal base register address offset: 10h ? 13h attribute: rw, ro default value: 00000004h size: 32 bits this bar creates 4k bytes of memory spac e to signify the base address of thermal memory mapped configuration registers. this memory space is active when the command (cmd) register memory space enable (mse) bit is set and either tbar[31:12] or tbarh are programmed to a non-zero address. this bar is owned by the operating system, and allows the os to locate the thermal registers in system memory space. 22.1.13 tbarh?thermal base high dword register address offset: 14h ? 17h attribute: rw, ro default value: 00000000h size: 32 bits this bar extension holds the high 32 bits of the 64 bit tbar. in conjunction with tbar, it creates 4 kb of memory space to sign ify the base address of thermal memory mapped configuration registers. bit description 31:12 thermal base address (tba)? rw. this field provides the base address for the thermal logic memory mapped configuration registers. 4 kb byte s are requested by hardwiring bits 11:4 to 0s. 11:4 reserved 3 prefetchable (pref)? ro. indicates that this bar is not pre-fetchable. 2:1 address range (addrng)? ro. indicates that this bar can be located anywhere in 64 bit address space. 0 space type (sptyp)? ro. indicates that this bar is located in memory space. bit description 31:0 thermal base address high (tbah)?r/w. tbar bits 63:32.
thermal sensor registers (d31:f6) 864 datasheet 22.1.14 svid?subsystem vendor id register address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits this register should be implemented for any function that could be instantiated more than once in a given system. the svid regi ster, in combination with the subsystem id register, enables the operating environment to distinguish one subsystem from the other(s). software (bios) will write the value to this register. after that, the value can be read, but writes to the register will have no ef fect. the write to this register should be combined with the write to the sid to create one 32-bit write. this register is not affected by d3 hot to d0 reset. 22.1.15 sid?subsystem id register address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits this register should be implemented for any function that could be instantiated more than once in a given system. the sid register, in combination with the subsystem vendor id register make it possible for the operating environment to distinguish one subsystem from the other(s). software (bios) will write the value to this register. after that, the value can be read, but writes to the register will have no ef fect. the write to this register should be combined with the write to the svid to create one 32-bit write. this register is not affected by d3 hot to d0 reset. 22.1.16 cap_ptr?capabili ties pointer register address offset: 34h attribute: ro default value: 50h size: 8 bits bit description 15:0 svid (svid)? r/wo. these rwo bits have no pch functionality. bit description 15:0 sid (said)? r/wo. these rwo bits have no pch functionality. bit description 7:0 capability pointer (cp)? ro. indicates that the first capabili ty pointer offset is offset 50h (power management capability).
datasheet 865 thermal sensor registers (d31:f6) 22.1.17 offset 3ch ? intln? interrupt line register address offset: 3ch attribute: rw default value: 00h size: 8 bits 22.1.18 intpn?interrupt pin register address offset: 3dh attribute: ro default value: see description size: 8 bits 22.1.19 tbarb?bios assigned th ermal base address register address offset: 40h ? 43h attribute: rw,ro default value: 00000004h size: 32 bits this bar creates 4 kb of memory space to signify the base address of thermal memory mapped configuration registers. this memory space is active when tbarb.sptypen is asserted. this bar is owned by the bios, an d allows the bios to locate the thermal registers in system memory space. if both tbar and tbarb are programmed, then the os and bios each have their own independ ent ?view? of the thermal registers, and must use the tsiu register to denote thermal registers ownership/availability. bit description 7:0 interrupt line? rw. pch hardware does not use this field directly. it is used to communicate to software the interrupt line that the interrupt pin is connected to. bit description 7:4 reserved 3:0 interrupt pin? ro. this reflects the value of the de vice 31 interrupt pin bits 27:24 (ttip) in chipset configuration space. bit description 31:12 thermal base address (tba)? rw. this field provides th e base address for the thermal logic memory mapped configuration registers. 4k b byte s are requested by hardwiring bits 11:4 to 0s. 11:4 reserved 3 prefetchable (pref)? ro. indicates that this bar is not pre-fetchable. 2:1 address range (addrng)? ro. indicates that this bar can be located anywhere in 64 bit address space. 0 space type enable (sptypen)? rw. 0 = disable. 1 = enable. when set to 1b by software, enables the decode of this memory bar.
thermal sensor registers (d31:f6) 866 datasheet 22.1.20 tbarbh?bios assigned thermal base high dword register address offset: 44h ? 47h attribute: rw default value: 00000000h size: 32 bits this bar extension holds the high 32 bits of the 64 bit tbarb. 22.1.21 pid?pci power manageme nt capability id register address offset: 50h ? 51h attribute: ro default value: 8001h size: 16 bits 22.1.22 pc?power management capabilities register address offset: 52h ? 53h attribute: ro default value: 0023h size: 16 bits bit description 31:0 thermal base address high (tbah)? rw. tbar bits 61:32. bit description 15:8 next capability (next)? ro. indicates that this is the last capability structure in the list. 7:0 cap id (cap)? ro. indicates that this pointer is a pci power management capability bit description 15:11 pme_support? ro. indicates pme# is not supported 10 d2_support? ro. the d2 state is not supported. 9 d1_support? ro. the d1 state is not supported. 8:6 aux_current? ro. pme# from d3cold state is not supported, therefore this field is 000b. 5 device specific initialization (dsi)? ro. indicates that device-s pecific initialization is required. 4 reserved 3 pme clock (pmec)?ro. does not apply. hardwired to 0. 2:0 version (vs)? ro. indicates support for revision 1.2 of the pci power management specification.
datasheet 867 thermal sensor registers (d31:f6) 22.1.23 pcs?power management control and status register address offset: 54h ? 57h attribute: rw, ro default value: 0008h size: 32 bits bit description 31:24 data? ro. does not apply. hardwired to 0s. 23 bus power/clock control enable (bpcce)? ro. hardwired to 0. 22 b2/b3 support (b23)? ro. does not apply. hardwired to 0. 21:16 reserved 15 pme status (pmes)? ro. this bit is always 0, since this pci function does not generate pme# 14:9 reserved 8 pme enable (pmee)? ro. this bit is always zero, since this pci function does not generate pme# 7:4 reserved 3 no soft reset? ro. when set 1, this bit indicates that devices transitioning from d3 hot to d0 because of powerstate command s do not perform an internal reset. configuration context is preserved. upon transition from d3 hot to d0 initialized state, no additional operating syst em intervention is required to preserve configuration context beyond writing the powerstate bits. 2reserved 1:0 power state (ps)? r/w. this field is used both to de termine the curre nt power state of the thermal controller and to set a new power state. the values are: 00 = d0 state 11 = d3 hot state if software attempts to write a value of 10b or 01b in to this field, th e write operation must complete normally; however, the data is discarded and no state change occurs. when in the d3 hot states, the thermal controller?s co nfiguration space is available, but the i/o and memory spaces are not. additionally, interrupts are blocked. when software changes this value from the d3 hot state to the d0 st ate, no internal warm (soft) reset is generated.
thermal sensor registers (d31:f6) 868 datasheet 22.2 thermal memory mapped configuration registers (thermal sensor ? d31:f26) the base memory for these thermal memory mapped configuration registers is specified in the tbarb (d31:f6:offset 40 h). the individual registers are then accessible at tbarb + offset. table 22-2. thermal memory mapped configur ation register address map (sheet 1 of 2) offset mnemonic register name default type 0h tsiu thermal sensor in use 00h ro,r/w 1h tse thermal sensor enable 00h r/w 2h tss thermal sensor status 00h r/w 3h tstr thermal sensor thermometer read ffh ro 4h tsttp thermal sensor temperature trip point 00000000h r/w 8h tsc0 thermal sensor catastrophic lock down 00h r/w 0ch tses thermal sensor error status 00h r/wc 0dh tsgpen thermal sensor general purpose event enable 00h r/w 0eh tspc thermal sensor po licy control 00h r/w, ro 10h ppec processor power error correction (mobile only) 0000h r/w 12h cta processor core temperature adjust 0000h r/w 16h mgta memory contro ller/graphics temperature adjust 0000h r/w 1ah trc thermal reporting control 0000h r/w 20h tes turbo interrupt status (mobile only) 00h r/wc, ro 21h ten turbo interrupt enable (mobile only) 00h r/w, ro 24h psc power sharing configuration (mobile only) 00000000h r/w 30h ctv1 core temperature value 1 0000h ro 32h ctv2 core temperature value 2 0000h ro 34h cev1 core energy value 1 00000000h ro 3fh ae alert enable 00h r/w 50h hts host status (mobile only) 00000000000 0h r/w 56h ptl processor temperature limit (mobile only) 0000h r/w 58h mgtv memory contro ller/graphics temperature value 00000000000 00000h ro 60h ptv processor temperature value 0000h ro 64h mmgpc max memory controller/graphics power clamp (mobile only) 0000h r/w 66h mppc max processor power clamp (mobile only) 0000h r/w
datasheet 869 thermal sensor registers (d31:f6) 22.2.1 tsiu?thermal sens or in use register offset address: tbarb+00h attribute: ro, r/w default value: 00h size: 8 bit 22.2.2 tse?thermal sens or enable register offset address: tbarb+01h attribute: r/w default value: 00h size: 8 bit 68h mpcpc max processor core power clamp (mobile only) 0000h r/w 82h tspien thermal sensor pci interrupt event enable 00h r/w 83h tslock thermal sensor register lock control 00h r/w 98h sts turbo status (mobile only) 00000000h ro 9ch sec event clear (mobile only) 00h ro, r/wo a4h tc3 thermal compares 3 00000000h ro a8h tc1 thermal compares 1 00000000h ro ach tc2 thermal compares 2 00000000h ro b0 dtv dimm temperature values 00000000h ro d8h itv internal temperature values 00000000h ro table 22-2. thermal memory ma pped configuration re gister address map (sheet 2 of 2) offset mnemonic register name default type bit description 7:1 reserved 0 thermal sensor in use (tsiu)? r/w. this is a sw semaphore bit. after a core well reset, a read to this bit returns a 0. after the first read, subsequent reads will return a 1. a write of a 1 to this bit will reset the next read value to 0. writing a 0 to this bit has no effect. software can poll this bit until it reads a 0, and will then own the usage of the thermal sensor. this bit has no other effect on the hardware, and is only used as a semaphore among various independent so ftware threads that may need to use the thermal sensor. software that reads this register but does not intend to claim exclusive access of the thermal sensor must write a 1 to this bit if it reads a 0, to allow other software threads to claim it. bit description 7:0 thermal sensor enable (tse)? r/w. bios programs this register to the value b8h to enable the thermal sensor. all other values are reserved.
thermal sensor registers (d31:f6) 870 datasheet 22.2.3 tss?thermal sens or status register offset address: tbarb+02h attribute: ro default value: 00h size: 8 bit 22.2.4 tstr?thermal sensor thermometer read register offset address: tbarb+03h attribute: ro default value: ffh size: 8 bit this register generally provides the calibrated temperature from the thermometer circuit when the thermometer is enabled. bit description 7 catastrophic trip indicator (cti) ?ro. 0 = the temperature is below the catastrophic setting. 1 = the temperature is above the catastrophic setting. 6 hot trip indicator (hti) ?ro. 0 = the temperature is below the hot setting. 1 = the temperature is above the hot setting. 5 auxiliary trip indicator (ati) ?ro. 0 = the temperature is below the auxiliary setting. 1 = the temperature is above the auxiliary setting. 4 reserved 3 auxiliary2 trip indicator (ati) ?ro. 0 = the temperature is below the auxiliary2 setting. 1 = the temperature is above the auxiliary2 setting. 2:0 reserved bit description 7:0 thermometer reading (tr) ?r/o. value corresponds to the thermal sensor temperature. this register has a straight bi nary encoding that ranges from 0 to ffh. the value in this field is valid only if the tr value is between 00h and 7fh.
datasheet 871 thermal sensor registers (d31:f6) 22.2.5 tsttp?thermal sensor te mperature trip point register offset address: tbarb+04h attribute: r/w default value: 00000000h size: 32 bit 22.2.6 tsco?thermal se nsor catastrophic lock-down register offset address: tbarb+08h attribute: r/w default value: 00h size: 8 bit bit description 31:24 auxiliary2 trip point setting (a2tps) ?r/w. these bits set the auxiliary2 trip point. these bits are lockable usin g programming the policy-lock down bit (bit 7) of tspc register. 23:16 auxiliary trip point setting (atps) ?r/w. these bits set the auxiliary trip point. these bits are lockable usin g programming the policy-lock down bit (bit 7) of tspc register. these bits may only be prog rammed from 0h to 7fh. setting bit 23 is illegal. 15:8 hot trip point setting (htps) ?r/w. these bits set the hot trip point. these bits are lockable usin g programming the policy-lock down bit (bit 7) of tspc register. note: bios should program to 3ah for setting hot trip point to 108 c. 7:0 catastrophic trip point setting (ctps) ?r/w. these bits set the catastrophic trip point. these bits are lockable using tsco.bit 7. note: bios should program to 2b h for setting catastrophic trip point to 120 c. bit description 7 lock bit for catastrophic (lbc) ?r/w. 0 = catastrophic programming interface is unlocked 1 = locks the catastrophic programming interface including tsttp.bits[7:0]. this bit may only be set to a 0 by a host partitioned reset (note that cf9 warm reset is a host partitioned rese t). writing a 0 to this bit has no effect. tsco.[7] is unlocked by default and can be locked through bios. 6:0 reserved
thermal sensor registers (d31:f6) 872 datasheet 22.2.7 tses?thermal sensor error status register offset address: tbarb+0ch attribute: r/wc default value: 00h size: 8 bit bit description 7 auxiliary2 high-to-lowevent? r/wc. 0 = no trip occurs. 1 = indicates that an auxiliary2 thermal sensor trip event occurred based on a higher to lower temperature transition through the trip point. software must write a 1 to clear this status bit. 6 catastrophic high-to-lowevent? r/wc. 0 = no trip occurs. 1 = indicates that a catastrophic therma l sensor trip event occurred based on a higher to lower temperature transition through the trip point. 1 = software must write a 1 to clear this status bit. 5 hot high-to-lowevent? r/wc. 0 = no trip occurs. 1 = indicates that a hot thermal sensor tr ip event occurred based on a higher to lower temperature transition through the trip point. software must write a 1 to clear this status bit. 4 auxiliary high-to-lowevent? r/wc. 0 = no trip occurs. 1 = indicates that an auxiliary thermal sens or trip event occurre d based on a higher to lower temperature transition through the trip point. software must write a 1 to clear this status bit. 3 auxiliary2 low-to-high event? r/wc. 0 = no trip occurs. 1 = indicates that an auxiliary2 thermal se nsor trip event occurred based on a lower to higher temperature transition through the trip point. software must write a 1 to clear this status bit. 2 catastrophic low-to-high event? r/wc. 0 = no trip occurs. 1 = indicates that a catastrophic thermal se nsor trip event occu rred based on a lower to higher temperature transition through the trip point. software must write a 1 to clear this status bit. 1 hot low-to-high event? r/wc. 0 = no trip occurs. 1 = indicates that a hot thermal sensor trip event occurred based on a lower to higher temperature transition through the trip point. software must write a 1 to clear this status bit. 0 auxiliary low-to-high event? r/wc. 0 = no trip occurs. 1 = indicates that an auxiliary thermal sensor trip event occurred based on a lower to higher temperature transition through the trip point. software must write a 1 to clear this status bit.
datasheet 873 thermal sensor registers (d31:f6) 22.2.8 tsgpen?thermal sensor general purpose event enable register offset address: tbarb+0dh attribute: r/w default value: 00h size: 8 bit this register controls the conditions that result in general purpose events to be signalled from thermal sensor trip events. bit description 7 auxiliary2 high-to-low enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 6 catastrophic high-to-low enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 5 hot high-to-low enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 4 auxiliary high-to-low enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 3 auxiliary2 low-to-high enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 2 catastrophic low-to-high enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 1 hot low-to-high enable ?r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register. 0 auxiliary low-to-high enable? r/w. 0 = corresponding status bit does no t result in general purpose event. 1 = general purpose event is signaled when the corresponding status bit is set in the thermal error status register.
thermal sensor registers (d31:f6) 874 datasheet 22.2.9 tspc?thermal sensor policy control register offset address: tbarb+0eh attribute: r/w, ro default value: 00h size: 8 bit 22.2.10 ppec?processor power error correction register (mobile only) offset address: tbarb+10h attribute: r/w default value: 0000h size: 16 bit bit description 7 policy lock-down bit ?r/w. 0 = this register can be programmed and modified. 1 = prevents writes to th is register and tsttp.bi ts [31:16] (offset 04h). note: tsco.bit 7 (offset 08h) and tslock.bit2 (o ffset 83h) must also be 1 when this bit is set to 1. this bit is reset to 0 by a host partitione d reset (note that cf9 warm reset is a host partitioned reset). writing a 0 to this bit has no effect. 6 catastrophic power-down enable? r/w. when set to 1, the power management logic unconditionally transitions to the s5 state when a catastrophic temperature is detected by the sensor. note: bios should set this bit to 1 to enable catastrophic power-down. 5:4 reserved 3 smi enable on auxiliary2 thermal sensor trip ?r/w. 0 = disables smi# assertion for auxiliary2 thermal sensor events. 1 = enables smi# assertions on auxiliary2 thermal sensor events for either low-to- high or high-to-low events. (both edges are enabled by this bit.) 2 smi enable on catastrophic thermal sensor trip ?r/w. 0 = disables smi# assertion for cata strophic thermal sensor events. 1 = enables smi# assertions on catastrophic thermal sensor events for either low-to- high or high-to-low events. (both edges are enabled by this bit.) 1 smi enable on hot thermal sensor trip ?r/w. 0 = disables smi# assertion for hot thermal sensor events. 1 = enables smi# assertions on hot thermal sensor events for either low-to-high or high-to-low events. (both edge s are enabled by this bit.) 0 smi enable on auxiliary thermal sensor trip ?r/w. 0 = disables smi# assertion for auxiliary thermal sensor events. 1 = enables smi# assertions on auxiliary thermal sensor events for either low-to- high or high-to-low events. (both edges are enabled by this bit.) bit description 15:0 processor power error correction data? r/w. the register is locked by ae.bit7 (offset 3fh).
datasheet 875 thermal sensor registers (d31:f6) 22.2.11 cta?processor core te mperature adjust register offset address: tbarb+12h attribute: r/w default value: 0000h size: 16 bit 22.2.12 pta?pch temperature adjust register offset address: tbarb+14h attribute: r/w default value: 0000h size: 16 bit 22.2.13 mgta?memory controlle r/graphics temperature adjust register offset address: tbarb+16h attribute: r/w default value: 0000h size: 16 bit bit description 15:0 processor core temper ature adjust (cta)? r/w. bios writes the processor core's tjmax (from the processor msr) into this register. intel ? me fw uses the value to create the processor core's absolute temperature. note that the value received from the proces sor core over peci is a negative offset relative to the cta value. the register is locked by ae.bit7 (offset 3fh). bit description 15:8 pch slope? r/w. this field contains the pch sl ope for calculating pch temperature. the bits are locked by ae.bit7 (offset 3fh). note: when thermal reporting is enabled, bi os must write 80h into this field. 7:0 offset ?r/w. this field contains the pch o ffset for calculatin g pch temperature. the bits are locked by ae.bit7 (offset 3fh). note: when thermal reporting is enabled, bi os must write 8ch into this field. bit description 15:8 memory controller/graphics slope? r/w. this field contains the memory controller/graphics slope for calculating th e memory controller/graphics temperature. the bits are locked by ae.bit7 (offset 3fh). 7:0 offset ?r/w. this field contains the memory co ntroller/graphics offs et for calculating the memory controller/graphics temperature. the bits are locked by ae.bit7 (offset 3fh).
thermal sensor registers (d31:f6) 876 datasheet 22.2.14 trc?thermal repo rting control register offset address: tbarb+1ah attribute: r/w default value: 0000h size: 16 bit bit description 15 processor core #2 temperature read enable ?r/w. in systems with 2 processors, when set to 1, the bit will enable reads of the 2nd processor core temperature. 13:14 reserved 12 thermal data reporting enable ?r/w. 0 = disable 1 = enable 11:9 reserved 8 c6 workaround enable ?r/w. setting this bit enables peci to work with lynnfield and clarksfield processors that can provide bad readings when they are in c6. this workaround will bring the processor core ou t of c6 while the peci transaction is in progress, and then retu rn the processor core to the c6 state after completing the peci transaction. 7 processor core temperature read enable ?r/w. 0 = disables reads of the processor core temperature 1 = enables reads of the processor core temperature. 6 processor core energy read enable ?r/w 0 = disables reads of the processor core energy values. 1 = enables reads of the processor core energy values. 5 pch temperature read enable ?r/w 0 = disables reads of the pch temperature. 1 = enables reads of the pch temperature. 4 memory controller/graphics temperature read enable ?r/w 0 = disables reads of memory co ntroller/graphics temperature. 1 = enables reads of memory co ntroller/graphics temperature. 3 dimm4 temperature read enable ?r/w 0 = disables reads of dimm4 temperature. 1 = enables reads of dimm4 temperature. 2 dimm3 temperature read enable ?r/w 0 = disables reads of dimm3 temperature. 1 = enables reads of dimm3 temperature. 1 dimm2 temperature read enable ?r/w 0 = disables reads of dimm2 temperature. 1 = enables reads of dimm2 temperature. 0 dimm1 temperature read enable ?r/w 0 = disables reads of dimm1 temperature. 1 = enables reads of dimm1 temperature.
datasheet 877 thermal sensor registers (d31:f6) 22.2.15 tes?turbo interrupt stat us register (mobile only) offset address: tbarb+20h attribute: r/wc, ro default value: 00h size: 8 bit 22.2.16 ten?turbo interrupt enab le register (mobile only) offset address: tbarb+21h attribute: r/w, ro default value: 00h size: 8 bit 22.2.17 psc?power sharin g configuration regi ster (mobile only) offset address: tbarb+24h attribute: r/w default value: 00000000h size: 32 bit this register is r/w to the host and has no h/w functionality in the pch. this register is programmed by bios during boot to indicate bios's preferences and behavior for the intelligent power sharing driver. see the intelligent power sharing bios specification for bit definitions. bit description 7:1 reserved 0 update status? r/wc. the bit indicates updates over smlink1 to host has occurred. when set, it indicates that the intel ? me has written to the turbo status register. software must write a 1 to clear this bit. note: this bit is always set when the me writes to the turb o status register. if the interrupt is enabled in ten, then an inte rrupt is sent to the host. there is only one interrupt bit that co vers any write to the turbo status register. bit description 7:1 reserved 0 update interrupt enable ?r/w. when set, the bit enable s interrupt for updates over smlink1, so that updates to the turbo status register by an external controller are signaled to the host.
thermal sensor registers (d31:f6) 878 datasheet 22.2.18 ctv1?core temperature value 1 register offset address: tbarb+30h attribute: ro default value: 0000h size: 16 bit 22.2.19 ctv2?core temperature value 2 register offset address: tbarb+32h attribute: ro default value: 0000h size: 16 bit 22.2.20 cev1?core ener gy value register offset address: tbarb+34h attribute: ro default value: 00000000h size: 32 bit bit description 15:6 processor core temperature? ro. this field provides the processor core temperature. bit 15, when set, indicates an illegal valu e or error in reading the processor core. bits[13:6] contain the integer component (0 to 255) of the processor core temperature. 5:0 fraction value ?ro. these bits contains the fr action value (in 1/64th) of the processor core temperature. bit description 15:6 processor core #2 temperature? ro. this field provides the processor core temperature of the second processor if present. bit 15, when set, indicates an illegal valu e or error in reading the processor core. bits[13:6] contain the integer component (0 to 255) of the processor core temperature. 5:0 fraction value ?ro. these bits contains the fr action value (in 1/64th) of the processor core temperature. bit description 31:0 processor core energy? ro. this field provides the processor core energy. note: divide decimal value by 65535 to obtain processor core energy in joules. processor core power is then calcul ated by the difference between two processor core energy value readings in joules, divided by the time interval in seconds.
datasheet 879 thermal sensor registers (d31:f6) 22.2.21 ae?alert enable register offset address: tbarb+3fh attribute: r/w default value: 00h size: 8 bit 22.2.22 hts?host status register (mobile only) offset address: tbarb+50h attribute: r/w default value: 000000000000h size: 48 bit this register represents the data byte [19:14] provided to the external controller when it does a read. byte 14 is bit [7:0]. see section 5.21.2.3 for more details. bit description 7 lock enable? r/w. 0 = lock disabled. 1 = lock enabled. this will lock this regist er (including this bi t) and the following registers: ppec (offset 10h), cta (o ffset 12h), and mg ta (offset 16h). this bit is reset by a host partitioned re set. note that cf9 wa rm reset is a host partitioned reset. 6 processor core alert enable ?r/w. when this bit is set, it will assert the pch?s temp_a lert# pin if the processor core temperature is outside the temperature limits. this bit is lockable by bit 7 in this register. 5 memory controller/graphics alert enable ?r/w. when this bit is se t, it will assert the pch?s temp_alert# pin if the memory controller/graphics temperature is outside the temperature limits. this bit is lockable by bit 7 in this register. 4 pch alert enable ?r/w. when this bit is set, it will assert the pch?s temp_alert# pin if the pch temperature is outside the temperature limits. this bit is lockable by bit 7 in this register. 3 dimm alert enable ?r/w. when this bit is set, it will assert the pch?s temp_alert# pin if dimm1-4 temperature is outside of the temperature limits. note that the actual dimms that are read an d used for the alert are enabled in the trc register (offset 1ah). this bit is lockable by bit 7 in this register. note: same upper and lower limits for tri ggering temp_alert# are used for all enabled dimms in the system. 2:0 reserved
thermal sensor registers (d31:f6) 880 datasheet 22.2.23 ptl?processor temperature limit register (mobile only) offset address: tbarb+56h attribute: r/w default value: 0000h size: 16 bit 22.2.24 mgtv?memory controll er/graphics temperature value register offset address: tbarb+58h attribute: ro default value: 0000000000000000h size: 64 bit 22.2.25 ptv?processor temperature value register offset address: tbarb+60h attribute: ro default value: 0000h size: 16 bit 22.2.26 mmgpc?max memory cont roller/graphics power clamp register (mobile only) offset address: tbarb+64h attribute: r/w default value: 0000h size: 16 bit bit description 15:0 processor temperature limit ?r/w. these bits are programmed by bios. this bit is a scratchpad register for sw. bit description 63:0 memory controller/graphics temperature value ?ro. these bits contain the memory controller/graphics temperature. bit description 15:8 reserved 7:0 processor temperature value ?ro. these bits contain the max temperature value of the processor core and th e memory controller/graphics. bit description 15:0 max memory controller/graphics power clamp ?r/w. these bits set the max memory controller/graphics power.
datasheet 881 thermal sensor registers (d31:f6) 22.2.27 mppc?max proces sor power clamp regi ster (mobile only) offset address: tbarb+66h attribute: r/w default value: 0000h size: 16 bit 22.2.28 mpcpc?max processor core power clamp register (mobile only) offset address: tbarb+68h attribute: r/w default value: 0000h size: 16 bit bit description 15:0 max processor power clamp ?r/w. these bits set the max processor power. bit description 15:0 max processor core power clamp ?r/w. these bits set the max processor core power.
thermal sensor registers (d31:f6) 882 datasheet 22.2.29 tspien?thermal sensor pci interrupt enable register offset address: tbarb+82h attribute: r/w default value: 00h size: 8 bit this register controls the conditions that result in pci interrupts to be signalled from thermal sensor trip events. software (device driver) needs to ensure that it can support pci interrupts, even though bios may enable pci interrupt capability through this register. bit description 7 auxiliary2 high-to-low enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 6 catastrophic high-to-low enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 5 hot high-to-low enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 4 auxiliary high-to-low enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 3 auxiliary2 low-to-high enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 2 catastrophic low-to-high enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 1 hot low-to-high enable ?r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register. 0 auxiliary low-to-high enable? r/w. 0 = corresponding status bit does not result in pci interrupt. 1 = pci interrupt is signaled when the corre sponding status bit is set in the thermal error status register.
datasheet 883 thermal sensor registers (d31:f6) 22.2.30 tslock?thermal sensor re gister lock control register offset address: tbarb+83h attribute: r/w default value: 00h size: 8 bit 22.2.31 sts?turbo status (mobile only) offset address: tbarb+98h attribute: ro default value: 00000000h size: 32 bit bits [31:1] in this register are received from the ec when it does the write sts register command. see section 5.22.2 for more details note that write sts register command is a 48-bit transaction. the upper bits [47:32] of the write command are written into tc1 register at offset a8h. 22.2.32 sec?event clear register (mobile only) offset address: tbarb+9ch attribute: ro, r/wo default value: 00h size: 8 bit 22.2.33 tc3?thermal compares 3 register offset address: tbarb+a4h attribute: ro default value: 00000000h size: 32 bit bits [31:0] of this register are set when an external controller (such as ec) does the write processor core temp limits command. see section 5.21.2 for more information. bit description 7:3 reserved 2 lock control ?r/w. this bit can only be set to a 0 by a host-partitioned reset. writing a 0 to this bit has no effect. note: cf9 warm reset is a host-partitioned reset. 1:0 reserved bit description 7:1 reserved 0 event clear? r/wo. when the host writes a 1 to this bit, it clears bit 0 of the turbo status register (sts .bit0, offset 98h) bit description 31:16 processor core thermal compare upper limit?ro. this is the upper limit used to compare against the processor core temper ature. if the processor core temperature is greater than this value, then the pch?s temp_alert# signal is asserted if enabled. 15:0 processor core thermal compare lower limit?ro. this is the lower limit used to compare against the processor core temper ature. if the processor core temperature is lower than this value, then the pch?s temp_alert# signal is asserted if enabled.
thermal sensor registers (d31:f6) 884 datasheet 22.2.34 tc1?thermal compares 1 register offset address: tbarb+a8h attribute: ro default value: 00000000h size: 32 bit bits [31:16] of this register are set when an external controller (such as ec) does the write sts register command. see section 5.21.2 for more info. note that the write sts command are 48-bit transaction. the lower bits [31:0] are written into sts register at offset 50h. bits [15:0] of this register are set when an external controller (such as ec) does the write memory controller/graphics temp limits command. see section 5.21.2 for more information. bit description 31:26 reserved 25:16 (mobile only) processor power limit (psl)? r/w. the processor power li mit encoded as a 10-bit, unsigned real number with a 1/10th-watt granularity. example: 60.0 watts would be encoded as 258h 15:8 memory controller/graphics thermal compare upper limit?ro. this is the upper limit used to compare against the memory controller /graphics temperature. if the memory controller/graphics temperature is greater than this value, then the pch?s temp_alert# signal is asserted if enabled. 7:0 memory controller/graphics th ermal compare lower limit?ro. this is the lower limit used to compare against the memory controller /graphics temperature. if the memory controller/graphics temperature is lower than this value, then the pch?s temp_alert# signal is asserted if enabled.
datasheet 885 thermal sensor registers (d31:f6) 22.2.35 tc2?thermal compares 2 register offset address: tbarb+ach attribute: ro default value: 00000000h size: 32 bit bits [31:16] of this register are set when an external controller (such as, ec) does the write dimm temp limits command. see section 5.21.2 for more info. bits [15:0] of this register are set when an external controller (such as ec) does the write pch temp limits command. see section 5.21.2 for more information. 22.2.36 dtv?dimm temper ature values register offset address: tbarb+b0h attribute: ro default value: 00000000h size: 32 bit bit description 31:24 dimm thermal compare upper limit?ro. this is the upper limit used to compare against the dimm?s temperature. if the dimm?s temperature is greater than this value, then the pch?s temp_alert# sign al is asserted if enabled. 23:16 dimm thermal compar e lower limit?ro. this is the lower limit used to compare against the dimm?s temperature. if the dimm ?s temperature is lower than this value, then the pch?s temp_alert# sign al is asserted if enabled. 15:8 pch thermal compare upper limit?ro. this is the upper limit used to compare against the pch temperature. if the pch temperature is greater than this value, then the pch?s temp_alert# signal is asserted if enabled. 7:0 pch thermal compare lower limit?ro. this is the lower limit used to compare against the pch temperature. if the pch temperature is lower than this value, then the pch?s temp_alert# signal is asserted if enabled. bit description 31:24 dimm3 temperature? ro. the bits contain dimm3 temperature data in absolute degrees celsius. these bits are data byte 8 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details. 23:16 dimm2 temperature? ro. the bits contain dimm2 temperature data in absolute degrees celsius. these bits are data byte 7 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details. 15:8 dimm1 temperature? ro. the bits contain dimm1 temperature data in absolute degrees celsius. these bits are data byte 6 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details. 7:0 dimm0 temperature? ro. the bits contain dimm0 temperature data in absolute degrees celsius. these bits are data byte 5 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details.
thermal sensor registers (d31:f6) 886 datasheet 22.2.37 itv?internal temp erature values register offset address: tbarb+d8h attribute: ro default value: 00000000h size: 32 bit bit description 31:24 reserved 23:16 sequence number? ro. provides a sequence number wh ich can be used by the host to detect if the me fw has hung. the value w ill roll over to 00h from ffh. the count is updated at approximately 200 ms. host sw can check this value and if it isn't incriminated over a second or so, software should assume that the me fw is hung. note: if the me is reset, then this value will not change during the reset. after the reset is done, which may take up to 30 se conds, the me may be on again and this value will start incrementing, indicating that the thermal values are valid again. these bits are data byte 9 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details. 15:8 memory controller/graphics temperature? ro. the bits contain memory controller/graphics temperature da ta in absolute degrees celsius. these bits are data byte 4 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details. 7:0 pch temperature? ro. the bits contain pch temperature data in absolute degrees celsius. these bits are data byte 1 provided to the external controller when it does a read over smlink1. see section 5.21.2 for more details.
datasheet 887 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23 intel ? management engine interface (mei) subsystem registers (d22:f0) 23.1 first intel ? management engine interface (intel ? mei) configuration registers (mei?d22:f0) / table 23-1. intel ? mei configuration re gisters address map (mei?d22:f0) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h ro 08h rid revision identification see register description ro 09h?0bh cc class code 0c8000h ro 0eh ht header type 00h ro 10h?17h mei0_mbar mei0 mmio base address 00000000 00000004h r/w, ro 2ch?2dh svid subsystem vendor id 0000h r/wo 2eh?2fh sid subsystem id 0000h r/wo 34h capp capabilities list pointer 50h ro 3ch?3dh intr interrupt information 0000h r/w, ro 3eh?3fh mlmg maximum latency/minimum grant 0000h ro 40h?43h hfs host firmware status 00000000h ro 44h?47h me_uma management engine uma register 00000000h ro 48?4bh gmes general me status 00000000h ro 4ch?4fh h_gs host general status 00000000h ro 50h?51h pid pci power management capability id 6001h ro 52h?53h pc pci power management capabilities c803h ro 54h?55h pmcs pci power management control and status 0008h r/wc, r/w, ro 8ch?8dh mid message signal ed interrupt identifiers 0005h ro
intel? management engine interfac e (mei) subsystem registers (d22:f0) 888 datasheet 23.1.1 vid?vendor identi fication register (mei?d22:f0) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 23.1.2 did?device identi fication register (mei?d22:f0) address offset: 02h?03h attribute: ro default value: see bit description size: 16 bits 8eh?8fh mc message signaled interrupt message control 0080h r/w, ro 90h?93h ma message signaled interrupt message address 00000000h r/w, ro 94h?97h mua message signaled interrupt upper address 00000000h r/w 98h?99h md message signaled interrupt message data 0000h r/w a0h hidm mei interrupt delivery mode 00h r/w bch?bfh hers mei extended register status 40000000h ro c0h?dfh her[1:8] mei extended register dw[1:8] 00000000h ro table 23-1. intel ? mei configuration registers address map (mei?d22:f0) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id (vid)? ro. this is a 16-bit value assigned to intel. bit description 15:0 device id (did) ?ro. this is a 16-bit value assigned to the intel management engine interface controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register.
datasheet 889 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.1.3 pcicmd?pci command register (mei?d22:f0) address offset: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits 23.1.4 pcists?pci status register (mei?d22:f0) address offset: 06h ? 07h attribute: ro default value: 0010h size: 16 bits bit description 15:11 reserved 10 interrupt disable (id)? r/w. disables this device fr om generating pci line based interrupts. this bit does not have any effect on msi operation. 9:3 reserved 2 bus master enable (bme) ?r/w. : controls the intel mei host controller's abil ity to act as a system memory master for data transfers. when this bit is cleared, intel me bus master activity stops and any active dma engines return to an idle condit ion. this bit is made visible to firmware through the h_pci_csr register, and changes to this bit may be configured by the h_pci_csr register to generate an me msi. when this bit is 0, intel mei is blocked from generating msi to the host cpu. note: this bit does not block intel mei accesses to me-uma; that is, writes or reads to the host and me circular buffers through the read window and write window registers still cause me backbone transactions to me-uma. 1 memory space enable (mse) ?r/w. controls access to the intel me's memory mapped register space. 0 = disable. memory cycles within the rang e specified by the memory base and limit registers are master aborted. 1 = enable. allows memory cycles within th e range specified by the memory base and limit registers accepted. 0 reserved bit description 15:5 reserved 4 capabilities list (cl)?ro. indicates the pres ence of a capabilities list, hardwired to 1. 3 interrupt status (is) ? ro. indicates the interrupt status of the device. 0 = interrupt is de-asserted. 1 = interrupt is asserted. 2:0 reserved
intel? management engine interfac e (mei) subsystem registers (d22:f0) 890 datasheet 23.1.5 rid?revision iden tification register (mei?d22:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 23.1.6 cc?class co de register (mei?d22:f0) address offset: 09h ? 0bh attribute: ro default value: 078000h size: 24 bits 23.1.7 htype?header type register (mei?d22:f0) address offset: 0eh attribute: ro default value: 80h size: 8 bits bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 23:16 base class code (bcc)? ro. indicates the base class code of the intel mei device. 15:8 sub class code (scc) ?ro. indicates the sub class co de of the intel mei device. 7:0 programming interface (pi)? ro. indicates the programming interface of the intel mei device. bit description 7 multi-function device (mfd) ?ro. indicates the intel mei host controller is part of a multifunction device. 6:0 header layout (hl)?ro. indicates that th e intel mei uses a ta rget device layout.
datasheet 891 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.1.8 mei0_mbar?mei0 mmio base address register (mei?d22:f0) address offset: 10h ? 17h attribute: r/w, ro default value: 0000000000000004h size: 64 bits this register allocates space for the mei0 memory mapped registers. 23.1.9 svid?subsystem vendor id register (mei?d22:f0) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits 23.1.10 sid?subsys tem id register (mei?d22:f0) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits bit description 63:4 base address (ba)?r/w . software programs this field with the base address of this region. 3 prefetchable memory (pm)? ro. indicates that this range is not pre-fetchable. 2:1 type (tp) ?ro. set to 10b to indicate that this range can be mapped anywhere in 64- bit address space. 0 resource type indicator (rte) ?ro. indicates a reques t for register memory space. bit description 15:0 subsystem vendor id (ssvid)? r/wo. indicates the sub-system vendor identifier. this field should be programmed by bios du ring boot-up. once wr itten, this register becomes read only. this field ca n only be cleared by pltrst#. bit description 15:0 subsystem id (ssid) ?r/wo. indicates the sub-system identifier. this field should be programmed by bios during boot-up. on ce written, this register becomes read only. this field can only be cleared by pltrst#.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 892 datasheet 23.1.11 capp?capabilities list pointer register (mei?d22:f0) address offset: 34h attribute: ro default value: 50h size: 8 bits 23.1.12 intr?interrupt information register (mei?d22:f0) address offset: 3ch?3dh attribute: r/w, ro default value: 0100h size: 16 bits 23.1.13 hfs?host firmware status register (mei?d22:f0) address offset: 40h?43h attribute: ro default value: 00000000h size: 32 bits bit description 7:0 capabilities pointer (ptr)? ro. indicates that the pointer for the first entry in the capabilities list is at 50h in configuration space. bit description 15:8 interrupt pin (ipin)? ro. this indicates the interru pt pin the intel mei host controller uses. the value of 01h selects inta# interrupt pin. 7:0 interrupt line (iline)? r/w. software written value to indicate which interrupt line (vector) the interrupt is conne cted to. no hardware action is taken on this register. bit description 31:0 host firmware status (hfs) ?ro. this register field is used by firmware to reflect the operating environment to the host.
datasheet 893 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.1.14 me_uma?managemen t engine uma register (mei?d22:f0) address offset: 44h?47h attribute: ro default value: 80000000h size: 32 bits 23.1.15 gmes?general me status register (mei?d22:f0) address offset: 48h?4bh attribute: ro default value: 00000000h size: 32 bits 23.1.16 h_gs?host general status register (mei?d22:f0) address offset: 4ch?4fh attribute: ro default value: 00000000h size: 32 bits bit description 31 reserved ?ro. hardwired to 1. can be used by host software to discover that this register is valid. 30:7 reserved 16 me uma size valid? ro. this bit indicates that fw has written to the musz field. 15:6 reserved 5:0 me uma size (musz)? ro. this field reflect me firmware?s desired size of meuma memory region. this field is set by me firm ware prior to core power bringup allowing bios to initialize memory. 000000b = 0 mb, no memory allocated to meuma 000001b = 1 mb 000010b = 2 mb 000100b = 4 mb 001000b = 8 mb 010000b = 16 mb 100000b = 32 mb bit description 31:0 general me status (me_gs) ?ro. this field is populated by me. bit description 31:0 host general status(h_gs) ?ro. general status of host, this field is not used by hardware
intel? management engine interfac e (mei) subsystem registers (d22:f0) 894 datasheet 23.1.17 pid?pci power manageme nt capability id register (mei?d22:f0) address offset: 50h?51h attribute: ro default value: 6001h size: 16 bits 23.1.18 pc?pci power manageme nt capabilities register (mei?d22:f0) address offset: 52h ? 53h attribute: ro default value: c803h size: 16 bits bit description 15:8 next capability (next)? ro. value of 60h indicates the location of the next pointer. 7:0 capability id (cid)? ro. indicates the linked list item is a pci power management register. bit description 15:11 pme_support (psup) ?ro. this five-bit field indicate s the power states in which the function may assert pme#. in tel mei can assert pme# from any d-state except d1 or d2 which are not supported by intel mei. 10:9 reserved 8:6 aux_current (ac) ?ro. reports the maximum suspend well current required when in the d3 cold state. value of 00b is reported. 5 device specific initialization (dsi) ?ro. indicates whet her device-specific initialization is required. 4reserved 3 pme clock (pmec) ?ro. indicates that pci clock is not required to generate pme#. 2:0 version (vs) ?ro. hardwired to 011b to indicate support for revision 1.2 of the pci power management specification .
datasheet 895 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.1.19 pmcs?pci power mana gement control and status register (mei?d22:f0) address offset: 54h ? 55h attribute: r/wc, r/w, ro default value: 0008h size: 16 bits 23.1.20 mid?message signaled in terrupt identi fiers register (mei?d22:f0) address offset: 8ch?8dh attribute: ro default value: 0005h size: 16 bits bit description 15 pme status (pmes)? r/wc. bit is set by me firmware. host software clears bit by writing ?1? to bit. this bit is reset when cl_rst1# asserted. 14:9 reserved 8 pme enable (pmee)? r/w. this bit is read/write and is under the control of host sw. it does not directly have an effect on pme events. however, this bit is shadowed so me fw can monitor it. me fw will not cause the pmes bit to transition to 1 while the pmee bit is 0, indicating that host sw had disabled pme. this bit is reset when pltrst# asserted. 7:4 reserved 3 no_soft_reset (nsr) ?ro. this bit indicates that when the intel mei host controller is transitioning from d3 hot to d0 due to a power state co mmand, it does not perform an internal reset. configurat ion context is preserved. 2 reserved 1:0 power state (ps)? r/w. this field is used both to determine the cu rrent power state of the intel mei host controller and to set a new power state. the values are: 00 = d0 state (default) 11 = d3 hot state the d1 and d2 states are not supported for the intel mei host controller. when in the d3 hot state, the intel me?s configuration spac e is available, but the register memory spaces are not. additionally, interrupts are blocked. bit description 15:8 next pointer (next) ?ro. value of 00h indicates that th is is the last item in the list. 7:0 capability id (cid) ?ro. capabilities id indicates msi.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 896 datasheet 23.1.21 mc?message signaled inte rrupt message control register (mei?d22:f0) address offset: 8eh?8fh attribute: r/w, ro default value: 0080h size: 16 bits 23.1.22 ma?message signaled interrupt message address register (mei?d22:f0) address offset: 90h?93h attribute: r/w, ro default value: 00000000h size: 32 bits 23.1.23 mua?message signaled in terrupt upper ad dress register (mei?d22:f0) address offset: 94h?97h attribute: r/w default value: 00000000h size: 32 bits 23.1.24 md?message signaled in terrupt message data register (mei?d22:f0) address offset: 98h?99h attribute: r/w default value: 0000h size: 16 bits bit description 15:8 reserved 7 64 bit address capable (c64)?ro. specifies that functi on is capable of generating 64-bit messages. 6:1 reserved 0 msi enable (msie) ?r/w. if set, msi is enabled and traditional interrupt pins are not used to generate interrupts. bit description 31:2 address (addr) ?r/w. lower 32 bits of the system specified message address, always dw aligned. 1:0 reserved bit description 31:0 upper address (uaddr) ?r/w. upper 32 bits of the system specified message address, always dw aligned. bit description 15:0 data (data) ?r/w. this 16-bit field is programmed by system software if msi is enabled. its content is driven during the data phase of the msi memory write transaction.
datasheet 897 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.1.25 hidm?mei interrupt delivery mode register (mei?d22:f0) address offset: a0h attribute: r/w default value: 00h size: 8 bits 23.1.26 heres?mei extend register status (mei?d22:f0) address offset: bch?bfh attribute: ro default value: 00h size: 32 bits bit description 7:2 reserved 1 mei interrupt delivery mode (hidm) ?r/w. these bits control what type of interrupt the intel mei will send when arc writes to set the m_ig bit in aux space. they are interpreted as follows: 00 = generate legacy or msi interrupt 01 = generate sci 10 = generate smi 0 synchronous smi occurrence (ssmio) ?r/wc. this bit is used by firmware to indicate that a synchronous smi source ha s been triggered. host bios smm handler can use this bit as status indication and clear it once processing is completed. a write of 1 from host sw clears this status bit. note: it is possible that an async smi has oc curred prior to sync smi occurrence and when the bios enters the smm handler, it is possible that both bit 0 and bit 1 of this register could be set. bit description 31 extend register valid (erv). set by firmware after all firmwa re has been loaded. if era fi eld is sha-1, the result of the extend operation is in her:5-1. if era field is sha-256, the result of the extend operation is in her:8-1. 30 extend feature present (efp). this bit is hardwired to 1 to allow driver so ftware to easily detect the chipset supports the extend register fw measurement feature. 29:4 reserved 3:0 extend register algorithm (era). this field indicates the hash algorithm used in the fw measurement extend operations. encodings are: 0h = sha-1 2h = sha-256 other values = reserved.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 898 datasheet 23.1.27 herx?mei extend register dwx (mei?d22:f0) address offset: her1: c0h?c3h attribute: ro her2: c4h?c7h her3: c8h?cbh her4: cch?cfh her5: d0h?d3h her6: d4h?d7h her7: d8h?dbh her8: dch?dfh default value: 00000000h size: 32 bits bit description 31:0 extend register dwx (erdwx). nth dword result of the extend operation. note: extend operation is her[5:1] if using sha-1. if using sha-2 then extend operation is her[8:1]
datasheet 899 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2 second management engine interface(mei1) configuration registers (mei?d22:f1) ) table 23-1. mei1 configurat ion registers address map (mei?d22:f1) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h ro 08h rid revision identification see register description ro 09h?0bh cc class code 0c8000h ro 0eh ht header type 00h ro 10h?17h mei1_mbar mei0 mmio base address 00000000 00000004h r/w, ro 2ch?2dh svid subsystem vendor id 0000h r/wo 2eh?2fh sid subsystem id 0000h r/wo 34h capp capabilities list pointer 50h ro 3ch?3dh intr interrupt information 0000h r/w, ro 3eh?3fh mlmg maximum latency/minimum grant 0000h ro 40h?43h hfs host firmware status 00000000h ro 48?4bh gmes general me status 00000000h ro 4ch?4fh h_gs host general status 00000000h ro 50h?51h pid pci power management capability id 6001h ro 52h?53h pc pci power management capabilities c803h ro 54h?55h pmcs pci power management control and status 0008h r/wc, r/w, ro 8ch?8dh mid message signal ed interrupt identifiers 0005h ro 8eh?8fh mc message signal ed interrupt message control 0080h r/w, ro 90h?93h ma message signal ed interrupt message address 00000000h r/w, ro 94h?97h mua message signaled interrupt upper address 00000000h r/w 98h?99h md message signal ed interrupt message data 0000h r/w a0h hidm mei interrupt delivery mode 00h r/w bc?bf hers mei extended register status 40000000h ro c0?df her[1:8] mei extended register dw[1:8] 00000000h ro
intel? management engine interfac e (mei) subsystem registers (d22:f0) 900 datasheet 23.2.1 vid?vendor identi fication register (mei?d22:f1) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 23.2.2 did?device identi fication register (mei?d22:f1) address offset: 02h?03h attribute: ro default value: see bit description size: 16 bits 23.2.3 pcicmd?pci command register (mei?d22:f1) address offset: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 vendor id (vid)? ro. this is a 16-bit value assigned to intel. bit description 15:0 device id (did) ?ro. this is a 16-bit value assigned to the intel management engine interface controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id)? r/w. disables this device from generating pci line based interrupts. this bit does not ha ve any effect on msi operation. 9:3 reserved 2 bus master enable (bme) ?r/w. controls the intel mei host controller's ability to act as a system memory master fo r data transfers. when this bit is cleared, intel mei bus master activity stops and any active dma engines return to an idle condition. this bit is made visible to firmware through the h_pci_ csr register, and chan ges to this bit may be configured by the h_pci_csr register to generate an me msi. when this bit is 0, intel mei is blocked from gene rating msi to the host cpu. note: this bit does not block intel mei accesses to me-uma; that is, writes or reads to the host and me circular buffers thro ugh the read window and write window registers still cause me backbone transactions to me-uma. 1 memory space enable (mse) ?r/w. controls access to the intel me's memory mapped register space. 0 = disable. memory cycles within the rang e specified by the memory base and limit registers are master aborted. 1 = enable. allows memory cycles within th e range specified by the memory base and limit registers accepted. 0 reserved
datasheet 901 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2.4 pcists?pci status register (mei?d22:f1) address offset: 06h ? 07h attribute: ro default value: 0010h size: 16 bits 23.2.5 rid?revision identification register (mei?d22:f1) offset address: 08h attribute: ro default value: see bit description size: 8 bits 23.2.6 cc?class code register (mei?d22:f1) address offset: 09h ? 0bh attribute: ro default value: 078000h size: 24 bits bit description 15:5 reserved 4 capabilities list (cl)?ro. indicates the pres ence of a capabilities list, hardwired to 1. 3 interrupt status ? ro. indicates the interrupt status of the device. 0 = interrupt is de-asserted. 1 = interrupt is asserted. 2:0 reserved bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the revision id register bit description 23:16 base class code (bcc)? ro. indicates the base class code of the intel mei device. 15:8 sub class code (scc) ?ro. indicates the sub class co de of the intel mei device. 7:0 programming interface (pi)? ro. indicates the programming interface of the intel mei device.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 902 datasheet 23.2.7 htype?header type register (mei?d22:f1) address offset: 0eh attribute: ro default value: 80h size: 8 bits 23.2.8 mei_mbar?mei mmio base address register (mei?d22:f1) address offset: 10h ? 17h attribute: r/w, ro default value: 0000000000000004h size: 64 bits this register allocates space for the intel mei memory mapped registers. 23.2.9 svid?subsystem vendor id register (mei?d22:f1) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits bit description 7 multi-function device (mfd)?ro. indicates the intel mei host controller is part of a multifunction device. 6:0 header layout (hl)?ro. indicates that th e intel mei uses a ta rget device layout. bit description 63:4 base address (ba)?r/w . software programs this field with the base a ddress of this region. 3 prefetchable memory (pm)? ro. indicates that this range is not pre-fetchable. 2:1 type (tp) ?ro. set to 10b to indicate that this range can be mapped anywhere in 64- bit address space. 0 resource type indicator (rte) ?ro. indicates a reques t for register memory space. bit description 15:0 subsystem vendor id (ssvid)? r/wo. indicates the sub-system vendor identifier. this field should be programmed by bios du ring boot-up. once wr itten, this register becomes read only. this field ca n only be cleared by pltrst#.
datasheet 903 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2.10 sid?subsys tem id register (mei?d22:f1) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits 23.2.11 capp?capabilities list pointer register (mei?d22:f1) address offset: 34h attribute: ro default value: 50h size: 8 bits 23.2.12 intr?interrupt information register (mei?d22:f1) address offset: 3ch?3dh attribute: r/w, ro default value: 0100h size: 16 bits 23.2.13 hfs?host firmware status register (mei?d22:f1) address offset: 40h?43h attribute: ro default value: 00000000h size: 32 bits bit description 15:0 subsystem id (ssid) ?r/wo. indicates the sub-system identifier. this field should be programmed by bios during boot-up. on ce written, this register becomes read only. this field can only be cleared by pltrst#. bit description 7:0 capabilities pointer (ptr)? ro. indicates that the pointe r for the first entry in the capabilities list is at 50h in configuration space. bit description 15:8 interrupt pin (ipin)?ro. this field indica tes the interrupt pin the intel mei host controller uses. the value of 01h selects inta# interrupt pin. 7:0 interrupt line (iline)? r/w. software written value to indicate which interrupt line (vector) the interrupt is conn ected to. no hardware action is taken on this register. bit description 31:0 host firmware status (hfs) ?ro. this register field is used by firmware to reflect the operating environment to the host.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 904 datasheet 23.2.14 gmes?general me status register (mei?d22:f1) address offset: 48h?4bh attribute: ro default value: 00000000h size: 32 bits 23.2.15 h_gs?host gene ral status register (mei?d22:f1) address offset: 4ch?4fh attribute: ro default value: 00000000h size: 32 bits 23.2.16 pid?pci power manageme nt capability id register (mei?d22:f1) address offset: 50h?51h attribute: ro default value: 6001h size: 16 bits bit description 31:0 general me status(me_gs) ?ro. this field is populated by me. bit description 31:0 host general status(h_gs) ?ro. general status of host, this field is not used by hardware bit description 15:8 next capability (next)? ro. value of 60h indicates the location of the next pointer. 7:0 capability id (cid)? ro. indicates the linked list item is a pci power management register.
datasheet 905 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2.17 pc?pci power manageme nt capabilities register (mei?d22:f1) address offset: 52h ? 53h attribute: ro default value: c803h size: 16 bits bit description 15:11 pme_support (psup) ?ro. this five-bit field indicate s the power states in which the function may assert pme#. in tel mei can assert pme# from any d-state except d1 or d2 which are not supported by intel mei. 10:9 reserved 8:6 aux_current (ac) ?ro. reports the maximum suspend well current required when in the d3 cold state. value of 00b is reported. 5 device specific initialization (dsi) ?ro. indicates whether device-specific initialization is required. 4 reserved 3 pme clock (pmec) ?ro. indicates that pci clock is not required to generate pme#. 2:0 version (vs) ?ro. hardwired to 011b to indicate support for revision 1.2 of the pci power management specification .
intel? management engine interfac e (mei) subsystem registers (d22:f0) 906 datasheet 23.2.18 pmcs?pci power mana gement control and status register (mei?d22:f1) address offset: 54h ? 55h attribute: r/wc, r/w, ro default value: 0008h size: 16 bits 23.2.19 mid?message signaled in terrupt identifiers register (mei?d22:f1) address offset: 8ch?8dh attribute: ro default value: 0005h size: 16 bits bit description 15 pme status (pmes)? r/wc. bit is set by me firmware. host software clears bit by writing 1 to bit. this bit is reset when cl_rst1# asserted. 14:9 reserved 8 pme enable (pmee)? r/w. this bit is read/write and is under the control of host sw. it does not directly have an effect on pme events. however, this bit is shadowed so me fw can monitor it. me fw will not cause the pmes bit to transition to 1 while the pmee bit is 0, indicating that host sw had disabled pme. this bit is reset wh en pltrst# asserted. 7:4 reserved 3 no_soft_reset (nsr) ?ro. this bit indicates that when the intel mei host controller is transitioning from d3 hot to d0 due to a power state command, it does not perform an internal reset. configurat ion context is preserved. 2reserved 1:0 power state (ps)? r/w. this field is used both to determine the current power state of the intel mei host cont roller and to set a new po wer state. the values are: 00 = d0 state (default) 11 = d3 hot state the d1 and d2 states are not supported for the intel mei host controller. when in the d3 hot state, the intel me?s configuration space is available, but the register memory spaces are not. additional ly, interrupts are blocked. bit description 15:8 next pointer (next) ?ro. value of 00h indicates that this is the last item in the list. 7:0 capability id (cid) ?ro. capabilities id indicates msi.
datasheet 907 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2.20 mc?message signaled inte rrupt message control register (mei?d22:f1) address offset: 8eh?8fh attribute: r/w, ro default value: 0080h size: 16 bits 23.2.21 ma?message signaled interrupt message address register (mei?d22:f1) address offset: 90h?93h attribute: r/w, ro default value: 00000000h size: 32 bits 23.2.22 mua?message signaled in terrupt upper a ddress register (mei?d22:f1) address offset: 94h?97h attribute: r/w default value: 00000000h size: 32 bits 23.2.23 md?message signaled in terrupt message data register (mei?d22:f1) address offset: 98h?99h attribute: r/w default value: 0000h size: 16 bits bit description 15:8 reserved 7 64 bit address capable (c64)?ro. specifies that functi on is capable of generating 64-bit messages. 6:1 reserved 0 msi enable (msie) ?r/w. if set, msi is enabled and traditional interrupt pins are not used to generate interrupts. bit description 31:2 address (addr) ?r/w. lower 32 bits of the system specified message address, always dw aligned. 1:0 reserved bit description 31:0 upper address (uaddr) ?r/w. upper 32 bits of the system specified message address, always dw aligned. bit description 15:0 data (data) ?r/w. this 16-bit field is programmed by system software if msi is enabled. its content is driven during the data phase of the msi memory write transaction.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 908 datasheet 23.2.24 hidm?mei interrupt delivery mode register (mei?d22:f1) address offset: a0h attribute: r/w default value: 00h size: 8 bits 23.2.25 heres?mei extend register status (mei?d22:f1) address offset: bch?bfh attribute: ro default value: 00h size: 32 bits bit description 7:2 reserved 1 intel mei interrupt delivery mode (hidm) ?r/w. these bits control what type of interrupt the intel mei will se nd when arc writes to set the m_ig bit in aux space. they are interpreted as follows: 00 = generate legacy or msi interrupt 01 = generate sci 10 = generate smi 0 synchronous smi occurrence (ssmio) ?r/wc. this bit is used by firmware to indicate that a synchronous smi source ha s been triggered. host bios smm handler can use this bit as status indication and clear it once processing is completed. a write of 1 from host sw clears this status bit. note: it is possible that an async smi has oc curred prior to sync smi occurrence and when the bios enters the smm handler, it is possible that both bit 0 and bit 1 of this register could be set. bit description 31 extend register valid (erv). set by firmware after all firmware has been loaded. if era field is sha-1, the result of the extend operation is in her:5-1. if era field is sha- 256, the result of the extend operation is in her:8-1. 30 extend feature present (efp). this bit is hardwired to 1 to allow driver software to easily detect the chipset supports the extend register fw measurement feature. 29:4 reserved 3:0 extend register algorithm (era). this field indica tes the hash algorithm used in the fw measurement extend operations. encodings are: 0h = sha-1 2h = sha-256 other values = reserved.
datasheet 909 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.2.26 herx?mei extend register dwx (mei?d22:f1) address offset: her1: c0h?c3h attribute: ro her2: c4h?c7h her3: c8h?cbh her4: cch?cfh her5: d0h?d3h her6: d4h?d7h her7: d8h?dbh her8: dch?dfh default value: 00000000h size: 32 bits 23.3 mei0_mbar?mei0 mmio registers these mmio registers are accessible starting at the mei mmio base address (mei_mbar) which gets programmed into d22:f0:offset 10?17h. these registers are reset by pltrst# unless otherwise noted. bit description 31:0 extend register dwx (erdwx): xth dword result of the extend operation. note: extend operation is her[5:1] if using sha-1. if using sha-2, then extend operation is her[8:1] table 23-2. mei mmio register address map (ve?d23:f0) mei_mbar+of fset mnemonic register name default type 00?03h h_cb_ww host circular buffer write window 00000000h ro 04h?07h h_csr host control status 02000000h r/w, r/wc, ro 08h?0bh me_cb_rw me circular buffer read window 00000000h ro 0ch?0fh me csr_ha me control status host access 02000000h ro
intel? management engine interfac e (mei) subsystem registers (d22:f0) 910 datasheet 23.3.1 h_cb_ww?host circular b uffer write window register (mei mmio register) address offset: mei0_mbar + 00h attribute: ro default value: 00000000h size: 32 bits 23.3.2 h_csr?host control status register (mei mmio register) address offset: mei0_mbar + 04h attribute: ro default value: 02000000h size: 32 bits bit description 31:0 host circular buffer write window field (h_cb_wwf) . this bit field is for host to write into its circular buffer. the host's circular buffer is located at the me subsystem address specified in the host cb base address register. this field is write only, reads will return arbitrary data. writes to this register will increm ent the h_cbwp as long as me_rdy is 1. when me_rdy is 0, writes to this register have no effect and are not delivered to the h_cb, nor is h_cbwp incriminated. bit description 31:24 host circular buff er depth (h_cbd) ?ro. this field indicates the maximum number of 32 bit entries available in the host circular buffer (h_cb). host soft ware uses this field along with the h_cbrp and h_cbwp fields to calculate the number of valid entries in the h_cb to read or # of entries available for write. this field is implemented with a "1-hot" sche me. only one bit will be set to a "1" at a time. each bit position represents the value n of a buffer depth of (2^n). for example, when bit# 1 is 1, the buffer depth is 2; when bit#2 is 1, the buffer depth is 4, etc. the allowed buffer depth values are 2, 4, 8, 16, 32, 64 and 128. 23:16 host cb write pointer (h_cbwp) . points to next location in the h_cb for host to write the data. software uses this field alon g with h_cbrp and h_cb d fields to calculate the number of valid entries in the h_cb to re ad or number of entries available for write. 15:8 host cb read pointer (h_cbrp) . points to next location in the h_cb where a valid data is available for embedded controller to read. software uses this field along with h_cbwr and h_cbd fields to calculate the number of valid entries in the host cb to read or number of entries available for write. 7:5 reserved must be programmed to zero 4 host reset (h_rst) . setting this bit to 1 will initiate a intel mei reset sequence to get the circular buffers into a known good stat e for host and me communication. when this bit transitions from 0 to 1, hardware will clear the h_rdy and me_rdy bits. 3 host ready (h_rdy) . this bit indicates that the host is ready to process messages. 2 host interrupt generate (h_ig) . once message(s) are written into its cb, the host sets this bit to one for the hw to set the me_is bit in the me_csr and to generate an interrupt message to me. hw wi ll send the interrupt message to me only if the me_ie is enabled. hw then clears this bit to 0. 1 host interrupt status (h_is) . hardware sets this bit to 1 when me_ig bit is set to 1. host clears this bit to 0 by writing a 1 to this bit position. h_ie has no effect on this bit. 0 host interrupt enable (h_ie) . host sets this bit to 1 to enable the host interrupt (intr# or msi) to be assert ed when h_is is set to 1.
datasheet 911 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.3.3 me_cb_rw?me circular buffer read window register (mei mmio register) address offset: mei0_mbar + 08h attribute: ro default value: ffffffffh size: 32 bits 23.3.4 me csr_ha?me control status host access register (mei mmio register) address offset: mei0_mbar + 0ch attribute: ro default value: 02000000h size: 32 bits bit description 31:0 me circular buffer read window field (me_cb_rwf) . this bit field is for host to read from the me circular buffer. the me' s circular buffer is located at the me subsystem address specified in the me cb base address register. this field is read only, writes have no effect. reads to this register will increment the me_cbrp as long as me_rdy is 1. when me_rdy is 0, reads to th is register have no effect, all 1s are returned, and me_cbrp is not incremented. bit description 31:24 me circular buffer depth host read access (me_cbd_hra) . host read only access to me_cbd. 23:16 me cb write pointer host read access (me_cbwp_hra) . host read only access to me_cbwp. 15:8 me cb read pointer host read access (me_cbrp_hra) . host read only access to me_cbrp. 7:5 reserved 4 me reset host read access (me_rst_hra) . host read access to me_rst. 3 me ready host read access (me_rdy_hra): host read access to me_rdy. 2 me interrupt generate host read access (me_ig_hra) . host read only access to me_ig. 1 me interrupt status host read access (me_is_hra) . host read only access to me_is. 0 me interrupt enable host read access (me_ie_hra) . host read only access to me_ie.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 912 datasheet 23.4 mei1_mbar?mei0 mmio registers these mmio registers are accessible starti ng at the mei1 mmio base address (mei1_mbar) which gets programmed into d22:f1:offset 10?17h. these registers are reset by pltrst# unless otherwise noted. 23.4.1 h_cb_ww?host circular b uffer write window register (mei mmio register) address offset: mei1_mbar + 00h attribute: ro default value: 00000000h size: 32 bits table 23-3. mei mmio register address map (ve?d23:f0) mei_mbar + offset mnemonic register name default type 00?03h h_cb_ww host circular buffer write window 00000000h ro 04h?07h h_csr host control status 02000000h r/w, r/wc, ro 08h?0bh me_cb_rw me circular buffer read window 00000000h ro 0ch?0fh me csr_ha me control status host access 02000000h ro bit description 31:0 host circular buffer write window field (h_cb_wwf) . this bit field is for host to write into its circular buffer. the host's circular buffer is located at the me subsystem address specified in the host cb base address register. this field is write only, reads will return arbitrary data. writes to this register will increm ent the h_cbwp as long as me_rdy is 1. when me_rdy is 0, writes to this register have no effect and are not delivered to the h_cb, nor is h_cbwp incremented.
datasheet 913 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.4.2 h_csr?host cont rol status register (mei mmio register) address offset: mei1_mbar + 04h attribute: ro default value: 02000000h size: 32 bits bit description 31:24 host circular buffe r depth (h_cbd)?ro . this field indicates the maximum number of 32 bit entries available in the host circul ar buffer (h_cb). host software uses this field along with the h_cbrp an d h_cbwp fields to calculate the number of valid entries in the h_cb to read or # of entries available for write. note: this field is implemented with a "1-hot" scheme. only one bit will be set to a 1 at a time. each bit position represents the value n of a buffe r depth of (2^n). for example, when bit# 1 is 1, the buffer depth is 2; when bi t#2 is 1, the buffer depth is 4, etc. the allowed buffer depth values are 2, 4, 8, 16, 32, 64 and 128. 23:16 host cb write pointer (h_cbwp) . points to next location in the h_cb for host to write the data. software uses this field along with h_cbrp an d h_cbd fields to calculate the number of valid entries in the h_cb to read or number of entries available for write. 15:8 host cb read pointer (h_cbrp) . points to next location in the h_cb where a valid data is available for embedded controller to read. software uses this field along with h_cbwr and h_cbd fields to calculate the nu mber of valid entries in the host cb to read or number of entries available for write. 7:5 reserved must be programmed to zero 4 host reset (h_rst) . setting this bit to 1 will initia te a intel mei reset sequence to get the circular buffers into a known good state for host and me communication. when this bit transitions from 0 to 1, hardware will clear the h_rdy and me_rdy bits. 3 host ready (h_rdy) . this bit indicates that the host is ready to process messages. 2 host interrupt generate (h_ig) . once message(s) are written into its cb, the host sets this bit to one for the hw to set the me_is bit in the me_csr and to generate an interrupt message to me. hw will send the interrupt message to me only if the me_ie is enabled. hw then clea rs this bit to 0. 1 host interrupt status (h_is) . hardware sets this bit to 1 when me_ig bit is set to 1. host clears this bit to 0 by writing a 1 to this bit position. h_ie has no effect on this bit. 0 host interrupt enable (h_ie) . host sets this bit to 1 to enable the ho st interrupt (intr# or msi) to be assert ed when h_is is set to 1.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 914 datasheet 23.4.3 me_cb_rw?me circular bu ffer read window register (mei mmio register) address offset: mei1_mbar + 08h attribute: ro default value: ffffffffh size: 32 bits 23.4.4 me csr_ha?me control st atus host access register (mei mmio register) address offset: mei1_mbar + 0ch attribute: ro default value: 02000000h size: 32 bits bit description 31:0 me circular buffer read window field (me_cb_rwf) . this bit field is for host to read from the me circular buffer. the me's circular buffer is located at the me subsystem address specif ied in the me cb base address regi ster. this field is read only, writes have no effect. reads to this register will increment the me_cbrp as long as me_rdy is 1. when me_rdy is 0, reads to this register have no effect, all 1s are returned, and me_cbrp is not incremented. bit description 31:24 me circular buffer depth ho st read access (me_cbd_hra) . host read only access to me_cbd. 23:16 me cb write pointer host read access (me_cbwp_hra) . host read only access to me_cbwp. 15:8 me cb read pointer host read access (me_cbrp_hra) . host read only access to me_cbrp. 7:5 reserved 4 me reset host read access (me_rst_hra) . host read access to me_rst. 3 me ready host read access (me_rdy_hra) . host read access to me_rdy. 2 me interrupt generate host read access (me_ig_hra) . host read only access to me_ig. 1 me interrupt status host read access (me_is_hra) . host read only access to me_is. 0 me interrupt enable host read access (me_ie_hra) . host read only access to me_ie.
datasheet 915 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.5 ide function for remote boot and installations pt ider registers (ider?d22:f2) table 23-4. ide function for remote boot and installations pt ider register address map address offset register symbol register name default value attribute 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h ro, r/w 06h?07h pcists pci status 00b0h ro 08h rid revision id see register description ro 09?0bh cc class codes 010185h ro 0ch cls cache line size 00h ro 0dh plt primary latency timer 00h ro 10?13h pcmdba primary command block io bar 00000001h ro, r/w 14?17h pctlba primary control block base address 00000001h ro, r/w 18?1bh scmdba secondary command bl ock base address 00000001h ro, r/w 1c?1fh sctlba secondary control block base address 00000001h ro, r/w 20?23h lbar legacy bus master base address 00000001h ro, r/w 2c?2fh ss sub system identifiers 00008086h r/wo 30?33h erom expansion rom base address 00000000h ro 34h cap capabilities pointer c8h ro 3c?3dh intr interrupt information 0300h r/w, ro c8?c9h pid pci power management capability id d001h ro ca?cbh pc pci power management capabilities 0023h ro cc?cfh pmcs pci power manageme nt control and status 00000000h ro, r/w, ro/v d0?d1h mid message signaled interrupt capability id 0005h ro d2?d3h mc message signaled interrupt message control 0080h ro, r/w d4?d7h ma message signaled interrupt message address 00000000h r/w, ro d8?dbh mau message signaled inte rrupt message upper address 00000000h ro, r/w dc?ddh md message signaled interrupt message data 0000h r/w
intel? management engine interfac e (mei) subsystem registers (d22:f0) 916 datasheet 23.5.1 vid?vendor iden tification register (ider?d22:f2) address offset: 00?01h attribute: ro default value: 8086h size: 16 bits 23.5.2 did?device identificati on register (ider?d22:f2) address offset: 02?03h attribute: ro default value: see bit description size: 16 bits 23.5.3 pcicmd?pci command register (ider?d22:f2) address offset: 04?05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:0 vendor id (vid)? ro. this is a 16-bit value assigned by intel. bit description 15:0 device id (did) ?ro. this is a 16-bit value assi gned to the pch ider controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id) ?r/w . this disables pin-based in tx# interrupts. this bit has no effect on msi operation. when se t, internal intx# messages will not be generated. when cleared, internal intx# messages are generated if there is an interrupt and msi is not enabled. 9:3 reserved 2 bus master enable (bme) ?ro. this bit controls the pt function's ability to act as a master for data transfers. this bit does no t impact the generation of completions for split transaction commands. 1 memory space enable (mse) ?ro. pt function does not contain target memory space. 0 i/o space enable (iose) ?ro. this bit controls access to the pt function's target i/o space.
datasheet 917 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.5.4 pcists?pci device stat us register (ider?d22:f2) address offset: 06?07h attribute: ro default value: 00b0h size: 16 bits 23.5.5 rid?revision identificati on register (ider?d22:f2) address offset: 08h attribute: ro default value: see bit description size: 8 bits 23.5.6 cc?class codes re gister (ider?d22:f2) address offset: 09?0bh attribute: ro default value: 010185h size: 24 bits bit description 15:11 reserved 10:9 devsel# timing status (devt) ?ro. this bit controls the de vice select time for the pt function's pci interface. 8:5 reserved 4 capabilities list (cl) ?ro. this bit indicates that ther e is a capabili ties pointer implemented in the device. 3 interrupt status (is) ?ro. this bit reflects the state of the interrupt in the function. setting of the interrupt disable bit to 1 has no affect on this bit. only when this bit is a 1 and id bi t is 0 is the intc interru pt asserted to the host. 2:0 reserved bit description 7:0 revision id ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 23:16 base class code (bcc) ?ro this field indicates the base class code of the ider host controller device. 15:8 sub class code (scc) ?ro this field indicates the sub cl ass code of the ider host controller device. 7:0 programming interface (pi) ?ro this field indicates the programming interface of the ider host controller device.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 918 datasheet 23.5.7 cls?cache line size register (ider?d22:f2) address offset: 0ch attribute: ro default value: 00h size: 8 bits 23.5.8 pcmdba?primary comman d block io bar register (ider?d22:f2) address offset: 10?13h attribute: ro, r/w default value: 00000001h size: 32 bits 23.5.9 pctlba?primary control block base address register (ider?d22:f2) address offset: 14?17h attribute: ro, r/w default value: 00000001h size: 32 bits bit description 7:0 cache line size (cls) ?ro. all writes to system memory are memory writes. bit description 31:16 reserved 15:3 base address (bar) ?r/w base address of the bar0 i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space. bit description 31:16 reserved 15:2 base address (bar) ?r/w. base address of the bar1 i/o space (4 consecutive i/o locations) 1 reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space
datasheet 919 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.5.10 scmdba?secondary co mmand block base address register (ider?d22:f2) address offset: 18?1bh attribute: ro, r/w default value: 00000001h size: 32 bits 23.5.11 sctlba?secondary co ntrol block base address register (ider?d22:f2) address offset: 1c?1fh attribute: ro, r/w default value: 00000001h1 size: 32 bits 23.5.12 lbar?legacy bus master base address register (ider?d22:f2) address offset: 20?23h attribute: ro, r/w default value: 00000001h size: 32 bits bit description 31:16 reserved 15:3 base address (bar) ?r/w. base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space. bit description 31:16 reserved 15:2 base address (bar) ?r/w. base address of the i/o space (4 consecutive i/o locations). 1reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space. bit description 31:16 reserved 15:4 base address (ba) ?r/w. base address of the i/o space (16 consecutive i/o locations). 3:1 reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 920 datasheet 23.5.13 svid?subsystem vendor id register (ider?d22:f2) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits 23.5.14 sid?subsystem id register (ider?d22:f2) address offset: 2eh ? 2fh attribute: r/wo default value: 8086h size: 16 bits 23.5.15 capp?capabilities list pointer register (ider?d22:f2) address offset: 34h attribute: ro default value: c8h size: 8 bits 23.5.16 intr?interrupt information register (ider?d22:f2) address offset: 3c?3dh attribute: r/w, ro default value: 0300h size: 16 bits bit description 15:0 subsystem vendor id (ssvid)? r/wo. indicates the sub-system vendor identifier. this field should be programmed by bios du ring boot-up. once wr itten, this register becomes read only. this field ca n only be cleared by pltrst#. bit description 15:0 subsystem id (ssid) ?r/wo. indicates the sub-system identifier. this field should be programmed by bios during boot-up. on ce written, this register becomes read only. this field can only be cleared by pltrst#. bit description 7:0 capability pointer (cp) ?r/wo. this field indicates that the first capability pointer is offset c8h (the powe r management capability). bit description 15:8 interrupt pin (ipin)? ro. a value of 1h/2h/3h/4h indicates that this function implements legacy interrupt on inta/intb/intc/intd, respectively function value intx (2 ide) 03h intc 7:0 interrupt line (iline) ?r/w. the value written in this register indicates which input of the system interrupt controller, the device's interrupt pin is connected to. this value is used by the os and the de vice driver, and has no affect on the hardware.
datasheet 921 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.5.17 pid?pci power manageme nt capability id register (ider?d22:f2) address offset: c8?c9h attribute: ro default value: d001h size: 16 bits 23.5.18 pc?pci power manageme nt capabilities register (ider?d22:f2) address offset: ca?cbh attribute: ro default value: 0023h size: 16 bits bit description 15:8 next capability (next)? ro. its value of d0h points to the msi capability. 7:0 cap id (cid) ?ro. this field indicates that this po inter is a pci power management. bit description 15:11 pme_support (psup) ?ro. this five-bit field indica tes the power states in which the function may assert pme#. ider can assert pme# from any d-state except d1 or d2 which are not supported by ider. 10:9 reserved 8:6 aux_current (ac) ?ro. reports the maximum suspen d well current required when in the d3 cold state. value of 00b is reported. 5 device specific initialization (dsi) ?ro. indicates whet her device-specific initialization is required. 4reserved 3 pme clock (pmec) ?ro. indicates that pci clock is not required to generate pme#. 2:0 version (vs) ?ro. hardwired to 011b to indicate support for revision 1.2 of the pci power management specification .
intel? management engine interfac e (mei) subsystem registers (d22:f0) 922 datasheet 23.5.19 pmcs?pci power manage ment control and status register (ider?d22:f2) address offset: cc?cfh attribute: ro, r/w default value: 00000000h size: 32 bits 23.5.20 mid?message signaled interrupt capability id register (ider?d22:f2) address offset: d0?d1h attribute: ro default value: 0005h size: 16 bits bit description 31:4 reserved 3 no soft reset (nsr)? ro. when set to 1, this bit indicates that devices transitioning from d3hot to d0 because of powerstate commands do not perform an internal reset. configuration context is preserved. upon transition from the d3hot to the d0 initialized state, no additional operating system intervention is required to preserve configuration context beyo nd writing the powerstate bits. when cleared to 0, devices do perform an internal re set upon transitioning from d3hot to d0 via software control of the powerstate bits. configuration context is lost when performing the soft reset. upon transition from the d3 hot to the d0 state, full re-initialization sequ ence is needed to return th e device to d0 initialized. value in this bit is reflects chicken bit in me-aux register x13900, bit [7] which is as follows: 0 = device performs internal reset 1 = device does not pe rform internal reset 2 reserved 1:0 power state (ps) ?r/w. this field is used both to determine the current power state of the pt function and to se t a new power state. the values are: 00 = d0 state 11 = d3 hot state when in the d3 hot state, the controller's configuration space is available, but the i/o and memory spaces are not. a dditionally, interrupt s are blocked. if software attempts to write a '10' or '01' to these bits, the write will be ignored. bit description 15:8 next pointer (next)? ro. this value indicates this is the last item in the capabilities list. 7:0 capability id (cid)? ro. the capabilities id value indi cates device is capable of generating an msi.
datasheet 923 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.5.21 mc?message signaled interrupt message control register (ider?d22:f2) address offset: d2?d3h attribute: ro, r/w default value: 0080h size: 16 bits 23.5.22 ma?message signaled interrupt message address register (ider?d22:f2) address offset: d4?d7h attribute: r/w, ro default value: 00000000h size: 32 bits 23.5.23 mau?message signaled interrupt message upper address register (ider?d22:f2) address offset: d8?dbh attribute: ro, r/w default value: 00000000h size: 32 bits bit description 15:8 reserved 7 64 bit address capable (c64)? ro. capable of generating 64-bit and 32-bit messages. 6:4 multiple message enable (mme)? r/w. these bits are r/w for software compatibility, but only one message is ever sent by the pt function. 3:1 multiple message capable (mmc)? ro. only one message is required. 0 msi enable (msie)? r/w. if set, msi is enabled and tr aditional interrupt pins are not used to generate interrupts. bit description 31:2 address (addr)? r/w. this field contains the lower 32 bits of the system specified message address, always dword aligned 1:0 reserved bit description 31:4 reserved 3:0 address (addr)? r/w. this field contains the upper 4 bits of the system specified message address.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 924 datasheet 23.5.24 md?message signaled interrupt me ssage data register (ider?d22:f2) address offset: dc?ddh attribute: r/w default value: 0000h size: 16 bits 23.6 ide bar0 bit description 15:0 data (data)? r/w. this content is driven onto the lower word of the data bus of the msi memory write transaction. table 23-5. ide bar0 register address map address offset register symbol register name default value attribute 0h idedata ide data register 00h r/w 1h ideerd1 ide error register dev1 00h r/w 1h ideerd0 ide error register dev0 00h r/w 1h idefr ide features register 00h r/w 2h idescir ide sector count in register 00h r/w 2h idescor1 ide sector count ou t register device 1 00h r/w 2h idescor0 ide sector count ou t register device 0 00h r/w 3h idesnor0 ide sector number out register device 0 00h r/w 3h idesnor1 ide sector number out register device 1 00h r/w 3h idesnir ide sector number in register 00h r/w 4h ideclir ide cylinder low in register 00h r/w 4h idclor1 ide cylinder low out register device 1 00h r/w 4h idclor0 ide cylinder low out register device 0 00h r/w 5h idchor0 ide cylinder high out register device 0 00h r/w 5h idchor1 ide cylinder high out register device 1 00h r/w 5h idechir ide cylinder high in register 00h r/w 6h idedhir ide drive/head in register 00h r/w 6h iddhor1 ide drive head out register device 1 00h r/w 6h iddhor0 ide drive head out register device 0 00h r/w 7h idesd0r ide status device 0 register 80h r/w 7h idesd1r ide status device 1 register 80h r/w 7h idecr ide command register 00h r/w
datasheet 925 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.6.1 idedata?ide data register (ider?d22:f2) address offset: 0h attribute: r/w default value: 00h size: 8 bits the ide data interface is a special interface that is implemented in the hw. this data interface is mapped to io space from the host and takes read and write cycles from the host targeting master or slave device. writes from host to this register result in the data being written to me memory. reads from host to this register result in the data being fetched from me memory. data is typically written/ read in words. me-fw must enable hardware to allow it to accept host initiated read/ write cycles, else the cycles are dropped. 23.6.2 ideerd1?ide error register dev1 (ider?d22:f2) address offset: 01h attribute: r/w default value: 00h size: 8 bits this register implements the error register of the command block of the ide function. this register is read only by the host interface when dev = 1 (slave device). 23.6.3 ideerd0?ide erro r register dev0 (ider?d22:f2) address offset: 01h attribute: r/w default value: 00h size: 8 bits this register implements the error register of the command block of the ide function. this register is read only by the host interface when dev = 0 (master device). bit description 7:0 ide data register (idedr)? r/w. data register implements the data interface for ide. all writes and reads to this register translate into one or more corresponding write/reads to me memory bit description 7:0 ide error data (ideed)? r/w. drive reflects its error/ di agnostic code to the host via this register at different times. bit description 7:0 ide error data (ideed) ?r/w. drive reflects its error/ di agnostic code to the host via this register at different times.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 926 datasheet 23.6.4 idefr?ide features register (ider?d22:f2) address offset: 01h attribute: r/w default value: 00h size: 8 bits this register implements the feature register of the command block of the ide function. this register can be written only by the host. when the host reads the same address, it reads the error register of device 0 or device 1 depending on the device_select bit (bit 4 of the drive/head register). 23.6.5 idescir?ide sector count in register (ider?d22:f2) address offset: 02h attribute: r/w default value: 00h size: 8 bits this register implements the sector count register of the command block of the ide function. this register can be written only by the host. when host writes to this register, all 3 registers (idescir, idescor0, idescor1) are updated with the written value. a host read to this register address reads the ide sector count out register idescor0 if dev=0 or idescor1 if dev=1 23.6.6 idescor1?ide sector co unt out register device 1 register (ider?d22:f2) address offset: 02h attribute: r/w default value: 00h size: 8 bits this register is read by the host interfac e if dev = 1. me-firmw are writes to this register at the end of a command of the selected device. when the host writes to this address, the id e sector count in register (idescir), this register is updated. bit description 7:0 ide feature data (idefd)? r/w. ide drive specific data written by the host bit description 7:0 ide sector count data (idescd) ?r/w. host writes the number of sectors to be read or written. bit description 7:0 ide sector count ou t dev1 (iscod1)? r/w. sector count register for slave device (that is, device 1)
datasheet 927 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.6.7 idescor0?ide sector co unt out register device 0 register (ider?d22:f2) address offset: 02h attribute: r/w default value: 00h size: 8 bits this register is read by the host interfac e if dev = 0. me-firmware writes to this register at the end of a command of the selected device. when the host writes to this address, the id e sector count in register (idescir), this register is updated. 23.6.8 idesnor0?ide sector number out register device 0 register (ider?d22:f2) address offset: 03h attribute: r/w default value: 00h size: 8 bits this register is read by the host if dev = 0. me-firmware writes to this register at the end of a command of the selected device. when the host writes to the ide sector number in register (idesnir), this register is updated with that value. 23.6.9 idesnor1?ide sector number out register device 1 register (ider?d22:f2) address offset: 03h attribute: r/w default value: 00h size: 8 bits this register is read by the host if dev = 1. me-firmware writes to this register at the end of a command of the selected device. when the host writes to the ide sector number in register (idesnir), this register is updated with that value. bit description 7:0 ide sector count out dev0 (iscod0)? r/w. sector count register for master device (that is, device 0). bit description 7:0 ide sector number out dev 0 (idesno0)? r/w. sector number out register for master device. bit description 7:0 ide sector number out dev 1 (idesno1)? r/w. sector number out register for slave device.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 928 datasheet 23.6.10 idesnir?ide sector numb er in register register (ider?d22:f2) address offset: 03h attribute: r/w default value: 00h size: 8 bits this register implements the sector number register of the command block of the ide function. this register can be written only by the host. when host writes to this register, all 3 registers (idesnir, idesnor0 , idesnor1) are updated with the written value. host read to this register address reads the ide sector number out register idesnor0 if dev=0 or idesnor1 if dev=1. 23.6.11 ideclir?ide cylinder low in register register (ider?d22:f2) address offset: 04h attribute: r/w default value: 00h size: 8 bits this register implements the cylinder low register of the command block of the ide function. this register can be written only by the host. when host writes to this register, all 3 registers (ideclir, ideclor0 , ideclor1) are updated with the written value. host read to this register address reads th e ide cylinder low out register ideclor0 if dev=0 or ideclor1 if dev=1. 23.6.12 idclor1?ide cylinder low out register device 1 register (ider?d22:f2) address offset: 04h attribute: r/w default value: 00h size: 8 bits this register is read by the host if dev = 1. me-firmware writes to this register at the end of a command of the select ed device. when the host writes to the ide cylinder low in register (ideclir), this register is updated with that value. bit description 7:0 ide sector number data (idesnd)? r/w. this register contains the number of the first sector to be transferred. bit description 7:0 ide cylinder low data (idecld)? r/w. cylinder low register of the command block of the ide function. bit description 7:0 ide cylinder low out dev 1. (ideclo1)? r/w. cylinder low out register for slave device.
datasheet 929 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.6.13 idclor0?ide cylinder lo w out register device 0 register (ider?d22:f2) address offset: 04h attribute: r/w default value: 00h size: 8 bits this register is read by the host if dev = 0. me-firmware writes to this register at the end of a command of the selected device. when the host writes to the ide cylinder low in register (ideclir), this register is updated with that value. 23.6.14 idchor0?ide cylinder hi gh out register device 0 register (ider?d22:f2) address offset: 05h attribute: r/w default value: 00h size: 8 bits this register is read by the host if device = 0. me-firmware writes to this register at the end of a command of the selected device . when the host writes to the ide cylinder high in register (idechir), this register is updated with that value. 23.6.15 idchor1?ide cylinder hi gh out register device 1 register (ider?d22:f2) address offset: 05h attribute: r/w default value: 00h size: 8 bits this register is read by the host if device = 1. me-firmware writes to this register at the end of a command of the selected device . when the host writes to the ide cylinder high in register (idechir), this register is updated with that value. bit description 7:0 ide cylinder low out dev 0. (ideclo0)? r/w. cylinder low out register for master device. bit description 7:0 ide cylinder high out dev 0 (idecho0)? r/w. cylinder high out register for master device. bit description 7:0 ide cylinder high out dev 1 (idecho1)? r/w. cylinder high out register for slave device.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 930 datasheet 23.6.16 idechir?ide cylinder high in register (ider?d22:f2) address offset: 05h attribute: r/w default value: 00h size: 8 bits this register implements the cylinder high register of the command block of the ide function. this register can be written only by the host. when host writes to this register, all 3 registers (idechir, idechor0 , idechor1) are updated with the written value. host read to this register address reads the ide cylinder high out register idechor0 if dev=0 or idechor1 if dev=1. 23.6.17 idedhir?ide driv e/head in register (ider?d22:f2) address offset: 06h attribute: r/w default value: 00h size: 8 bits this register implements the drive/head register of the command block of the ide. this register can be written only by the host. when host writes to this register, all 3 registers (idedhir, idedhor0, idedhor1 ) are updated with the written value. host read to this register address reads the ide drive/head out register (idedhor0) if dev=0 or idedhor1 if dev=1. bit 4 of this register is the dev (master/slav e) bit. this bit is cleared by hardware on ide software reset (s_rst toggles to '1') in addition to host system reset and d3->d0 transition of the function. bit description 7:0 ide cylinder high data (idechd)? r/w. cylinder high data register for ide command block. bit description 7:0 ide drive/head data (idedhd)? r/w. register defines the drive number, head number and addressing mode.
datasheet 931 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.6.18 iddhor1?ide drive head out register device 1 register (ider?d22:f2) address offset: 06h attribute: r/w default value: 00h size: 8 bits this register is read only by the host. host read to this drive/head in register address reads the ide drive/head out register (idedhor0) if dev=1 bit 4 of this register is the dev (master/slave) bit. this bit is cleared by hardware on ide software reset (s_rst toggles to '1') in addition to the host system reset and d3 to d0 transition of the ide function. when the host writes to this address, it updates the value of the idedhir register. 23.6.19 iddhor0?ide drive head out register device 0 register (ider?d22:f2) address offset: 06h attribute: r/w default value: 00h size: 8 bits this register is read only by the host. host read to this drive/head in register address reads the ide drive/head out register (idedhor0) if dev=0. bit 4 of this register is the dev (master/slave) bit. this bit is cleared by hardware on ide software reset (s_rst toggles to 1) in addition to the host system reset and d3 to d0 transition of the ide function. when the host writes to this address, it updates the value of the idedhir register. bit description 7:0 ide drive head out dev 1 (idedho1)? r/w. drive/head out register of slave device. bit description 7:0 ide drive head out dev 0 (idedho0)? r/w. drive/head out register of master device.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 932 datasheet 23.6.20 idesd0r?ide status device 0 register (ider?d22:f2) address offset: 07h attribute: r/w default value: 80h size: 8 bits this register implements the status register of the master device (dev = 0). this register is read only by the host. host read of this register clears the master device's interrupt. when the host writes to the same address it writes to the command register the bits description is for ata mode. bit description 7 busy (bsy)? r/w. this bit is set by hw when the idecr is being written and dev=0, or when srst bit is asserted by host or host system reset or d3-to-d0 transition of the ide function. this bit is cleared by fw write of 0. 6 drive ready (drdy)? r/w. when set, this bit indicates drive is ready for command. 5 drive fault (df) ?r/w. indicates error on the drive. 4 drive seek complete (dsc) ?r/w. indicates heads are positioned over the desired cylinder. 3 data request (drq) ?r/w. set when, the drive wants to exchange data with the host via the data register. 2 corrected data (corr) ?r/w. when set, this bit indicate s a correctable read error has occurred. 1 index (idx) ?r/w. this bit is set once per rotation of the medium when the index mark passes under the read/write head. 0 error (err) ?r/w. when set, this bit indicates an error occurred in the process of executing the previous command. the error register of the selected device contains the error information.
datasheet 933 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.6.21 idesd1r?ide status device 1 register (ider?d22:f2) address offset: 07h attribute: r/w default value: 80h size: 8 bits this register implements the status register of the slave device (dev = 1). this register is read only by the host. host read of this register clears the slave device's interrupt. when the host writes to the same address it writes to the command register. the bits description is for ata mode. 23.6.22 idecr?ide command register (ider?d22:f2) address offset: 07h attribute: r/w default value: 00h size: 8 bits this register implements the command re gister of the command block of the ide function. this register can be written only by the host. when the host reads the same address it re ads the status register dev0 if dev=0 or status register dev1 if dev=1 (drive/head register bit [4]). bit description 7 busy (bsy) ?r/w. this bit is set by hardware when the idecr is being written and dev=0, or when srst bit is asserted by the host or host system reset or d3-to-d0 transition of the ide function. this bit is cleared by fw write of 0. 6 drive ready (drdy) ?r/w. when set, indicates drive is ready for command. 5 drive fault (df) ?r/w. indicates error on the drive. 4 drive seek complete (dsc)?r/w. indicates heads are positioned over the desired cylinder. 3 data request (drq)?r/w. set when the drive wants to exchange data with the host via the data register. 2 corrected data (corr)?r/w. when set indicates a correctable read error has occurred. 1 index (idx)?r/w. this bit is set once per rotation of the medium when the index mark passes under the read/write head. 0 error (err)?r/w. when set, this bit indicates an error occurred in the process of executing the previous command. the error register of the selected device contains the error information bit description 7:0 ide command data (idecd)?r/w. host sends the commands (read/ write, etc.) to the drive via this register.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 934 datasheet 23.7 ide bar1 23.7.1 iddcr?ide device contro l register (ider?d22:f2) address offset: 2h attribute: wo default value: 00h size: 8 bits this register implements the device control register of the control block of the ide function. this register is write only by the host. when the host reads to the same address it reads the alternate status register. 23.7.2 idasr?ide alternate stat us register (ider?d22:f2) address offset: 2h attribute: ro default value: 00h size: 8 bits this register implements the alternate status register of the control block of the ide function. this register is a mirror register to the status register in the command block. reading this register by the host does not clear the ide interrupt of the dev selected device host read of this register when dev=0 (master), host gets the mirrored data of idesd0r register. host read of this register when dev=1 (slave), host gets the mirrored data of idesd1r register. address offset register symbol register name default value attribute 2h iddcr ide device control register 00h ro, wo 2h idasr ide alternate status register 00h ro bit description 7:3 reserved 2 software reset (s_rst)? wo. when this bit is set by the host, it forces a reset to the device. 1 host interrupt disable (nien)? wo. when set, this bit disables hardware from sending interrupt to the host. 0 reserved bit description 7:0 ide alternate status register (ideasr) ?ro. this field mirrors the value of the dev0/ dev1 status register, depending on the state of the dev bit on host reads.
datasheet 935 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.8 ide bar4 table 23-6. ide bar4 register address map address offset register symbol register name default value attribute 0h idepbmcr ide primary bus master command register 00h ro, r/w 1h idepbmds0r ide primary bus master device specific 0 register 00h r/w 2h idepbmsr ide primary bus master status register 80h ro, r/w 3h idepbmds1r ide primary bus master device specific 1 register 00h r/w 4h idepbmdtpr0 ide primary bus master descriptor table pointer register byte 0 00h r/w 5h idepbmdtpr1 ide primary bus master descriptor table pointer register byte 1 00h r/w 6h idepbmdtpr2 ide primary bus master descriptor table pointer register byte 2 00h r/w 7h idepbmdtpr3 ide primary bus master descriptor table pointer register byte 3 00h r/w 8h idesbmcr ide secondary bus master command register 00h ro, r/w 9h idesbmds0r ide secondary bus master device specific 0 register 00h r/w ah idesbmsr ide secondary bus master status register 00h r/w, ro bh idesbmds1r ide secondary bus master device specific 1 register 00h r/w ch idesbmdtpr0 ide secondary bus master descriptor table pointer register byte 0 00h r/w dh idesbmdtpr1 ide secondary bus master descriptor table pointer register byte 1 00h r/w eh idesbmdtpr2 ide secondary bus master descriptor table pointer register byte 2 00h r/w fh idesbmdtpr3 ide secondary bus master descriptor table pointer register byte 3 00h r/w
intel? management engine interfac e (mei) subsystem registers (d22:f0) 936 datasheet 23.8.1 idepbmcr?ide primar y bus master command register (ider?d22:f2) address offset: 00h attribute: ro, r/w default value: 00h size: 8 bits this register implements the bus master command register of the primary channel. this register is programmed by the host. 23.8.2 idepbmds0r?ide primary bus master device specific 0 regist er (ider?d22:f2) address offset: 01h attribute: r/w default value: 00h size: 8 bits bit description 7:4 reserved 3 read write command (rwc)? r/w. this bit sets the direction of bus master transfer. 0 = reads are performed from system memory 1 = writes are performed to system memory. this bit should not be changed when the bus master function is active. 2:1 reserved 0 start/stop bus master (ssbm)? r/w . this bit gates the bus master operation of ide function when 0. writing 1 enables the bus master operation. bus master operation can be halted by writing a 0 to this bit. operation cannot be stopped and resumed. this bit is cleared after data transfer is complete as indi cated by either the bmia bit or the int bit of the bus master status register is set or both are set. bit description 7:0 device specific data0 (dsd0)? r/w . device specific
datasheet 937 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.8.3 idepbmsr?ide primar y bus master status register (ider?d22:f2) address offset: 02h attribute: ro, r/w default value: 80h size: 8 bits 23.8.4 idepbmds1r?ide prim ary bus master device specific 1 register (ider?d22:f2) address offset: 03h attribute: r/w default value: 00h size: 8 bits bit description 7 simplex only (so)? ro. value indicates whether both bus master channels can be operated at the same time or not. 0 = both can be operated independently 1 = only one can be operated at a time. 6 drive 1 dma capable (d1dc)? r/w . this bit is read/write by the host (not write 1 clear). 5 drive 0 dma capable (d0dc)? r/w . this bit is read/write by the host (not write 1 clear). 4:3 reserved 2 interrupt (int)? r/w . this bit is set by the hardware when it detects a positive transition in the interrupt logic (see ide host interrupt generation diagram).the hardware will clear this bit when the host sw writes 1 to it. 1 error (er)? r/w . bit is typically set by fw. hardware will clear this bit when the host sw writes 1 to it. 0 bus master ide active (bmia)? ro. this bit is set by hardware when ssbm register is set to 1 by the host. when the bus master operation ends (for the whole command) this bit is cleared by fw. this bit is not cleare d when the host writes 1 to it. bit description 7:0 device specific data1 (dsd1)? r/w. device specific data.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 938 datasheet 23.8.5 idepbmdtpr0?ide primar y bus master descriptor table pointer byte 0 re gister (ider?d22:f2) address offset: 04h attribute: r/w default value: 00h size: 8 bits 23.8.6 idepbmdtpr1?ide primar y bus master descriptor table pointer byte 1 re gister (ider?d22:f2) address offset: 05h attribute: r/w default value: 00h size: 8 bits 23.8.7 idepbmdtpr2?ide primar y bus master descriptor table pointer byte 2 re gister (ider?d22:f2) address offset: 06h attribute: r/w default value: 00h size: 8 bits 23.8.8 idepbmdtpr3?ide primar y bus master descriptor table pointer byte 3 re gister (ider?d22:f2) address offset: 07h attribute: r/w default value: 00h size: 8 bits bit description 7:0 descriptor table pointer byte 0 (dtpb0) ?r/w. this register implements the byte 0 (1 of 4 bytes) of the descriptor ta ble pointer (four i/o byte addresses) for bus master operation of the primary channel. th is register is read/write by the host interface. bit description 7:0 descriptor table pointer byte 1 (dtpb1)? r/w. this register implements the byte 1 (of four bytes) of the descriptor tabl e pointer (four i/o byte addresses) for bus master operation of the primary channel. this register is programmed by the host. bit description 7:0 descriptor table pointer byte 2 (dtpb2)? r/w. this register implements the byte 2 (of four bytes) of the descriptor ta ble pointer (four i/o byte addresses) for bus master operation of the primary channel. this register is programmed by the host. bit description 7:0 descriptor table pointer byte 3 (dtpb3)? r/w. this register implements the byte 3 (of four bytes) of the descriptor ta ble pointer (four i/o byte addresses) for bus master operation of the primary channel. this register is programmed by the host
datasheet 939 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.8.9 idesbmcr?ide second ary bus master command register (ider?d22:f2) address offset: 08h attribute: r/w default value: 00h size: 8 bits 23.8.10 idesbmds0r?ide seco ndary bus master device specific 0 register (ider?d22:f2) address offset: 09h attribute: r/w default value: 00h size: 8 bits bit description 7:4 reserved 3 read write command (rwc)? r/w. this bit sets the direction of bus master transfer. when 0, reads are performed fr om system memory; wh en 1, writes are performed to system memory. this bit shou ld not be changed when the bus master function is active. 2:1 reserved 0 start/stop bus master (ssbm)? r/w. this bit gates the bus master operation of ide function when zero. writing 1 enables the bus master operation. bus master operation can be halted by writing a 0 to this bit. operat ion cannot be stopped and resumed. this bit is cleared after data transfer is co mplete as indicated by either the bmia bit or the int bit of the bus master stat us register is se t or both are set. bit description 7:0 device specific data0 (dsd0)? r/w. this register implem ents the bus master device specific 1 register of the secondary channel. this register is programmed by the host.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 940 datasheet 23.8.11 idesbmsr?ide second ary bus master status register (ider?d22:f2) address offset: 0ah attribute: r/w, ro default value: 80h size: 8 bits 23.8.12 idesbmds1r?ide seco ndary bus master device specific 1 regist er (ider?d22:f2) address offset: 0bh attribute: r/w default value: 00h size: 8 bits 23.8.13 idesbmdtpr0?ide second ary bus master descriptor table pointer byte 0 re gister (ider?d22:f2) address offset: 0ch attribute: r/w default value: 00h size: 8 bits bit description 7 simplex only (so)? r/w. this bit indicates whether bo th bus master channels can be operated at the same time or not. 0 = both can be oper ated independently 1 = only one can be operated at a time. 6 drive 1 dma capable (d1dc)? r/w. this bit is read/write by the host. 5 drive 0 dma capable (d0dc)? r/w. this bit is read/write by the host. 4:0 reserved bit description 7:0 device specific data1 (dsd1)? r/w. this register implements the bus master device specific 1 register of the secondary channel. this register is programmed by the host for device specific data if any. bit description 7:0 descriptor table pointer byte 0 (dtpb0)? r/w. this register implements the byte 0 (1 of 4 bytes) of the descriptor ta ble pointer (four i/o byte addresses) for bus master operation of the secondary channel. this register is read/write by the host interface.
datasheet 941 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.8.14 idesbmdtpr1?ide second ary bus master descriptor table pointer byte 1 re gister (ider?d22:f2) address offset: 0dh attribute: r/w default value: 00h size: 8 bits 23.8.15 idesbmdtpr2?ide second ary bus master descriptor table pointer byte 2 re gister (ider?d22:f2) address offset: 0eh attribute: r/w default value: 00h size: 8 bits 23.8.16 idesbmdtpr3?ide second ary bus master descriptor table pointer byte 3 re gister (ider?d22:f2) address offset: 0fh attribute: r/w default value: 00h size: 8 bits bit description 7:0 descriptor table pointer byte 1 (dtpb1)? r/w. this register implements the byte 1 (of four bytes) of the descriptor ta ble pointer (four i/o by te addresses) for bus master operation of the secondary channel. this register is programmed by the host. bit description 7:0 descriptor table pointer byte 2 (dtpb2)? r/w. this register implements the byte 2 (of four bytes) of the descriptor ta ble pointer (four i/o by te addresses) for bus master operation of the secondary channel. this register is programmed by the host. bit description 7:0 descriptor table pointer byte 3 (dtpb3)? r/w. this register implements the byte 3 (of four bytes) of the descriptor ta ble pointer (four i/o by te addresses) for bus master operation of the secondary channel. this register is programmed by the host.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 942 datasheet 23.9 serial port for remote keyboard and text (kt) redirection (kt?d22:f3) table 23-7. serial port for remote keyboard and text (kt) redirection register address map address offset register symbol register name default value attribute 00?01h vid vendor identification 8086h ro 02?03h did device identification see register description ro 04?05h cmd command register 0000h ro, r/w 06?07h sts device status 00b0h ro 08h rid revision id see register description ro 09?0bh cc class codes 070002h ro 0ch cls cache line size 00h ro 10?13h ktiba kt io block base address 00000001h ro, r/w 14?17h ktmba kt memory block base address 00000000h ro, r/w 2c?2fh ss sub system identifiers 00008086h r/wo 30?33h erom expansion rom base address 00000000h ro 34h cap capabilities pointer c8h ro 3c?3dh intr interrupt information 0200h r/w, ro c8?c9h pid pci power management capability id d001h ro ca?cbh pc pci power management capabilities 0023h ro cc?cfh pmcs pci power management control and status 00000000h ro, r/w d0?d1h mid message signaled interrupt capability id 0005h ro d2?d3h mc message signaled interrupt message control 0080h ro, r/w d4?d7h ma message signaled interrupt message address 00000000h ro, r/w d8?dbh mau message signaled interrupt message upper address 00000000h ro, r/w dc?ddh md message signaled interrupt message data 0000h r/w
datasheet 943 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.9.1 vvid?vendor identifica tion register (kt?d22:f3) address offset: 00?01h attribute: ro default value: 8086h size: 16 bits 23.9.2 did?device identificati on register (kt?d22:f3) address offset: 02?03h attribute: ro default value: see bit description size: 16 bits 23.9.3 cmd?command register register (kt?d22:f3) address offset: 04?05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:0 vendor id (vid)? ro. this is a 16-bit value assigned by intel. bit description 15:0 device id (did) ?ro. this is a 16-bit value assign ed to the pch kt controller. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id) ?r/w. this bit disables pin-based intx# interrupts. this bit has no effect on msi operation. 1 = internal intx# messages will not be generated. 0 = internal intx# messages are generated if there is an interrupt and msi is not enabled. 9:3 reserved 2 bus master enable (bme) ?r/w. this bit controls the kt function's ability to act as a master for data transfers. this bit does not impact the generation of completions for split transaction commands. for kt, th e only bus mastering activity is msi generation. 1 memory space enable (mse) ?r/w. this bit controls access to the pt function's target memory space. 0 i/o space enable (iose) ?r/w. this bit controls access to the pt function's target i/o space.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 944 datasheet 23.9.4 sts?device status register (kt?d22:f3) address offset: 06?07h attribute: ro default value: 00b0h size: 16 bits 23.9.5 rid?revision id register (kt?d22:f3) address offset: 08h attribute: ro default value: see bit description size: 8 bits 23.9.6 cc?class codes re gister (kt?d22:f3) address offset: 09?0bh attribute: ro default value: 070002h size: 24 bits bit description 15:11 reserved 10:9 devsel# timing status (devt) ?ro. this field controls the device select time for the pt function's pci interface. 8:5 reserved 4 capabilities list (cl) ?ro. this bit indicates that ther e is a capabilities pointer implemented in the device. 3 interrupt status (is) ?ro. this bit reflects the state of the interrupt in the function. setting of the interrupt disable bit to 1 has no affect on this bit. only when this bit is a 1 and id bit is 0 is the intb interrupt asserted to the host. 2:0 reserved bit description 7:0 revision id (rid) ?ro. see the intel ? 5 series chipset and intel ? 3400 series chipset specification update for the value of the device id register. bit description 23:16 base class code (bcc) ?ro this field indicates the base class code of the kt host controller device. 15:8 sub class code (scc) ?ro this field indicate s the sub class code of the kt host controller device. 7:0 programming interface (pi) ?ro this field indicates the programming interface of the kt host controller device.
datasheet 945 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.9.7 cls?cache line size register (kt?d22:f3) address offset: 0ch attribute: ro default value: 00h size: 8 bits this register defines the system cache line size in dword increments. mandatory for master which use the memory-write and invalidate command. 23.9.8 ktiba?kt io block base address register (kt?d22:f3) address offset: 10?13h attribute: ro, r/w default value: 00000001h size: 32 bits 23.9.9 ktmba?kt memory bloc k base address register (kt?d22:f3) address offset: 14?17h attribute: ro, r/w default value: 00000000h size: 32 bits bit description 7:0 cache line size (cls) ?ro. all writes to system me mory are memory writes. bit description 31:16 reserved 15:3 base address (bar) ?r/w. this field provides the base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ?ro. this bit indicates a request for i/o space bit description 31:12 base address (bar) ?r/w. this field provides the base address for memory mapped i,o bar. bits 31:12 corr espond to address signals 31:12. 11:4 reserved 3 prefetchable (pf) ?ro. this bit indicates that this range is not pre-fetchable. 2:1 type (tp) ?ro. this field indicates that this ra nge can be mapped anywhere in 32- bit address space. 0 resource type indicator (rte) ?ro. this bit indicates a request for register memory space.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 946 datasheet 23.9.10 svid?subsystem vendor id register (kt?d22:f3) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits 23.9.11 sid?subsystem id register (kt?d22:f3) address offset: 2eh ? 2fh attribute: r/wo default value: 8086h size: 16 bits 23.9.12 cap?capabilities poin ter register (kt?d22:f3) address offset: 34h attribute: ro default value: c8h size: 8 bits this optional register is used to point to a linked list of new capabilities implemented by the device. 23.9.13 intr?interrupt inform ation register (kt?d22:f3) address offset: 3c?3dh attribute: r/w, ro default value: 0200h size: 16 bits bit description 15:0 subsystem vendor id (ssvid)? r/wo. indicates the sub-system vendor identifier. this field should be programmed by bios du ring boot-up. once wr itten, this register becomes read only. this field ca n only be cleared by pltrst#. bit description 15:0 subsystem id (ssid) ?r/wo. indicates the sub-system identifier. this field should be programmed by bios during boot-up. on ce written, this register becomes read only. this field can only be cleared by pltrst#. bit description 7:0 capability pointer (cp) ?ro. this field indicates that the first capability pointer is offset c8h (the power management capability). bit description 15:8 interrupt pin (ipin) ?ro. a value of 1h/2h/3h/4h indicates that this function implements legacy interrupt on inta/intb/intc/intd, respectively function value intx (3 kt/serial port) 02h intb 7:0 interrupt line (iline) ?r/w. the value written in this register tells which input of the system interrupt controller , the device's interrupt pin is connected to. this value is used by the os and th e device driver, and has no affect on the hardware.
datasheet 947 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.9.14 pid?pci power management capability id register (kt?d22:f3) address offset: c8?c9h attribute: ro default value: d001h size: 16 bits 23.9.15 pc?pci power management capabilities id register (kt?d22:f3) address offset: ca?cbh attribute: ro default value: 0023h size: 16 bits 23.9.16 mid?message signaled interrupt capability id register (kt?d22:f3) address offset: d0?d1h attribute: ro default value: 0005h size: 16 bits message signalled interrupt is a feature that allows the device/function to generate an interrupt to the host by performing a dw ord memory write to a system specified address with system specified data. this register is used to identify and configure an msi capable device. bit description 15:8 next capability (next) ?ro. a value of d0h points to the msi capability. 7:0 cap id (cid) ?ro. this field indicates th at this pointer is a pci power management. bit description 15:11 pme support (pme) ?ro.this field indicates no pme# in the pt function. 10:6 reserved 5 device specific initialization (dsi) ?ro. this bit indicates that no device-specific initialization is required. 4reserved 3 pme clock (pmec) ?ro. this bit indicates that pci clock is not required to generate pme# 2:0 version (vs) ?ro. this field indicates support for the pci power management specification, revision 1.2 . bit description 15:8 next pointer (next) ?ro. this value indicates this is the last item in the list. 7:0 capability id (cid) ?ro. this field value of capabiliti es id indicates device is capable of generating msi.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 948 datasheet 23.9.17 mc?message signaled interrupt message control register (kt?d22:f3) address offset: d2?d3h attribute: ro, r/w default value: 0080h size: 16 bits 23.9.18 ma?message signaled interrupt message address register (kt?d22:f3) address offset: d4?d7h attribute: ro, r/w default value: 00000000h size: 32 bits this register specifies the dword aligned ad dress programmed by system software for sending msi. 23.9.19 mau?message signaled interrupt message upper address register (kt?d22:f3) address offset: d8?dbh attribute: ro, r/w default value: 00000000h size: 32 bits bit description 15:8 reserved 7 64 bit address capable (c64) ?ro. capable of generating 64-bit and 32-bit messages. 6:4 multiple message enable (mme) ?r/w.these bits are r/w for software compatibility, but only one message is ever sent by the pt function. 3:1 multiple message capable (mmc) ?ro. only one message is required. 0 msi enable (msie) ?r/w. if set, msi is enabled and traditional interrupt pins are not used to generate interrupts. bit description 31:2 address (addr) ?r/w. lower 32 bits of the system specified message address, always dword aligned. 1:0 reserved bit description 31:4 reserved 3:0 address (addr) ?r/w. upper 4 bits of the system specified message address.
datasheet 949 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.9.20 md?message signaled interrupt message data register (kt?d22:f3) address offset: dc?ddh attribute: r/w default value: 0000h size: 16 bits this 16-bit field is programmed by system software if msi is enabled 23.10 kt io/ memory mapped device registers bit description 15:0 data (data) ?r/w. this msi data is driven onto the lower word of the data bus of the msi memory write transaction. table 23-8. kt io/ memory mappe d device register address map address offset register symbol register name default value attribute 0h ktrxbr kt receive buffer register 00h ro 0h ktthr kt transmit holding register 00h wo 0h ktdllr kt divisor latch lsb register 00h r/w 1h ktier kt interrupt enable register 00h r/w ro 1h ktdlmr kt divisor latch msb register 00h r/w 2h ktiir kt interrupt identification register 01h ro 2h ktfcr kt fifo control register 00h wo 3h ktlcr kt line control register 03h r/w 4h ktmcr kt modem control register 00h ro, r/w 5h ktlsr kt line status register 00h ro 6h ktmsr kt modem status register 00h ro 7h ktscr kt scratch register 00h r/w
intel? management engine interfac e (mei) subsystem registers (d22:f0) 950 datasheet 23.10.1 ktrxbr?kt receive buff er register (kt?d23:f3) address offset: 00h attribute: ro default value: 00h size: 8 bits this implements the kt receiver data register. host access to this address, depends on the state of the dlab bit (ktlcr[7]). it must be 0 to access the ktrxbr. rxbr: host reads this register when fw provides it the receive data in non-fifo mode. in fifo mode, host reads to this register translate into a read from me memory (rbr fifo). 23.10.2 ktthr?kt transmit hold ing register (kt?d23:f3) address offset: 00h attribute: ro default value: 00h size: 8 bits this implements the kt transmit data register. host access to this address, depends on the state of the dlab bit (ktlcr[7]). it must be 0 to access the ktthr. thr: when host wants to transmit data in the non-fifo mode, it writes to this register. in fifo mode, writes by host to this address cause the data byte to be written by hardware to me memory (thr fifo). bit description 7:0 receiver buffer register (rbr) ?ro. implements the data register of the serial interface. if the host does a read, it reads from the receive data buffer. bit description 7:0 transmit holding register (thr) ?wo. implements the transmit data register of the serial interface. if the host does a write, it writes to the transmit holding register.
datasheet 951 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.10.3 ktdllr?kt divisor latch lsb register (kt?d23:f3) address offset: 00h attribute: r/w default value: 00h size: 8 bits this register implements the kt dll register. host can read/write to this register only when the dlab bit (ktlcr[7]) is 1. when this bit is 0, host accesses the ktthr or the ktrbr depending on read or write. this is the standard serial port divisor latch register. this register is only for software compatibility and does not affect performance of the hardware. 23.10.4 ktier?kt interrupt enab le register (kt?d23:f3) address offset: 01h attribute: r/w default value: 00h size: 8 bits this implements the kt interrupt enable register. host access to this address, depends on the state of the dlab bit (ktlcr[7]). it must be "0" to access this register. the bits enable specific events to interrupt the host. bit description 7:0 divisor latch lsb (dll) ?r/w. implements the dll register of the serial interface. bit description 7:4 reserved 3 msr (ier2) ?r/w. when set, this bit enables bits in the modem status register to cause an interrupt to the host. 2 lsr (ier1) ?r/w.when set, this bit enables bits in the receiver line status register to cause an interru pt to the host. 1 thr (ier1) ?r/w. when set, this bit enables an interrupt to be sent to the host when the transmit holding register is empty. 0 dr (ier0) ?r/w. when set, the received data re ady (or receive fifo timeout) interrupts are enabled to be sent to host.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 952 datasheet 23.10.5 ktdlmr?kt divisor latch msb register (kt?d23:f3) address offset: 01h attribute: r/w default value: 00h size: 8 bits host can read/write to this register only when the dlab bit (ktlcr[7]) is 1. when this bit is 0, host accesses the ktier. this is the standard serial interface's divisor latch register's msb. this register is only for sw compatibility and does not af fect performance of the hardware. 23.10.6 ktiir?kt interrupt id entification register (kt?d23:f3) address offset: 02h attribute: ro default value: 00h size: 8 bits the kt iir register prioritizes the interrupts from the function into 4 levels and records them in the iir_stat field of the register. when host accesses the iir, hardware freezes all interrupts and provides the priority to the host. hardware continues to monitor the interrupts but does not change its current indication until the host read is over. table in the host interrupt generation section shows the contents. bit description 7:0 divisor latch msb (dlm) ?r/w. implements the divisor la tch msb register of the serial interface. bit description 7 fifo enable (fien1) ?ro. this bit is connected by ha rdware to bit 0 in the fcr register. 6 fifo enable (fien0) ?ro. this bit is connected by ha rdware to bit 0 in the fcr register. 5:4 reserved 3:1 iir status (iirsts) ?ro. these bits are asserted by the hardware according to the source of the interrupt and the priority level. 0 interrupt status (intsts) ?ro. 0 = pending interrupt to host 1 = no pending interrupt to host
datasheet 953 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.10.7 ktfcr?kt fifo control register (kt?d23:f3) address offset: 02h attribute: wo default value: 00h size: 8 bits when host writes to this address, it writes to the ktfcr. the fifo control register of the serial interface is used to enable the fi fos, set the receiver fifo trigger level and clear fifos under the direction of the host. when host reads from this address, it reads the ktiir. 23.10.8 ktlcr?kt line control register (kt?d23:f3) address offset: 03h attribute: r/w default value: 00h size: 8 bits the line control register specifies the format of the asynchronous data communications exchange and sets the dlab bit. most bits in this register have no affect on hardware and are only used by the fw. bit description 7:6 receiver trigger level (rtl) ?wo. trigger level in bytes for the rcv fifo. once the trigger level number of bytes is reac hed, an interrupt is sent to the host. 00 = 01 01 = 04 10 = 08 11 = 14 5:3 reserved 2 xmt fifo clear (xfic) ?wo. when the host writes one to this bit, the hardware will clear the xmt fifo. this bit is self-cleared by hardware. 1 rcv fifo clear (rfic) ?wo. when the host writes one to this bit, the hardware will clear the rcv fifo. this bit is self-cleared by hardware. 0 fifo enable (fie) ?wo.when set, this bit indicates that the kt interface is working in fifo node. when this bi t value is changed the rcv and xmt fifo are cleared by hardware. bit description 7 divisor latch address bit (dlab) ?r/w. this bit is set when the host wants to read/write the divisor latch lsb and msb registers. this bit is cleared when the host wants to access the receive buffer register or the transmit holding register or the interrupt enable register. 6 break control (bc) ?r/w. this bit has no affect on hardware. 5:4 parity bit mode (pbm) ?r/w. this bit has no affect on hardware. 3 parity enable (pe) ?r/w.this bit has no affect on hardware. 2 stop bit select (sbs) ?r/w. this bit has no affect on hardware. 1:0 word select byte (wsb) ?r/w. this bit has no affect on hardware.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 954 datasheet 23.10.9 ktmcr?kt modem control register (kt?d23:f3) address offset: 04h attribute: r/w default value: 00h size: 8 bits the modem control register controls the interface with the modem. since the fw emulates the modem, the host communicates to the fw via this register. register has impact on hardware when the loopback mode is on. bit description 7:5 reserved 4 loop back mode (lbm) ?r/w. when set by the host, this bit indicates that the serial port is in loop back mode. this mean s that the data that is transmitted by the host should be received. help s in debug of the interface. 3 output 2 (out2) ?r/w. this bit has no affect on hard ware in normal mode. in loop back mode the value of this bit is written by hardware to the mo dem status register bit 7. 2 output 1 (out1) ?r/w. this bit has no affect on hard ware in normal mode. in loop back mode the value of this bit is written by hardware to modem status register bit 6. 1 request to send out (rtso) ?r/w. this bit has no affect on hardware in normal mode. in loopback mode, the value of this bi t is written by hardware to modem status register bit 4. 0 data terminal ready out (drto) ?r/w. this bit has no affect on hardware in normal mode. in loopback mode, the value in this bit is written by hardware to modem status register bit 5.
datasheet 955 intel? management engine interfac e (mei) subsystem registers (d22:f0) 23.10.10 ktlsr?kt line stat us register (kt?d23:f3) address offset: 05h attribute: wo default value: 00h size: 8 bits this register provides status information of the data transfer to the host. error indication, etc. are provided by the hw/fw to the host via this register. bit description 7 rx fifo error (rxfer) ?ro. this bit is cleared in non fifo mode. this bit is connected to bi bit in fifo mode. 6 transmit shift register empty (temt) ?ro. this bit is connected by hw to bit 5 (thre) of this register. 5 transmit holding register empty (thre) ?ro. this bit is always set when the mode (fifo/non-fifo) is chan ged by the host. this bit is active only when the thr operation is enabled by the fw. this bit ha s acts differently in the different modes: non fifo : this bit is cleared by hardware when the host writes to the thr registers and set by hardware when th e fw reads the thr register. fifo mode : this bit is set by hardware when th e thr fifo is empty, and cleared by hardware when the thr fifo is not empty. this bit is reset on host syst em reset or d3->d0 transition. 4 break interrupt (bi) ?ro. this bit is cleared by hardwa re when the lsr register is being read by the host. this bit is set by hardware in two cases: ? in fifo mode the fw sets the bi bit by setting the sbi bit in the ktrivr register (see kt aux registers) ? in non-fifo mode the fw sets the bi bit by setting the bia bit in the ktrxbr register (see kt aux registers) 3:2 reserved 1 overrun error (oe): this bit is cleared by hardware when the lsr register is being read by the host. the fw typi cally sets this bit, but it is cleared by hardware when the host reads the lsr. 0 data ready (dr) ?ro. non-fifo mode: this bit is set when the fw writes to the rbr register and cleared by hardware when the rbr regist er is being read by the host. fifo mode: this bit is set by hardware when the rbr fifo is no t empty and cleared by hardware when th e rbr fifo is empty. this bit is reset on host system reset or d3->d0 transition.
intel? management engine interfac e (mei) subsystem registers (d22:f0) 956 datasheet 23.10.11 ktmsr?kt modem stat us register (kt?d23:f3) address offset: 06h attribute: ro default value: 00h size: 8 bits the functionality of the modem is emulated by the fw. this register provides the status of the current state of the control lines from the modem. bit description 7 data carrier detect (dcd) ?ro. in loop back mode this bit is connected by hardware to the value of mcr bit 3. 6 ring indicator (ri) ?ro. in loop back mode this bit is connected by hardware to the value of mcr bit 2. 5 data set ready (dsr) ?ro. in loop back mode this bi t is connected by hardware to the value of mcr bit 0. 4 clear to send (cts) ?ro. in loop back mode this bit is connected by hardware to the value of mcr bit 1. 3 delta data carrier detect (ddcd) ?ro. this bit is set when bi t 7 is changed. this bit is cleared by hardware when the msr re gister is being read by the host driver. 2 trailing edge of re ad detector (teri) ?ro. this bit is set when bit 6 is changed from 1 to 0. this bit is cleared by hardware when the msr register is being read by the host driver. 1 delta data set ready (ddsr) ?ro. this bit is set when bit 5 is changed. this bit is cleared by hardware when the msr regist er is being read by the host driver. 0 delta clear to send (dcts) ?ro. this bit is set when bit 4 is changed. this bit is cleared by hardware when the msr regist er is being read by the host driver.


▲Up To Search▲   

 
Price & Availability of BD82HM55-SLGZS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X